Quantcast

How can I change the passphrase on our secret keys?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How can I change the passphrase on our secret keys?

helices
How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

alaricd
http://blog.chapagain.com.np/gpg-how-to-change-edit-private-key-passphrase/


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

helices
Yes, I saw that. On one host, that works.

On other, I get following error:
gpg> passwd
Key is protected.

You need a passphrase to unlock the secret key for
user: "Sempris <[hidden email]>"
4096-bit RSA key, ID 80167A71, created 2016-03-18

gpg: cancelled by user
Can't edit this key: Operation cancelled


What am I missing?


On Wed, Apr 12, 2017 at 10:51 AM, Alaric L. Dailey <[hidden email]> wrote:


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

William Senn
You have to know the original secret key in order to make changes. If you have lost access to your original passphrase, you are completely out of luck.

Will

On 4/12/2017 11:02 AM, helices wrote:
Yes, I saw that. On one host, that works.

On other, I get following error:
gpg> passwd
Key is protected.

You need a passphrase to unlock the secret key for
user: "Sempris [hidden email]"
4096-bit RSA key, ID 80167A71, created 2016-03-18

gpg: cancelled by user
Can't edit this key: Operation cancelled


What am I missing?


On Wed, Apr 12, 2017 at 10:51 AM, Alaric L. Dailey <[hidden email]> wrote:


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users



_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

helices
Will,

Yes, I do have the passphrase.

My problem here is that gpg NEVER challenges me for the passphrase!



On Wed, Apr 12, 2017 at 11:06 AM, Senn, William <[hidden email]> wrote:
You have to know the original secret key in order to make changes. If you have lost access to your original passphrase, you are completely out of luck.

Will


On 4/12/2017 11:02 AM, helices wrote:
Yes, I saw that. On one host, that works.

On other, I get following error:
gpg> passwd
Key is protected.

You need a passphrase to unlock the secret key for
user: "Sempris [hidden email]"
4096-bit RSA key, ID 80167A71, created 2016-03-18

gpg: cancelled by user
Can't edit this key: Operation cancelled


What am I missing?


On Wed, Apr 12, 2017 at 10:51 AM, Alaric L. Dailey <[hidden email]> wrote:


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users



_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users



_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

William Senn
Well, this is above my paygrade then. I've had this problem on my mac when I've had stray pieces of gpg strewn all over /usr/local because I brew installed one too many instances of gpg. The solution in my case was to remove all traces of gpg, gpg-agent, etc. and then reinstall a consistent version and rebooting (maybe killall gpg-agent would work too).

Good luck.

Will



On 4/12/2017 11:14 AM, helices wrote:
Will,

Yes, I do have the passphrase.

My problem here is that gpg NEVER challenges me for the passphrase!



On Wed, Apr 12, 2017 at 11:06 AM, Senn, William <[hidden email]> wrote:
You have to know the original secret key in order to make changes. If you have lost access to your original passphrase, you are completely out of luck.

Will


On 4/12/2017 11:02 AM, helices wrote:
Yes, I saw that. On one host, that works.

On other, I get following error:
gpg> passwd
Key is protected.

You need a passphrase to unlock the secret key for
user: "Sempris [hidden email]"
4096-bit RSA key, ID 80167A71, created 2016-03-18

gpg: cancelled by user
Can't edit this key: Operation cancelled


What am I missing?


On Wed, Apr 12, 2017 at 10:51 AM, Alaric L. Dailey <[hidden email]> wrote:


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users



_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________ Gnupg-users mailing list [hidden email] http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

helices
In reply to this post by helices
What am I missing?

Why am I getting this error?

Please, advise. Thank you.


On Wed, Apr 12, 2017 at 11:02 AM, helices <[hidden email]> wrote:
Yes, I saw that. On one host, that works.

On other, I get following error:
gpg> passwd
Key is protected.

You need a passphrase to unlock the secret key for
user: "Sempris <[hidden email]>"
4096-bit RSA key, ID 80167A71, created 2016-03-18

gpg: cancelled by user
Can't edit this key: Operation cancelled


What am I missing?


On Wed, Apr 12, 2017 at 10:51 AM, Alaric L. Dailey <[hidden email]> wrote:


From: "helices" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 12, 2017 10:35:43 AM
Subject: How can I change the passphrase on our secret keys?

How can I change the passphrase on our secret keys?

I've searched Google and gnupg.org to no avail.

What am I missing?

Versions:
gpg (GnuPG) 2.0.14
gpg (GnuPG) 2.0.22


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users



_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

Daniel Kahn Gillmor-7
In reply to this post by helices
On Wed 2017-04-12 11:02:04 -0500, helices wrote:

> Yes, I saw that. On one host, that works.
>
> On other, I get following error:
> gpg> passwd
> Key is protected.
>
> You need a passphrase to unlock the secret key for
> user: "Sempris <[hidden email]>"
> 4096-bit RSA key, ID 80167A71, created 2016-03-18
>
> gpg: cancelled by user
> Can't edit this key: Operation cancelled

We need more info about the host where this failed to help you :)

 * What operating system? (and what version of the OS?)

 * What version of gpg?

 * What version of pinentry are you expecting to use?

 * If you do the following command from the shell, do you see a pinentry
   show up anywhere?

      printf "option ttyname $(tty)\ngetpin\n" | pinentry

Regards,

        --dkg

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

helices
Version info from previous post:

CentOS release 6.8 (Final)
gpg (GnuPG) 2.0.14

CentOS Linux release 7.3.1611 (Core)
gpg (GnuPG) 2.0.22


We are NOT using pinentry.


On Mon, Apr 17, 2017 at 1:37 PM, Daniel Kahn Gillmor <[hidden email]> wrote:
On Wed 2017-04-12 11:02:04 -0500, helices wrote:
> Yes, I saw that. On one host, that works.
>
> On other, I get following error:
> gpg> passwd
> Key is protected.
>
> You need a passphrase to unlock the secret key for
> user: "Sempris <[hidden email]>"
> 4096-bit RSA key, ID 80167A71, created 2016-03-18
>
> gpg: cancelled by user
> Can't edit this key: Operation cancelled

We need more info about the host where this failed to help you :)

 * What operating system? (and what version of the OS?)

 * What version of gpg?

 * What version of pinentry are you expecting to use?

 * If you do the following command from the shell, do you see a pinentry
   show up anywhere?

      printf "option ttyname $(tty)\ngetpin\n" | pinentry

Regards,

        --dkg


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

William Senn
Same vein, what version of gpg-agent?

--
Sent from my iPhone

Will Senn, PhD
Assistant Professor of Community Informatics
School of Library and Information Studies
Texas Woman's University
Stoddard Hall, Room 408
<a href="x-apple-data-detectors://1" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">P.O. Box 425438
<a href="x-apple-data-detectors://1" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">Denton, TX 76204-5438

Phone: <a href="tel:615-604-5354" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2/0" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">615-603-5354
Email: [hidden email]


On Apr 17, 2017, at 1:50 PM, helices <[hidden email]> wrote:

Version info from previous post:

CentOS release 6.8 (Final)
gpg (GnuPG) 2.0.14

CentOS Linux release 7.3.1611 (Core)
gpg (GnuPG) 2.0.22


We are NOT using pinentry.


On Mon, Apr 17, 2017 at 1:37 PM, Daniel Kahn Gillmor <[hidden email]> wrote:
On Wed 2017-04-12 11:02:04 -0500, helices wrote:
> Yes, I saw that. On one host, that works.
>
> On other, I get following error:
> gpg> passwd
> Key is protected.
>
> You need a passphrase to unlock the secret key for
> user: "Sempris <[hidden email]>"
> 4096-bit RSA key, ID 80167A71, created 2016-03-18
>
> gpg: cancelled by user
> Can't edit this key: Operation cancelled

We need more info about the host where this failed to help you :)

 * What operating system? (and what version of the OS?)

 * What version of gpg?

 * What version of pinentry are you expecting to use?

 * If you do the following command from the shell, do you see a pinentry
   show up anywhere?

      printf "option ttyname $(tty)\ngetpin\n" | pinentry

Regards,

        --dkg

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How can I change the passphrase on our secret keys?

helices
gpg-agent (GnuPG) 2.0.14
gpg-agent (GnuPG) 2.0.22


On Mon, Apr 17, 2017 at 1:56 PM, William Senn <[hidden email]> wrote:
Same vein, what version of gpg-agent?

--
Sent from my iPhone

Will Senn, PhD
Assistant Professor of Community Informatics
School of Library and Information Studies
Texas Woman's University
Stoddard Hall, Room 408
P.O. Box 425438
Denton, TX 76204-5438

Phone: <a href="tel:615-604-5354" dir="ltr" target="_blank">615-603-5354
Email: [hidden email]


On Apr 17, 2017, at 1:50 PM, helices <[hidden email]> wrote:

Version info from previous post:

CentOS release 6.8 (Final)
gpg (GnuPG) 2.0.14

CentOS Linux release 7.3.1611 (Core)
gpg (GnuPG) 2.0.22


We are NOT using pinentry.


On Mon, Apr 17, 2017 at 1:37 PM, Daniel Kahn Gillmor <[hidden email]> wrote:
On Wed 2017-04-12 11:02:04 -0500, helices wrote:
> Yes, I saw that. On one host, that works.
>
> On other, I get following error:
> gpg> passwd
> Key is protected.
>
> You need a passphrase to unlock the secret key for
> user: "Sempris <[hidden email]>"
> 4096-bit RSA key, ID 80167A71, created 2016-03-18
>
> gpg: cancelled by user
> Can't edit this key: Operation cancelled

We need more info about the host where this failed to help you :)

 * What operating system? (and what version of the OS?)

 * What version of gpg?

 * What version of pinentry are you expecting to use?

 * If you do the following command from the shell, do you see a pinentry
   show up anywhere?

      printf "option ttyname $(tty)\ngetpin\n" | pinentry

Regards,

        --dkg

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Loading...