'GPG - import a .key file containing only the private key in gpg
I am trying to restore my backup but somehow the pubring file does only show 1 key pair.
I did import my old(most important) public key from the key server.
So far, so good.
Now I have a lot of keys inside ~/.gnupg/private-keys-v1.d/
They are all named "longcombinationOfLettersAndNumbers.key"
Can I somehow use these private keys to decrypt my backup?
I tried
gpg --import < fileOfAKey.key
but I get:
gpg: no valid OpenPGP data found.
Any tips/help appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
