Documentation
¶
Overview ¶
Package stack implements symmetric secure:v1 encryption for recipe secrets.
Index ¶
Constants ¶
View Source
const SymmetricKeyBytes = 32
SymmetricKeyBytes is the AES-256 key size for secure:v1.
Variables ¶
This section is empty.
Functions ¶
func DecryptSymmetricV1 ¶
DecryptSymmetricV1 decrypts inner form "v1:<base64-nonce>:<base64-ciphertext>".
func EncryptSymmetricV1 ¶
EncryptSymmetricV1 encrypts plaintext with key; inner form is v1:<nonce-b64>:<ct-b64>.
func FormatSecureRef ¶
FormatSecureRef returns a full recipe ref "secure:v1:…".
func ValidateSecureRef ¶
ValidateSecureRef checks recipe secret values are secure:v1:… with decodable segments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.