diff --git a/wrappers/transit/transit.go b/wrappers/transit/transit.go index 05f61f04..d163b787 100644 --- a/wrappers/transit/transit.go +++ b/wrappers/transit/transit.go @@ -49,9 +49,9 @@ func (s *Wrapper) SetConfig(_ context.Context, opt ...wrapping.Option) (*wrappin s.client = client s.keyIdPrefix = opts.withKeyIdPrefix - /*if client.mountPath == "transit-1" { + if client.mountPath == "transit-1" { return nil, errors.New("transit-1 unavailable") - }*/ + } // Send a value to test the wrapper and to set the current key id if _, err := s.Encrypt(context.Background(), []byte("a")); err != nil { client.Close()