Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
634 views
in Technique[技术] by (71.8m points)

gnupg - Is there a method to decrypt a message without pubring.kbx?

Is there a way to decrypt a message without pubring.kbx?

The problem:

I lost my pubring.kbx and have no usable backups. I still have access to all the other /.gnupg files, including the .key files in private-keys-v1.d, so I am trying to find a way to decrypt a message encrypted with one of my public keys, without access to the original purbing.kbx

What I've attempted:

  • Importing the private keys from /private-keys-v1.d: gnupg isn't finding any openpgp data in the keygrip.key files to import
  • File recovery software to restore the lost pubring.kbx
  • Using gpg --expert --full-gen-key and generating from the existing private .key (option 13)

I have also tried methods listed in this post: https://superuser.com/questions/1537499/accidently-deleted-gnupg-pubring-kbx-how-to-recover-keys

question from:https://stackoverflow.com/questions/65928102/is-there-a-method-to-decrypt-a-message-without-pubring-kbx

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...