Documentation ¶
Index ¶
Constants ¶
View Source
const (
BitwardenItemTypePassword = iota + 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitwardenFile ¶
type BitwardenFile struct { Folders []BitwardenFolder `json:"folders,omitempty"` Items []BitwardenItem `json:"items"` }
func BitwardenFileFromNorton ¶
func BitwardenFileFromNorton(entries []NortonEntry) (BitwardenFile, error)
type BitwardenFolder ¶
type BitwardenItem ¶
type BitwardenItem struct { Type BitwardenItemType `json:"type"` PasswordHistory []PasswordHistoryEntry `json:"password_history,omitempty"` RevisionDate *time.Time `json:"revisionDate,omitempty"` CreationDate *time.Time `json:"creationDate,omitempty"` Name string `json:"name"` Notes string `json:"notes"` Login BitwardenLogin `json:"login"` FolderID string `json:"folderId,omitempty"` }
type BitwardenItemType ¶
type BitwardenItemType uint8
type BitwardenLogin ¶
type BitwardenLogin struct { URIs []BitwardenLoginURI `json:"uris,omitempty"` Username string `json:"username"` Password string `json:"password"` }
type BitwardenLoginURI ¶
type NortonEntry ¶
type NortonEntry struct { ItemType string `csv:"Item Type"` Username string `csv:"User Name"` Password string `csv:"Password"` Title string `csv:"Site Name"` URL string `csv:"Login URL"` Notes string `csv:"Notes"` Secure bool `csv:"Secure"` Favorite bool `csv:"Favorite"` }
func DecodeNortonExport ¶
func DecodeNortonExport(filename string) ([]NortonEntry, error)
type PasswordHistoryEntry ¶
Click to show internal directories.
Click to hide internal directories.