Seal cryptographic microservice, a secure cryptographic software to sign things.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
adrien 8405665d8b
Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it
3 months ago
cmd Add Buf related stuff, Makefile and basic Go files 4 months ago
proto Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it 3 months ago
server Add Buf related stuff, Makefile and basic Go files 4 months ago
.gitignore Add Buf related stuff, Makefile and basic Go files 4 months ago
LICENSE Initialize Go module, add README and LICENSE files 4 months ago
Makefile Add Buf related stuff, Makefile and basic Go files 4 months ago
README.md Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it 3 months ago
buf.gen.yaml Add Buf related stuff, Makefile and basic Go files 4 months ago
buf.work.yaml Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it 3 months ago
go.mod Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it 3 months ago
go.sum Update the way to install buf and protoc-gen-* binaries, change the validate.proto file path and configure the linter to ignore it 3 months ago

README.md

seal-crypto

Seal cryptographic microservice, a secure cryptographic software to sign things.

Set things up

I assume that you are using an Arch Linux distribution or derivative.

Install Golang

yay -S go

Get version.

go version

The following information is returned.

go version go1.20.1 linux/amd64

Protocol Buffers

Compiler

yay -S protobuf

Get version.

protoc --version

The following information is returned.

libprotoc 3.21.12

Go plugins for the protocol compiler

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Get version.

protoc-gen-go --version

The following information is returned.

protoc-gen-go v1.28.1

Get version.

protoc-gen-go-grpc --version

The following information is returned.

protoc-gen-go-grpc 1.2.0

Buf

go install github.com/bufbuild/buf/cmd/buf@latest

Get version.

buf --version

The following information is returned.

1.14.0

protoc-gen-validate

go install github.com/envoyproxy/protoc-gen-validate@latest

Check if binary has been installed.

command -v protoc-gen-validate

The following information is returned.

/home/adrien/dev/go/bin/protoc-gen-validate
curl --create-dirs -O --output-dir proto/protoc-gen-validate/validate -sSf https://raw.githubusercontent.com/bufbuild/protoc-gen-validate/main/validate/validate.proto

protoc-gen-buf-breaking

go install github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking@latest

Check if binary has been installed.

command -v protoc-gen-buf-breaking

The following information is returned.

/home/adrien/dev/go/bin/protoc-gen-buf-breaking

protoc-gen-buf-lint

go install github.com/bufbuild/buf/cmd/protoc-gen-buf-lint@latest

Check if binary has been installed.

command -v protoc-gen-buf-lint

The following information is returned.

/home/adrien/dev/go/bin/protoc-gen-buf-lint

gRPC CLI client

go install github.com/vadimi/grpc-client-cli/cmd/grpc-client-cli@latest

Get version.

grpc-client-cli --version

The following information is returned.

grpc-client-cli version 1.16.0