Skip to content

Modify age identity after store is initialized #3032

Answered by AnomalRoil
anjos asked this question in Q&A
Discussion options

You must be logged in to vote

With the age backend, we have the gopass age command to control what's happening with your keys.

If you want to replace the original key with your own key generated outside of gopass the following should work:

  1. Make sure you are running gopass 1.15.15, this won't work with v1.15.14 or lower versions since we recently greatly improved age support.
  2. Add your new secret key as an identity. This will require you to give your secret age key to gopass to store in its age keyring.
    gopass age identities add
    follow the interactive prompt.
  3. Add your new public key as a recipient (as instructed by the interactive prompt):
    gopass recipients add age1...
  4. remove your old secret key using:
    gopass age ident…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@AnomalRoil
Comment options

Comment options

You must be logged in to vote
1 reply
@anjos
Comment options

Answer selected by anjos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants