Discover Packages
github.com/autobrr/upbrr
internal
authmaterial
authfixture
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Aug 15, 2026
License: GPL-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package authfixture writes web-auth material for tests that exercise
encrypted persistence without exercising password hashing.
Write creates usable persisted auth material without running Argon2.
The password hash is intentionally synthetic and cannot authenticate a
login. Tests of password hashing or login verification must use the real
authmaterial APIs.
type Options struct {
Username string
EncryptionKeySeed string
AllowUnencryptedExport bool
}
Options customizes the non-password fields used by Write.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.