From 5b0006954f6c3fb156665bb932be58b66930ad49 Mon Sep 17 00:00:00 2001 From: mishasizov-SK <109598497+mishasizov-SK@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:41:09 +0300 Subject: [PATCH] feat: change SignerInitializerOptions KMS type (#3622) Signed-off-by: Mykhailo Sizov --- component/models/dataintegrity/suite/ecdsa2019/ecdsa2019.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/component/models/dataintegrity/suite/ecdsa2019/ecdsa2019.go b/component/models/dataintegrity/suite/ecdsa2019/ecdsa2019.go index 614a13b23..2ffadd6d9 100644 --- a/component/models/dataintegrity/suite/ecdsa2019/ecdsa2019.go +++ b/component/models/dataintegrity/suite/ecdsa2019/ecdsa2019.go @@ -19,8 +19,6 @@ import ( "github.com/multiformats/go-multibase" "github.com/piprate/json-gold/ld" - kmsapi "github.com/hyperledger/aries-framework-go/spi/kms" - "github.com/hyperledger/aries-framework-go/component/kmscrypto/doc/jose/jwk" "github.com/hyperledger/aries-framework-go/component/kmscrypto/kms/localkms" "github.com/hyperledger/aries-framework-go/component/models/dataintegrity/models" @@ -106,7 +104,7 @@ func (i initializer) Type() string { type SignerInitializerOptions struct { LDDocumentLoader ld.DocumentLoader Signer Signer - KMS kmsapi.KeyManager + KMS models.KeyManager } // NewSignerInitializer returns a suite.SignerInitializer that initializes an ecdsa-2019