Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Tweeted twitter.com/StackUnix/status/1128767224053948417
added 8 characters in body
Source Link
knarf
  • 141
  • 1
  • 7

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how:

$ gpg --passwd [email protected] (X dialog that prompts me for current passphrase, I just press enter) gpg: key xxxxxxxxxxxxxxxx/aaaaaaaaaaaaaaaa: error changing passphrase: No passphrase given gpg: key xxxxxxxxxxxxxxxx/bbbbbbbbbbbbbbbb: error changing passphrase: No passphrase given gpg: error changing the passphrase for '[email protected]': No passphrase given 

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2 on openSUSE 15.0.

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how:

$ gpg --passwd [email protected] (X dialog that prompts me for passphrase, I just press enter) gpg: key xxxxxxxxxxxxxxxx/aaaaaaaaaaaaaaaa: error changing passphrase: No passphrase given gpg: key xxxxxxxxxxxxxxxx/bbbbbbbbbbbbbbbb: error changing passphrase: No passphrase given gpg: error changing the passphrase for '[email protected]': No passphrase given 

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2 on openSUSE 15.0.

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how:

$ gpg --passwd [email protected] (X dialog that prompts me for current passphrase, I just press enter) gpg: key xxxxxxxxxxxxxxxx/aaaaaaaaaaaaaaaa: error changing passphrase: No passphrase given gpg: key xxxxxxxxxxxxxxxx/bbbbbbbbbbbbbbbb: error changing passphrase: No passphrase given gpg: error changing the passphrase for '[email protected]': No passphrase given 

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2 on openSUSE 15.0.

added os
Source Link
knarf
  • 141
  • 1
  • 7

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how.:

$ gpg --passwd [email protected] (X dialog that prompts me for passphrase, I just press enter) gpg: key xxxxxxxxxxxxxxxx/aaaaaaaaaaaaaaaa: error changing passphrase: No passphrase given gpg: key xxxxxxxxxxxxxxxx/bbbbbbbbbbbbbbbb: error changing passphrase: No passphrase given gpg: error changing the passphrase for '[email protected]': No passphrase given 

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2 on openSUSE 15.0.

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how.

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2.

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how:

$ gpg --passwd [email protected] (X dialog that prompts me for passphrase, I just press enter) gpg: key xxxxxxxxxxxxxxxx/aaaaaaaaaaaaaaaa: error changing passphrase: No passphrase given gpg: key xxxxxxxxxxxxxxxx/bbbbbbbbbbbbbbbb: error changing passphrase: No passphrase given gpg: error changing the passphrase for '[email protected]': No passphrase given 

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2 on openSUSE 15.0.

Notice added Draw attention by knarf
Bounty Started worth 50 reputation by knarf
Source Link
knarf
  • 141
  • 1
  • 7

gpg cannot unlock passphrase-less key: "gpg: public key decryption failed: No passphrase given"

I have a gpg setup started with older gpg versions and I did not use a passphrase back then. I would type enter directly when prompted for it. I'm not sure if that means the key isn't encrypted or if it is encrypted with an empty passphrase.

Regardless, when I try to decrypt something that was sent to me recently, gpg needs access to my private key and prompts me for a passphrase but now I cannot use an empty passphrase anymore. gpg fails with:

$ gpg -d foo.asc (X dialog that prompts me for passphrase, I just press enter) gpg: public key decryption failed: No passphrase given gpg: decryption failed: No secret key 

I would like to be able to use my keys again. I don't mind setting a passphrase from now on but I don't know how.

I am running gpg (GnuPG) 2.2.5 and libgcrypt 1.8.2.