GPG Lost Secret Key
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Earlier on today I decided to backup my laptop and re-install everything. I thought I backed up the GPG keys correctly but it turns out I only exported my public key.
I understand that I can't get that key back as I failed to back it up correctly.
My question though is, can I re-generate a new secret key and assign it to the public key exported earlier? or should I just create another key/pair but then I would have 3 keys on my PC the old public key and then the new generated keys each would have the same name and email address - Is this the correct thing to do?
gpg
New contributor
add a comment |Â
up vote
0
down vote
favorite
Earlier on today I decided to backup my laptop and re-install everything. I thought I backed up the GPG keys correctly but it turns out I only exported my public key.
I understand that I can't get that key back as I failed to back it up correctly.
My question though is, can I re-generate a new secret key and assign it to the public key exported earlier? or should I just create another key/pair but then I would have 3 keys on my PC the old public key and then the new generated keys each would have the same name and email address - Is this the correct thing to do?
gpg
New contributor
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in adata
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.
â sudodus
7 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Earlier on today I decided to backup my laptop and re-install everything. I thought I backed up the GPG keys correctly but it turns out I only exported my public key.
I understand that I can't get that key back as I failed to back it up correctly.
My question though is, can I re-generate a new secret key and assign it to the public key exported earlier? or should I just create another key/pair but then I would have 3 keys on my PC the old public key and then the new generated keys each would have the same name and email address - Is this the correct thing to do?
gpg
New contributor
Earlier on today I decided to backup my laptop and re-install everything. I thought I backed up the GPG keys correctly but it turns out I only exported my public key.
I understand that I can't get that key back as I failed to back it up correctly.
My question though is, can I re-generate a new secret key and assign it to the public key exported earlier? or should I just create another key/pair but then I would have 3 keys on my PC the old public key and then the new generated keys each would have the same name and email address - Is this the correct thing to do?
gpg
gpg
New contributor
New contributor
New contributor
asked 28 mins ago
John McDonnell
101
101
New contributor
New contributor
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in adata
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.
â sudodus
7 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago
add a comment |Â
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in adata
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.
â sudodus
7 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in a
data
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.â sudodus
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in a
data
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.â sudodus
7 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Your old private key is gone so about all your old public key is good for is 'legacy' usage. (i.e. you won't be doing anything new with it but it could be used to verify anything previously signed, for example) Going forward, everything would be based on your new private/public key pair which have no relation to your old keys.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Your old private key is gone so about all your old public key is good for is 'legacy' usage. (i.e. you won't be doing anything new with it but it could be used to verify anything previously signed, for example) Going forward, everything would be based on your new private/public key pair which have no relation to your old keys.
add a comment |Â
up vote
0
down vote
Your old private key is gone so about all your old public key is good for is 'legacy' usage. (i.e. you won't be doing anything new with it but it could be used to verify anything previously signed, for example) Going forward, everything would be based on your new private/public key pair which have no relation to your old keys.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Your old private key is gone so about all your old public key is good for is 'legacy' usage. (i.e. you won't be doing anything new with it but it could be used to verify anything previously signed, for example) Going forward, everything would be based on your new private/public key pair which have no relation to your old keys.
Your old private key is gone so about all your old public key is good for is 'legacy' usage. (i.e. you won't be doing anything new with it but it could be used to verify anything previously signed, for example) Going forward, everything would be based on your new private/public key pair which have no relation to your old keys.
answered 4 mins ago
blihp
2668
2668
add a comment |Â
add a comment |Â
John McDonnell is a new contributor. Be nice, and check out our Code of Conduct.
John McDonnell is a new contributor. Be nice, and check out our Code of Conduct.
John McDonnell is a new contributor. Be nice, and check out our Code of Conduct.
John McDonnell is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475305%2fgpg-lost-secret-key%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Do you have a revocation certificate for the old key?
â Stephen Kitt
7 mins ago
I would create another key pair (but someone might know a better solution). -- For the future I would suggest that you get a better method to backup your system, so that you will 'automatically' get everything relevant backed up. For example, I have my personal data in a
data
partition, that I back up at the file level. It means that the linux system in the root file system, /, is rather small and easy to back up to a compressed image with Clonezilla.â sudodus
7 mins ago
No I don't, I only copied across the exported public key before wiping the old install.
â John McDonnell
4 mins ago