github.com/hyperledger/aries-framework-go@v0.3.2/pkg/secretlock/noop/noop.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  SPDX-License-Identifier: Apache-2.0
     4  */
     5  
     6  // Package noop provides a noop secret lock service. This allows for quick testing of key storage using the KMS. Keys
     7  // stored with noop are unprotected. Therefore, this implementation is be used for testing purposes only.
     8  // Production code must always use pkg/secretlock/local implementation. In order to minimize the impact on existing
     9  // clients, noop is the default implementation in the framework. Therefore, the use of a context.WithSecretLock() option
    10  // with a secretlock/local implementation is highly recommended to secure key storage in the KMS.
    11  package noop
    12  
    13  import (
    14  	"github.com/hyperledger/aries-framework-go/component/kmscrypto/secretlock/noop"
    15  )
    16  
    17  // NoLock is a secret lock service that does no key wrapping (keys are not encrypted).
    18  type NoLock = noop.NoLock