Skip to content

Commit

Permalink
Merge pull request #842 from hiddeco/remove-unused-age-code
Browse files Browse the repository at this point in the history
Remove unused age keysource code
  • Loading branch information
ajvb committed Feb 24, 2022
2 parents be5a02b + e98451e commit 624c7d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions age/keysource.go
Expand Up @@ -20,15 +20,12 @@ func init() {
log = logging.NewLogger("AGE")
}

const privateKeySizeLimit = 1 << 24 // 16 MiB

// MasterKey is an age key used to encrypt and decrypt sops' data key.
type MasterKey struct {
Identity string // a Bech32-encoded private key
Recipient string // a Bech32-encoded public key
EncryptedKey string // a sops data key encrypted with age

parsedIdentity *age.X25519Identity // a parsed age private key
parsedRecipient *age.X25519Recipient // a parsed age public key
}

Expand Down

0 comments on commit 624c7d0

Please sign in to comment.