Problems when importing previously exported private keys on new linux system.

Andrew Savchenko andrew at savchenko.net
Mon Aug 8 21:02:31 CEST 2022


On 08/08/2022 22:36, Vladislav Alekseev via Gnupg-users wrote:

> So, here is the problem.
> Is there any method to restore my private key or revoke it?
> Why gpg program can't identify my key file? Is the root cause of it that 
> I didn't add "--armor" parameter when exporting my private key?
> Thanks.

Check the key format manually. If ASCII - try `dos2unix`. Sounds like it 
has been transferred between Windows/*nix. If binary, show the output of 
`gpg --list-packets`



-- 
Glory to Ukraine,
A



More information about the Gnupg-users mailing list