Documentation
¶
Overview ¶
bitwarden implements an API client for bitwarden
References:
https://github.com/jcs/rubywarden/blob/master/API.md https://github.com/mvdan/bitw/blob/master/auth.go https://github.com/philhug/bitwarden-client-go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMacError = fmt.Errorf("MAC error")
)
Functions ¶
func HashedPassword ¶
func MakeInternalKey ¶
Types ¶
type Client ¶
func (*Client) Login ¶
Login returns a token for a session, or a challenge for two-factor authentication
type CryptoKey ¶
type Encrypted ¶
type Encrypted struct { Type uint `json:"type"` // Cypher type Value string `json:"value"` // Encrypted value in base64 Iv string `json:"iv,omitempty"` // Initialization Vector in base64 (for decryption) Mac string `json:"mac,omitempty"` // Message Authentication Hash (HMAC) in base64 }
func MakeEncKey ¶
Click to show internal directories.
Click to hide internal directories.