Versions in this module Expand all Collapse all v0 v0.1.0 Jan 11, 2021 v0.0.1 Jan 11, 2021 Changes in this version + func CheckScrambledPassword(salt, hpwd, auth []byte) bool + func DecodePassword(pwd string) ([]byte, error) + func EncodePassword(pwd string) string + func Sha1Hash(bs []byte) []byte + type RoleIdentity struct + Hostname string + Username string + func (role *RoleIdentity) Restore(ctx *format.RestoreCtx) error + func (role *RoleIdentity) String() string + type UserIdentity struct + AuthHostname string + AuthUsername string + CurrentUser bool + Hostname string + Username string + func (user *UserIdentity) AuthIdentityString() string + func (user *UserIdentity) Restore(ctx *format.RestoreCtx) error + func (user *UserIdentity) String() string