From 555c534b7bcfbb98357b42fec24cd8356e964d1a Mon Sep 17 00:00:00 2001 From: Artem Skriabin Date: Wed, 11 Sep 2024 18:50:50 +0300 Subject: [PATCH] Add passport root verifier --- internal/config/verifier.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/config/verifier.go b/internal/config/verifier.go index 5a3dc1e..8f23d5b 100644 --- a/internal/config/verifier.go +++ b/internal/config/verifier.go @@ -33,6 +33,7 @@ func (c *config) Verifier() *zk.Verifier { v, err := zk.NewVerifier(nil, zk.WithVerificationKeyFile(cfg.VerificationKeyPath), zk.WithAgeAbove(cfg.AllowedAge), + zk.WithPassportRootVerifier(c.ProvideVerifier()), zk.WithProofType(zk.GlobalPassport), zk.WithProofSelectorValue(proofSelectorValue), zk.WithEventID(proofEventIDValue),