mirror of https://gerrit.hackerspace.pl/hscloud
187c4bb60a
We seem to be hitting a bug where the encryptor doesn't initialize because of a lacking gpg binary, and then crashes on .Close(). This should fix the issue, but is untested. goroutine 70 [running]: code.hackerspace.pl/hscloud/bgpwtf/cccampix/pgpencryptor/gpg.(*CLIEncryptor).Close(0x0) bgpwtf/cccampix/pgpencryptor/gpg/gpg.go:144 +0x22 main.(*service).Encrypt(0xc000345e00, 0x16d13a0, 0xc00047f260, 0x1688400, 0xc00003d4a0) bgpwtf/cccampix/pgpencryptor/main.go:132 +0x6f9 code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto._PGPEncryptor_Encrypt_Handler(0x133bf00, 0xc000345e00, 0x16c6300, 0xc0000d6000, 0x2247b78, 0xc0001f8000) bazel-out/k8-fastbuild/bin/bgpwtf/cccampix/proto/linux_amd64_stripped/ix_go_proto%/code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto/ix.pb.go:1816 +0xad google.golang.org/grpc.(*Server).processStreamingRPC(0xc000160c00, 0x16d6ce0, 0xc000161500, 0xc0001f8000, 0xc0004244e0, 0x21b00e0, 0xc0000c6ff0, 0x0, 0x0) external/org_golang_google_grpc/server.go:1175 +0xacd google.golang.org/grpc.(*Server).handleStream(0xc000160c00, 0x16d6ce0, 0xc000161500, 0xc0001f8000, 0xc0000c6ff0) external/org_golang_google_grpc/server.go:1254 +0xcbe google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000404770, 0xc000160c00, 0x16d6ce0, 0xc000161500, 0xc0001f8000) external/org_golang_google_grpc/server.go:690 +0x9f created by google.golang.org/grpc.(*Server).serveStreams.func1 external/org_golang_google_grpc/server.go:688 +0xa1 created by google.golang.org/grpc.(*Server).serveStreams.func1 external/org_golang_google_grpc/server.go:688 +0xa1 Change-Id: Idd167a120e157005f44d255a61ef13dc80e8eeed |
||
---|---|---|
.. | ||
frontend | ||
irr | ||
kube | ||
octorpki | ||
peeringdb | ||
pgpencryptor | ||
proto | ||
verifier | ||
BUILD | ||
ripe-sync.py |