Forum: help-en

Monitor Forum | Start New Thread Start New Thread
RE: how do i Import my private keys from the "private-keys-v1.d" folder [ Reply ]
By: Andre Heinecke on 2019-04-23 08:28
[forum:6541]
The way you describe it is the correct way to restore it. It is strange that it won't show up.

Brainstorming what the cause could be:

Maybe a permission problem on the folder?
Is it the correct folder?
Maybe try with a fresh %APPDATA%\gnupg folder and then copy the keyfiles in the directory that is created?

If you run "gpg --with-keygrip -k foo@bar. baz" (with foo@bar.baz as a placeholder for your own key) you will be shown the "keygrip". keygrip is the identifier for the secret parts for this public key and corresponds to the filenames in the private-keys.v1 folder. This way you can check if the public key matches the private key.


Hope this helps, but if someone would have asked me how to restore I would have said: Copy the private key files and import the public key.

Andre

RE: how do i Import my private keys from the "private-keys-v1.d" folder [ Reply ]
By: Peter Freigeist on 2019-04-22 09:25
[forum:6540]
no its one and the same version. i just want to recover my old key with the keyfiles from the "private-keys-v1.d" folder.

you know what i mean?

RE: how do i Import my private keys from the "private-keys-v1.d" folder [ Reply ]
By: Chris Wood on 2019-04-22 09:18
[forum:6539]
And how to keep keystores for gpg-1.x and gpg-2.x in sync?

how do i Import my private keys from the "private-keys-v1.d" folder [ Reply ]
By: Peter Freigeist on 2019-04-22 09:08
[forum:6538]
Is there a way to import my private keys from the "private-keys-v1.d" folder.
cause i deleted my old key and restored it with a backup software. i tried to copy the secret key files to the folder and then import the public key from the site i had saved it. But my old key wont appear in the key manager.