package
0.11.6
Repository: https://github.com/sql2/vault.git
Documentation: pkg.go.dev

# Functions

DecryptBytes takes in base64-encoded encrypted bytes and the base64-encoded private key and decrypts it.
EncryptShares takes an ordered set of byte slices to encrypt and the corresponding base64-encoded public keys to encrypt them with, encrypts each byte slice with the corresponding public key.
FetchKeybasePubkeys fetches public keys from Keybase given a set of usernames, which are derived from correctly formatted input entries.
GetEntities takes in a string array of base64-encoded PGP keys and returns the openpgp Entities.
GetFingerprints takes in a list of openpgp Entities and returns the fingerprints.
ParsePGPKeys takes a list of PGP keys and parses them either using keybase or reading them from disk and returns the "expanded" list of pgp keys in the same order.
ReadPGPFile reads the given PGP file from disk.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

PubKeyFileFlag implements flag.Value and command.Example to receive exactly one PGP or keybase key via a flag.
PGPPubKeyFiles implements the flag.Value interface and allows parsing and reading a list of PGP public key files.