chrislee35 / IMAPCrypt

GPG Encrypts an IMAP folder
MIT License
12 stars 5 forks source link

IMAPCrypt throws an ArrayIndexOutOfBoundsException in GPGKeyId #5

Closed chrislee35 closed 6 years ago

chrislee35 commented 6 years ago

GPGKeyId fails to parse the output of gpg2 --list-secret-keys on Mac Expected:

sec   1024R/60DA9E94 2015-04-29
uid                  IMAPCrypt Tester (Testing purposes only) <imapcrypt@example.com>
ssb   1024R/68D9B816 2015-04-29

Received:

sec   rsa1024 2015-04-29 [SC]
      ED7D5FFE7D3794E55250356E5F012AB760DA9E94
uid           [ unknown] IMAPCrypt Tester (Testing purposes only) <imapcrypt@example.com>
ssb   rsa1024 2015-04-29 [E]