You are not logged in.

#1 2021-06-14 17:26:12

madrafa
Member
Registered: 2021-02-19
Posts: 34
Website

changing GPG key password, how to update all machines with key?

First of all, I'm still learning GnuPG and how to use it.

Something that I can't figure out and I haven't found anywhere is how to keep gpg keys up to date on multiple machines ?

A few days a ago I changed the password of my key on my computer. But I also have that same key on Android with OpenKeyChain. I didn't found any information on how to update that key so I just delete it, and imported my key once again with the new password.

But there must be a better way of doing this, I doesn't make sense having to re-import everything every time you change something on your gpg key.

One way that I thought of doing this was with keyservers, but aren't keyservers only for public keys ?? If I change something in my key, then send/sync that key to the server, and refresh the key from the server in any other machine where I have the same key, would that update the password of my keyring/private-key ?

Also, another question. I created my gpg key with my "formal" email, but I have another email that I use a lot, Can I decrypt/receive encrypted emails to that email ? For example, I use FairMail on Android, and I have added my gpg key with OpenKeyChain.

Do the email have to match to the one from the gpg key so I can decrypt/receive encrypted emails ? If no, would adding a new name/email to the key work ?

p.d. Sorry if my english is bad.

Last edited by madrafa (2021-06-14 17:27:09)

Offline

#2 2021-06-14 18:22:13

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: changing GPG key password, how to update all machines with key?

You will certainly benefit from reading the gpg man page.

A key server cannot change your secret key's passphrase. Use gpg --passwd on each copy. If you want you can use a different passphrase for each key or have no passphrase at all.

The e-mail address will help the sender's e-mail client select the right key but to decrypt the message, once you have received it, the e-mail address does not matter.

Offline

Board footer

Powered by FluxBB