Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "stymie",
Short: "A cryptographically secure password manager",
Long: "`stymie` is a password manager that uses GPG to encrypt and sign all the things.",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetStymieDir ¶
func GetStymieDir() string
Types ¶
type GPGConfig ¶
type Key ¶
func GetKeyFields ¶
func GetKeyFields(passConfig PassConfig) *Key
-----------------------------------------------------------
Public
-----------------------------------------------------------
type PassConfig ¶
type Stymie ¶
type Stymie struct { Dir string `json:"dir"` GPG *GPGConfig `json:"gpg"` // TODO: Why can't PassConfig be a pointer? 20180603 PassConfig PassConfig `json:"passConfig"` Keys map[string]*Key `json:"keys"` }
func (*Stymie) Decrypt ¶
-----------------------------------------------------------
Stymie methods
-----------------------------------------------------------
func (*Stymie) GetFileContents ¶
func (*Stymie) PutFileContents ¶
func (c *Stymie) PutFileContents()
Click to show internal directories.
Click to hide internal directories.