File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
15
15
"tailscale.com/types/key"
16
16
17
17
"github.com/coder/coder/v2/cli/clibase"
18
+ "github.com/coder/coder/v2/coderd/database/dbcrypt"
18
19
"github.com/coder/coder/v2/cryptorand"
19
20
"github.com/coder/coder/v2/enterprise/audit"
20
21
"github.com/coder/coder/v2/enterprise/audit/backends"
@@ -75,7 +76,7 @@ func (r *RootCmd) server() *clibase.Cmd {
75
76
if err != nil {
76
77
return nil , nil , xerrors .Errorf ("decode external-token-encryption-key: %w" , err )
77
78
}
78
- o .ExternalTokenEncryption , err = cryptorand .CipherAES256 (key )
79
+ o .ExternalTokenEncryption , err = dbcrypt .CipherAES256 (key )
79
80
if err != nil {
80
81
return nil , nil , xerrors .Errorf ("create external-token-encryption-key cipher: %w" , err )
81
82
}
You can’t perform that action at this time.
0 commit comments