Skip to content

Reimport extended keys #2369

@elwerene

Description

@elwerene

Summary

If a gpg key is extended and the public key updated in .public-keys, gopass does not import the new key if the old(expired) key is already in gpg.

Steps To Reproduce

User A: Extend a expired gpg key lifetime with the expire command and update the public key.
If a new secret is added by another user(which already has the expired gpg key in the keychain), it will not load the new public key and not encrypt the new secret for user A.

Expected behavior

Public keys with new expiry dates will get automatically imported.

Metadata

Metadata

Assignees

Labels

featureEnhancements and new featuresgpgGPG related

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions