Re: Regenerate Openpgp Public Key from Private Key

2019-09-17 Thread halfdog
Werner Koch writes: > On Tue, 17 Sep 2019 11:09, m...@halfdog.net said: > >> Therefore some exports (or copies of old secring.gpg) just >> do no include the public key, otherwise import would be trivial. > > Nope. It is not possible to create an OpenPGP secret keyblok > without the public key part

Re: Regenerate Openpgp Public Key from Private Key

2019-09-17 Thread Werner Koch via Gnupg-users
On Tue, 17 Sep 2019 11:09, m...@halfdog.net said: > Therefore some exports (or copies of old secring.gpg) just do > no include the public key, otherwise import would be trivial. Nope. It is not possible to create an OpenPGP secret keyblok without the public key parts. > As the key causing me pr

Re: Regenerate Openpgp Public Key from Private Key

2019-09-17 Thread halfdog
Werner Koch writes: > On Tue, 17 Sep 2019 06:51, m...@halfdog.net said: > >> Regenerating private keys is mathematically trivial but tool-wise >> a little tricky. It seems that quite some people were troubled > > What's wrong with > > gpg --import backup-of-private-key.gpg > > the private key inclu

Re: Regenerate Openpgp Public Key from Private Key

2019-09-17 Thread Werner Koch via Gnupg-users
On Tue, 17 Sep 2019 06:51, m...@halfdog.net said: > Regenerating private keys is mathematically trivial but tool-wise > a little tricky. It seems that quite some people were troubled What's wrong with gpg --import backup-of-private-key.gpg the private key include the entire public key. Sal

Regenerate Openpgp Public Key from Private Key

2019-09-17 Thread halfdog
Hello list, Regenerating private keys is mathematically trivial but tool-wise a little tricky. It seems that quite some people were troubled by this problem due to different reasons (I not attempted to confirm all of these): * Using (old) backups of keys for decrypting with only private key ava