<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you Vincent,<div class=""><br class=""></div><div class="">I am really ashamed! Yes you are right: encryption is normally done with a public key. (I am blushing). I forgot, because nobody has a PGP-Key to correspond with. The only use for my own PGP-key was to encrypt my own Password-file, AND this with my private key, of course! Only for decrypting I need my (own) private key. Sorry to this mailing group, for this simplicity. But how did it happen? I encrypt always the same way: gpg -e pw.txt filling in my first name and hit <enter> twice. </div><div class=""><br class=""></div><div class="">That means, no way to fiddle around with the headers (I called them like that) of the pw.gpg-file. It is really encrypted with the PUBLIC key of <a href="mailto:pause@pause.perl.org" class="">pause@pause.perl.org</a> - probably a dead email address - nobody is reading. </div><div class=""><br class=""></div><div class="">Don’t know what to do. The last month I started to invest into crypto-currency and some information are buried for ever in this gpg.file </div><div class=""><br class=""></div><div class="">Suppose Vincent you are French. Donc merci infiniment pour votre aide! </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">marek</div><div class=""><br class="">
<div><br class=""><blockquote type="cite" class=""><div class="">On 26. Apr 2021, at 13:12, Vincent Pelletier <<a href="mailto:plr.vincent@gmail.com" class="">plr.vincent@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello Marek,<br class=""><br class="">On Sun, 25 Apr 2021 17:31:53 +0200, Marek Stepanek <<a href="mailto:mstep@podiuminternational.org" class="">mstep@podiuminternational.org</a>> wrote:<br class=""><blockquote type="cite" class="">I am unsure how GnuPG could pick up the wrong key, which does not exist in my key deposit. My guess is, that it is encrypted anyway with my private key<br class=""></blockquote><br class="">Beware of a possible misunderstanding here: encryption is done with the<br class="">*public* key. It is decryption which requires the private key. So you<br class="">can easily encrypt something with any of the (possibly many) public<br class="">keys from your key ring.<br class=""><br class=""><blockquote type="cite" class="">Thank you Vincent for your detailed answer,<br class=""></blockquote><br class="">Welcome !<br class=""><br class=""><blockquote type="cite" class="">which is way over my head.<br class=""></blockquote><br class="">Don't worry, I was tossing some ideas to maybe save you from disclosing<br class="">your entire file to someone else (by only exchanging the encrypted<br class="">session key rather than the whole file).<br class="">But I 100% deffer to anyone knowledgeable about gnupg itself for<br class="">whether anything I suggest is actually possible, and how to do it.<br class=""><br class=""><blockquote type="cite" class="">I really should look into the internals of file encryption one day … <br class=""></blockquote><br class="">Besides on-line sources like wikipedia or youtube (computerphile<br class="">channel has several crypto-related videos), I found the following book<br class="">to be especially enlightening (...from a crypto-unrelated developer<br class="">perspective anyway):<br class=""> <a href="https://www.schneier.com/books/cryptography-engineering/" class="">https://www.schneier.com/books/cryptography-engineering/</a><br class=""><br class="">Regards,<br class="">-- <br class="">Vincent Pelletier<br class="">GPG fingerprint 983A E8B7 3B91 1598 7A92 3845 CAC9 3691 4257 B0C1<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>