Documentation ¶
Index ¶
Constants ¶
View Source
const ( Bitwarden = "bitwarden" Lastpass = "lastpass" )
View Source
const (
BitwardenProcess = "bw"
)
these 'bw***Key' consts must match directly to csv tags in BitwardenEntry for conversion purposes
View Source
const (
LastpassProcess = "lpass"
)
these 'lp***Key' consts must match directly to csv tags in LastpassEntry for conversion purposes
Variables ¶
View Source
var SupportedPlatforms = make(map[string]bool)
Functions ¶
func GetSupportedPlatforms ¶
func GetSupportedPlatforms() []string
Types ¶
type BitwardenEntry ¶
type BitwardenEntry struct { Folder string `csv:"folder"` Favorite int `csv:"favorite"` Type string `csv:"type"` Name string `csv:"name"` Notes string `csv:"notes"` Fields string `csv:"fields"` LoginURI string `csv:"login_uri"` LoginUsername string `csv:"login_username"` LoginPassword string `csv:"login_password"` LoginTOTPSeed string `csv:"login_totp"` }
type BitwardenExport ¶
type BitwardenExport struct { Timestamp time.Time Entries []BitwardenEntry }
type KeepassExport ¶
type KeepassExport struct { Platform string Timestamp time.Time ShaHash string KeepassGroup gokeepasslib.Group }
func ConvertCSV ¶
func ConvertCSV(platform string, filepath string) (*KeepassExport, error)
type LastpassEntry ¶
type LastpassExport ¶
type LastpassExport struct { Timestamp time.Time Entries []LastpassEntry }
Click to show internal directories.
Click to hide internal directories.