Skip to content

Commit

Permalink
Merge pull request #261 from chainifynet/feature/crypto-refactor
Browse files Browse the repository at this point in the history
Client, Crypto, Serialization refactoring
  • Loading branch information
wobondar authored Feb 29, 2024
2 parents 531129d + 1a266e3 commit 0821817
Show file tree
Hide file tree
Showing 55 changed files with 8,480 additions and 405 deletions.
25 changes: 25 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,43 @@ packages:
CryptoMaterialsManager:
DecryptionMaterial:
EncryptionMaterial:
EncryptionBuffer:
Wrapper:
DecryptionHandler:
config:
mockname: "MockDecrypter"
filename: "Decrypter_mock.go"
EncryptionHandler:
config:
mockname: "MockEncrypter"
filename: "Encrypter_mock.go"
github.com/chainifynet/aws-encryption-sdk-go/pkg/model/format:
config:
tags: "mocks"
interfaces:
MessageAAD:
MessageEDK:
MessageHeader:
MessageHeaderAuth:
MessageBody:
BodyFrame:
MessageFooter:
Deserializer:
Serializer:
github.com/chainifynet/aws-encryption-sdk-go/pkg/utils/encryption:
interfaces:
GcmBase:
config:
mockname: "MockEncrypter"
filename: "Encrypter_mock.go"
AEADDecrypter:
AEADEncrypter:
github.com/chainifynet/aws-encryption-sdk-go/pkg/utils/rand:
interfaces:
RandomGenerator:
github.com/chainifynet/aws-encryption-sdk-go/pkg/internal/crypto/signature:
config:
dir: mocks/{{ replaceAll .PackagePath "internal" "internal_" }}
interfaces:
Verifier:
Signer:
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deps:
@echo "Installing dependencies"
@go mod download -x all
@go install gotest.tools/gotestsum@latest
@go install github.com/golangci/golangci-lint/cmd/[email protected].1
@go install github.com/golangci/golangci-lint/cmd/[email protected].2
@go install github.com/vektra/mockery/[email protected]
@#go get github.com/stretchr/testify/[email protected]

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0821817

Please sign in to comment.