package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetFileHMAC returns encrypted file HMAC
UnlockFile return content of the file decrypted by AES from KeyData
type KeyData struct {
AES []byte
HMAC []byte
}
KeyData is struct for keep AES and HMAC from git-crypt key
LoadKey convert key base64 to KeyData struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.