<div dir="auto">Ok, thank you. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 22, 2020, 9:30 AM Werner Koch <<a href="mailto:wk@gnupg.org">wk@gnupg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 21 Oct 2020 18:59, Mike said:<br>
> I had to recover gnupg file from a corrupted os. The contents of the gnupg<br>
> file are encrypted and are not in openpgp data. So when I try to import my<br>
> keys from 'private-keys-v1.d' nothing happens. Output says no openpgp data<br>
> found and 0 items processed.<br>
<br>
You simply restore the files from private-keys-v1. These are internal to<br>
gnupg and it is not possible or needed to importat them.  The format of<br>
the private key files is well specified and we take care to keep them<br>
compatible with all GnuPG 2 versions.<br>
<br>
To make the restored private keys actually work you also need the public<br>
keys.  Ask someone else or a keyserver to send you your public key if<br>
you don't have a backup.  With the private keys in place gpg will be<br>
able list them and be able to decrypt or sign data.<br>
<br>
<br>
Salam-Shalom,<br>
<br>
   Werner<br>
<br>
-- <br>
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.<br>
</blockquote></div>