From b85401a83dfaaa00f211d314456f2923790e623b Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Mon, 13 Jan 2025 23:22:14 +0100 Subject: [PATCH] fix command gentestdata for testing upgrades not working since tlspubkey auth --- gentestdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentestdata.go b/gentestdata.go index 544c038..47ad4c7 100644 --- a/gentestdata.go +++ b/gentestdata.go @@ -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.