_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c28800
train
// AddRemote does nothing
{ "resource": "" }
c28801
train
// RemoveRemote does nothing
{ "resource": "" }
c28802
train
// Revisions is not implemented
{ "resource": "" }
c28803
train
// WithPassPromptFunc returns a context with the password prompt function set
{ "resource": "" }
c28804
train
// HasPassPromptFunc returns true if a value for the pass prompt func has been // set in this context
{ "resource": "" }
c28805
train
// ListTemplates will list all templates in this store
{ "resource": "" }
c28806
train
// templatefile returns the name of the given template on disk
{ "resource": "" }
c28807
train
// HasTemplate returns true if the template exists
{ "resource": "" }
c28808
train
// GetTemplate will return the content of the named template
{ "resource": "" }
c28809
train
// ParseURL attempts to parse an backend URL
{ "resource": "" }
c28810
train
// UnmarshalYAML implements yaml.Unmarshaler
{ "resource": "" }
c28811
train
// GitInit initializes the the git repo in the store
{ "resource": "" }
c28812
train
// ListRevisions will list all revisions for a secret
{ "resource": "" }
c28813
train
// GetRevision will retrieve a single revision from the backend
{ "resource": "" }
c28814
train
// IsUseable returns true if GPG would assume this key is useable for encryption
{ "resource": "" }
c28815
train
// String implement fmt.Stringer. This method produces output that is close to, but // not exactly the same, as the output form GPG itself
{ "resource": "" }
c28816
train
// Identity returns the first identity
{ "resource": "" }
c28817
train
// ID returns the short fingerprint
{ "resource": "" }
c28818
train
// Clone will fetch and mount a new password store from a git repo
{ "resource": "" }
c28819
train
// Recipients returns the KeyList formatted as a recipient list
{ "resource": "" }
c28820
train
// FindKey will try to find the requested key
{ "resource": "" }
c28821
train
// EncryptStream encrypts the plaintext using a slightly modified on disk-format // suitable for streaming
{ "resource": "" }
c28822
train
// DecryptStream decrypts an stream encrypted with EncryptStream
{ "resource": "" }
c28823
train
// ExitError returns a user friendly CLI error
{ "resource": "" }
c28824
train
// Set encodes and writes the cipertext of one entry to disk
{ "resource": "" }
c28825
train
// Move will move one entry from one location to another. // Moving an entry will decode it from the old location, encode it // for the destination store with the right set of recipients and remove it // from the old location afterwards.
{ "resource": "" }
c28826
train
// delete will either delete one file or an directory tree depending on the // recurse flag
{ "resource": "" }
c28827
train
// New returns a new Action wrapper
{ "resource": "" }
c28828
train
// CreatePrivateKeyBatch will create a new GPG keypair in batch mode
{ "resource": "" }
c28829
train
// CreatePrivateKey will create a new GPG key in interactive mode
{ "resource": "" }
c28830
train
// InitConfig initialized and preparse the git config
{ "resource": "" }
c28831
train
// ConfigSet sets a local config value
{ "resource": "" }
c28832
train
// ConfigGet returns a given config value
{ "resource": "" }
c28833
train
// ConfigList returns all git config settings
{ "resource": "" }
c28834
train
// RecipientsPrint prints all recipients per store
{ "resource": "" }
c28835
train
// RecipientsComplete will print a list of recipients for bash // completion
{ "resource": "" }
c28836
train
// RecipientsAdd adds new recipients
{ "resource": "" }
c28837
train
// RecipientsRemove removes recipients
{ "resource": "" }
c28838
train
// RecipientsUpdate will recompute and update any changed recipients list checksums
{ "resource": "" }
c28839
train
// OTP implements OTP token handling for TOTP and HOTP
{ "resource": "" }
c28840
train
// Decrypt tries to decrypt the given ciphertext and returns the plaintext
{ "resource": "" }
c28841
train
// findDecryptionKey tries to find a suiteable decryption key from the available // decryption keys and the recipients
{ "resource": "" }
c28842
train
// findPublicKey tries to find a given public key in the keyring
{ "resource": "" }
c28843
train
// decryptPrivateKey will ask the agent to unlock the private key
{ "resource": "" }
c28844
train
// decryptSessionKey will attempt to find a readable recipient entry in the // header and decrypt it's session key
{ "resource": "" }
c28845
train
// MountRemove removes an existing mount
{ "resource": "" }
c28846
train
// MountsPrint prints all existing mounts
{ "resource": "" }
c28847
train
// MountsComplete will print a list of existings mount points for bash // completion
{ "resource": "" }
c28848
train
// MountAdd adds a new mount
{ "resource": "" }
c28849
train
// FindPublicKeys does nothing
{ "resource": "" }
c28850
train
// RecipientIDs does nothing
{ "resource": "" }
c28851
train
// Encrypt writes the input to disk unaltered
{ "resource": "" }
c28852
train
// Decrypt read the file from disk unaltered
{ "resource": "" }
c28853
train
// Sign writes the hashsum to the given file
{ "resource": "" }
c28854
train
// Verify does a pseudo-verification
{ "resource": "" }
c28855
train
// ReadNamesFromKey does nothing
{ "resource": "" }
c28856
train
// Clone implements backend.RCSLoader
{ "resource": "" }
c28857
train
// ImportPublicKey will import a key from the given location
{ "resource": "" }
c28858
train
// Copy copies either from the filesystem to the store or from the store // to the filesystem
{ "resource": "" }
c28859
train
// Fsck checks the store integrity
{ "resource": "" }
c28860
train
// Notify is not yet implemented on this platform
{ "resource": "" }
c28861
train
// ExportPublicKey will export the named public key to the location given
{ "resource": "" }
c28862
train
// parseTS parses the passed string as an Epoch int and returns // the time struct or the zero time struct
{ "resource": "" }
c28863
train
// parseInt parses the passed string as an int and returns it // or 0 on errors
{ "resource": "" }
c28864
train
// GPGOpts parses extra GPG options from the environment
{ "resource": "" }
c28865
train
// Exists checks if a given secret exists
{ "resource": "" }
c28866
train
// Get returns a secret
{ "resource": "" }
c28867
train
// Initialized returns true if the backend can communicate with Vault
{ "resource": "" }
c28868
train
// IsDir returns true if the given name is a dir
{ "resource": "" }
c28869
train
// List returns a list of entries with the given prefix
{ "resource": "" }
c28870
train
// Move moves one or many secrets
{ "resource": "" }
c28871
train
// Set writes a secret
{ "resource": "" }
c28872
train
// Prune removes a directory tree
{ "resource": "" }
c28873
train
// AskForInt asks for an valid interger once. If the input // can not be converted to an int it returns an error
{ "resource": "" }
c28874
train
// AskForKeyImport asks for permissions to import the named key
{ "resource": "" }
c28875
train
// AskForPassword prompts for a password twice until both match
{ "resource": "" }
c28876
train
// Edit the content of a password file
{ "resource": "" }
c28877
train
// Encrypt encrypts the given plaintext for all the given recipients and returns the // ciphertext
{ "resource": "" }
c28878
train
// encryptForRecipients encrypts the given session key for the given recipient
{ "resource": "" }
c28879
train
// encryptBody generates a random session key and a nonce and encrypts the given // plaintext with those. it returns all three
{ "resource": "" }
c28880
train
// listKey lists all keys of the given type and matching the search strings
{ "resource": "" }
c28881
train
// ListPublicKeyIDs returns a parsed list of GPG public keys
{ "resource": "" }
c28882
train
// FindPublicKeys searches for the given public keys
{ "resource": "" }
c28883
train
// ListPrivateKeyIDs returns a parsed list of GPG secret keys
{ "resource": "" }
c28884
train
// EmailFromKey extracts the email from a key id
{ "resource": "" }
c28885
train
// NameFromKey extracts the name from a key id
{ "resource": "" }
c28886
train
// FormatKey formats the details of a key id
{ "resource": "" }
c28887
train
// Grep searches a string inside the content of all files
{ "resource": "" }
c28888
train
// New creates a new pure-Go GPG backend
{ "resource": "" }
c28889
train
// RecipientIDs returns the recipients of the encrypted message
{ "resource": "" }
c28890
train
// Encrypt encrypts the plaintext for the given recipients
{ "resource": "" }
c28891
train
// ImportPublicKey does nothing
{ "resource": "" }
c28892
train
// Version returns dummy version info
{ "resource": "" }
c28893
train
// Sign is not implemented
{ "resource": "" }
c28894
train
// Verify is not implemented
{ "resource": "" }
c28895
train
// EmailFromKey returns the email for this key
{ "resource": "" }
c28896
train
// NameFromKey is returns the name for this key
{ "resource": "" }
c28897
train
// ReadNamesFromKey unmarshals and returns the names associated with the given public key
{ "resource": "" }
c28898
train
// Unclip tries to erase the content of the clipboard
{ "resource": "" }
c28899
train
// Find a string in the secret file's name
{ "resource": "" }