Update Login to gopenpgpv3, Simplify login.

This commit is contained in:
Samuel Lorch 2025-03-14 14:07:01 +01:00
parent cca7de6c07
commit 8d6a423d9c
2 changed files with 9 additions and 29 deletions

View file

@ -24,10 +24,10 @@ type Client struct {
csrfToken http.Cookie
mfaToken http.Cookie
// for some reason []byte is used for Passwords in gopenpgp instead of string like they do for keys...
// userPublicKey has been removed since it can be gotten from the private userPrivateKey
userPassword []byte
userPrivateKey string
userPublicKey string
userID string
// Server Settings Determining which Resource Types we can use