Versions in this module Expand all Collapse all v1 v1.0.0 May 24, 2019 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 + 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