Skip to content

Commit

Permalink
add deactivated keycap flag gopasspw#1917
Browse files Browse the repository at this point in the history
RELEASE_NOTES=[FEATURE] Add GPG key capabilities and check in key.isUsable

Signed-off-by: Thomas Mantl <thomas.mantl@redgears.net>
  • Loading branch information
TM2500 committed Nov 25, 2021
1 parent e681a91 commit cc44864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/backend/crypto/gpg/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type Capabilities struct {
Sign bool
Certify bool
Authentication bool
Deactivated bool
}

// IsUseable returns true if GPG would assume this key is useable for encryption
Expand Down

0 comments on commit cc44864

Please sign in to comment.