Documentation
¶
Index ¶
Constants ¶
View Source
const Alias = "age"
Alias is the EncryptionKey.Platform value for age recipients.
Variables ¶
This section is empty.
Functions ¶
func NewKeyGroup ¶
func NewKeyGroup(ctx context.Context, key entities.EncryptionKey) (result keys.MasterKey, err error)
NewKeyGroup builds an age MasterKey from key.ID, expected to be an age public recipient string ("age1..."). Unlike the KMS-backed key groups, age.MasterKeyFromRecipient validates the recipient and can fail, which is why KeyGroupFunc returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.