PGPro icon indicating copy to clipboard operation
PGPro copied to clipboard

Key Size 4096

Open jimmyred123 opened this issue 2 years ago • 4 comments

The 4096 size does not work to decrypt messages. Is this fixable?

jimmyred123 avatar Jul 06 '21 19:07 jimmyred123

Can you successfully import the key? If yes, could you generate such a key pair and send it to me at [email protected]?

lucanaef avatar Jul 09 '21 19:07 lucanaef

I believe I tracked down the issue.

What I believe is the issue is having a secret sub key.

For the desktop PC’s in my setups there are keys generated with the Symantec Encryption Desktop, now owned by Broadcom.

This tool creates a secret sub key in some of the key generations.

To workaround this I was able to import then export the private key using the gpg tools. Importing this standalone private key allows the ios application to work properly.

The gpg key structure looks like this that does not work:

Secret subkeys are available.

pub rsa4096/C7C52E88D39EDD59

  • created: 2021-07-09  expires: never       usage: SC*
    
  • trust: ultimate      validity: ultimate*
    

ssb rsa4096/47D4F65C3E357090

  • created: 2021-07-09  expires: never       usage: E*
    

[ultimate] (1). testing @.** @.**>

Thanks,

James Lopac

On Fri, Jul 9, 2021 at 2:29 PM Luca Näf @.***> wrote:

Can you successfully import the key? If yes, could you generate such a key pair and send it to me at @.***?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucanaef/PGPro/issues/51#issuecomment-877409683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOH3GXLPKBUT4JGKUZAGCKDTW5EX5ANCNFSM475F7SFQ .

jimmyred123 avatar Jul 10 '21 04:07 jimmyred123

I was able to import then export the private key using the gpg tools.

I think I have run in the same problem. How did you export the private subkey only?

I have tried it with --export-secret-subkeys, but this was also not supported by the app.

timstrasser avatar Jul 20 '21 21:07 timstrasser

I used this command to get just the private key. gpg --output private.pgp --armor --export-secret-key @.***>

Even with this some of the decryption of signed incoming messages fail to decrypt. It's not clear if the signed messages with the private subkey have an issue as well.

On Tue, Jul 20, 2021 at 4:11 PM timstrasser @.***> wrote:

I was able to import then export the private key using the gpg tools.

I think I have run in the same problem. How did you export the private subkey only?

I have tried it with --export-secret-subkeys, but this was also not supported by the app.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucanaef/PGPro/issues/51#issuecomment-883711210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOH3GXP7C6XJPHANGPT446DTYXRABANCNFSM475F7SFQ .

jimmyred123 avatar Jul 22 '21 16:07 jimmyred123