uralplan / psi-dev

Automatically exported from code.google.com/p/psi-dev
0 stars 0 forks source link

Psi+ doesn't like PGP keys with expired subkeys #531

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a key with an expired and a working signing subkey.
2. Make Psi+ use it.
3. Have fun.

What is the expected output?
Psi+ picks up a non-expired subkey.

What do you see instead?
It shows the message box "There was an error trying to sign your status. 
Reason: Signing key expired."

"Diagnostics" display the following text:
GPGProc: Pipe setup complete
GPGProc: Running: [gpg --no-tty --enable-special-filenames --status-fd 35 
--command-fd 32 --armor --always-trust --default-key 0xC1FD909980E93558 
--detach-sign]
GPGProc: Process started
{KEYEXPIRED 1344899864}
{SIGEXPIRED}
{KEYEXPIRED 1301268553}
{SIGEXPIRED}
{KEYEXPIRED 1301268692}
{SIGEXPIRED}
{KEYEXPIRED 1301268765}
{SIGEXPIRED}
{KEYEXPIRED 1327569550}
{SIGEXPIRED}
{USERID_HINT 8E5AD94199112B1B Sergey Alirzaev}
{NEED_PASSPHRASE 8E5AD94199112B1B C1FD909980E93558 1 0}
{KEYEXPIRED 1344899864}
{SIGEXPIRED}
{KEYEXPIRED 1301268553}
{SIGEXPIRED}
{KEYEXPIRED 1301268692}
{SIGEXPIRED}
{KEYEXPIRED 1301268765}
{SIGEXPIRED}
{KEYEXPIRED 1327569550}
{SIGEXPIRED}
{GOOD_PASSPHRASE}
{BEGIN_SIGNING H2}
{SIG_CREATED D 1 2 00 1356132845 C6133D899D5C026A3340B4738E5AD94199112B1B}
GPGProc: Status: Closed (gone)
GPGProc: Process finished: 0
GPGProc: Done
GPG Process Finished: exitStatus=0
stderr: []
GpgAction error: ErrorSignerExpired

Meanwhile, other software works fine.

What version of the Psi+/OS are you using?
Git version. Gentoo Linux.

Additional information:

l29ahZl29ah-home ~ ‰ gpg --list-options show-unusable-subkeys --list-keys 
l29ah
pub   4096R/80E93558 2010-03-27
uid                  Sergey Alirzaev
uid                  Sergey Alirzaev <zl29ah@gmail.com>
uid                  L29Ah (nickname) <zl29ah@gmail.com>
uid                  L29Ah (Jabber ID) <l29ah@jabber.ru>
sub   2048R/80DCB494 2011-08-14 [expired: 2012-08-13]
sub   2048R/AB768765 2011-08-14 [expired: 2012-08-13]
sub   2048R/0C75325D 2010-03-27 [expired: 2011-03-27]
sub   2048R/6D76B712 2010-03-27 [expired: 2011-03-27]
sub   2048R/CFA0E141 2010-03-27 [expired: 2011-03-27]
sub   2048R/E4C6B7F3 2010-03-27 [expired: 2011-03-27]
sub   2048R/7B41CEF1 2011-01-26 [expired: 2012-01-26]
sub   2048R/1C3FB74A 2011-01-26 [expired: 2012-01-26]
sub   2048R/99112B1B 2012-08-16 [expires: 2013-08-16]
sub   2048R/C219EA7C 2012-08-16 [expires: 2013-08-16]

l29ahZl29ah-home ~ ‰ gpg --list-keys l29ah                                    

pub   4096R/80E93558 2010-03-27
uid                  Sergey Alirzaev
uid                  Sergey Alirzaev <zl29ah@gmail.com>
uid                  L29Ah (nickname) <zl29ah@gmail.com>
uid                  L29Ah (Jabber ID) <l29ah@jabber.ru>
sub   2048R/99112B1B 2012-08-16 [expires: 2013-08-16]
sub   2048R/C219EA7C 2012-08-16 [expires: 2013-08-16]

Original issue reported on code.google.com by zl29ah@gmail.com on 21 Dec 2012 at 11:40

GoogleCodeExporter commented 8 years ago
This is the QCA problem, not Psi+. I recommend you ask justin at psi`s (not 
psi+) official room.

Original comment by wadea...@gmail.com on 3 Mar 2013 at 12:22