Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/backend/internal/model/db_cipher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
encryptConfigValue,
isSealedCiphertext,
resolveDbCipher,
type DbCipher,
} from "../../pkg/crypto"
import { readCipher } from "./store/backend"
import { memoryDriver } from "./store/driver/memory"
Expand Down Expand Up @@ -176,7 +177,7 @@ test("解密由前缀驱动:任意写入算法都能解开全部版本的密
"v2-secret",
await deriveConfigEncryptionKey(SECRET),
))
const producers: Array<[string, string]> = [
const producers: Array<[DbCipher, string]> = [
["aes-256-cbc-hmac", "v3-secret"],
["chacha20-poly1305", "v4-secret"],
["des-cbc-hmac", "v5-secret"],
Expand Down
Loading