Documentation ¶
Index ¶
- Constants
- func CombineShares(shares []string) (result string, err error)
- func Decrypt(path string, key []byte, plaintext []byte) ([]byte, error)
- func DecryptFile(keyRingFile string, vaultPath string, valueFile string) ([]byte, error)
- func FindMasterKeyInCore(corePath string, keyRingPath string) ([]byte, error)
- func FindMasterKeyInRegion(coreMap io.ReaderAt, region Region, keyRing []byte) ([]byte, error)
- func FindMasterKeyLive(pidStr string, keyRingPath string) (keyring []byte, err error)
- func SecretShares(secret string, numShares string) (shares []string, err error)
- type Region
Constants ¶
View Source
const ( KeySize = 32 // 256-bit key AlignmentBoundary = 8 // assume malloc respects 64-bit word size? KeyringPath = "core/keyring" // logical path where the keyring is stored )
Variables ¶
This section is empty.
Functions ¶
func CombineShares ¶
func DecryptFile ¶
func FindMasterKeyInCore ¶
func FindMasterKeyInRegion ¶
func FindMasterKeyLive ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.