Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
abhishekjha
· 6y ago · 0 comments
What do I do if my key has expired?
Comments
[–]
micahhenning
6y ago
Generate a new key and update the global git config with the new public key hash. Then add the new public key to Github/Gitlab to support verification of signed commits with new key.
[–]
abhishekjha
OP
6y ago
But that would invalidate the old signed commits, wouldn't it?
[–]
chipsa
6y ago
Pretty sure you can keep your old keys in there. You just don't use the old key for signing.
[–]
jlgaddis
6y ago
You can change the expiration date of an expired key.