mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 02:42:57 +02:00
internal/aead : replace miscreant with xchacha20poly1305
This commit is contained in:
parent
d24516f6e4
commit
72922b8ee8
9 changed files with 64 additions and 63 deletions
|
@ -149,7 +149,7 @@ func NewAuthenticator(opts *Options, optionFuncs ...func(*Authenticator) error)
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
cipher, err := aead.NewMiscreantCipher([]byte(decodedAuthCodeSecret))
|
||||
cipher, err := aead.New([]byte(decodedAuthCodeSecret))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue