-
Greetings to all! I'm humbling want to know what causes the error (1) "Encrypted private key is authenticated using an insecure two-byte hash"? Many thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @martgil , S2K usage has a different purpose than key usage flags, as it's only needed to decrypt the key. You should still be able to dump the s2k info with many tools. I think GPG should also allow importing/decrypting the key (might require using some specific flag), and then you can re-export it with the same passphrase, to have it in the newer format. |
Beta Was this translation helpful? Give feedback.
Hi @martgil ,
the error is due to a legacy (and insecure) key encryption mechanism; see also #1212 (comment).
S2K usage has a different purpose than key usage flags, as it's only needed to decrypt the key. You should still be able to dump the s2k info with many tools. I think GPG should also allow importing/decrypting the key (might require using some specific flag), and then you can re-export it with the same passphrase, to have it in the newer format.