fix command gentestdata for testing upgrades

not working since tlspubkey auth
This commit is contained in:
Mechiel Lukkien 2025-01-13 23:22:14 +01:00
parent dd92ed5117
commit b85401a83d
No known key found for this signature in database

View file

@ -190,7 +190,7 @@ Accounts:
// Populate auth.db
err = store.Init(ctxbg)
xcheckf(err, "store init")
err = store.TLSPublicKeyAdd(ctxbg, &store.TLSPublicKey{Fingerprint: "...", Type: "ecdsa-p256", CertDER: []byte("..."), Account: "test0", LoginAddress: "test0@mox.example"})
err = store.TLSPublicKeyAdd(ctxbg, &store.TLSPublicKey{Name: "testkey", Fingerprint: "...", Type: "ecdsa-p256", CertDER: []byte("..."), Account: "test0", LoginAddress: "test0@mox.example"})
xcheckf(err, "adding tlspubkey")
// Populate dmarc.db.