~whereswaldon/arbor-dev#64: 
GPG message signing error

When I try to send a new message, it fails to send because GPG can't sign it. The log output is:

2019/11/14 20:23:47 main.go:403: Error creating reply: Error running gpg: exit status 2

Test output:

=== RUN   TestCommunityNewline
--- PASS: TestCommunityNewline (0.16s)
=== RUN   TestCommunityValidatesSelf
--- PASS: TestCommunityValidatesSelf (0.15s)
=== RUN   TestCommunityValidationFailsWhenTampered
--- PASS: TestCommunityValidationFailsWhenTampered (0.15s)
=== RUN   TestCommunitySerialize
--- PASS: TestCommunitySerialize (0.15s)
=== RUN   TestIdentityNewline
--- PASS: TestIdentityNewline (0.13s)
=== RUN   TestIdentityValidatesSelf
--- PASS: TestIdentityValidatesSelf (0.14s)
=== RUN   TestIdentityValidationFailsWhenTampered
--- PASS: TestIdentityValidationFailsWhenTampered (0.14s)
=== RUN   TestIdentitySerialize
--- PASS: TestIdentitySerialize (0.14s)
=== RUN   TestUnmarshalNode
--- PASS: TestUnmarshalNode (0.15s)
=== RUN   TestNewReply
--- PASS: TestNewReply (0.15s)
=== RUN   TestNewReplyToReply
--- PASS: TestNewReplyToReply (0.29s)
=== RUN   TestReplyValidatesSelf
--- PASS: TestReplyValidatesSelf (0.16s)
=== RUN   TestReplyValidationFailsWhenTampered
--- PASS: TestReplyValidationFailsWhenTampered (0.15s)
=== RUN   TestReplySerializes
--- PASS: TestReplySerializes (0.15s)
=== RUN   TestReplyToReplyValidates
--- PASS: TestReplyToReplyValidates (0.27s)
=== RUN   TestReplyToReplyFailsWhenTampered
--- PASS: TestReplyToReplyFailsWhenTampered (0.26s)
=== RUN   TestReplyToReplySerializes
--- PASS: TestReplyToReplySerializes (0.26s)
=== RUN   TestNewArborSerializerSymmetry
--- PASS: TestNewArborSerializerSymmetry (0.26s)
=== RUN   TestGPGSigner
--- PASS: TestGPGSigner (0.62s)
=== RUN   TestGPGSignerAsIdentity
--- PASS: TestGPGSignerAsIdentity (0.52s)
=== RUN   TestMemoryStore
--- PASS: TestMemoryStore (0.26s)
=== RUN   TestCacheStore
--- PASS: TestCacheStore (0.28s)
=== RUN   TestCacheStoreDownPropagation
--- PASS: TestCacheStoreDownPropagation (0.13s)
=== RUN   TestCacheStoreUpPropagation
--- PASS: TestCacheStoreUpPropagation (0.13s)
PASS
ok  	git.sr.ht/~whereswaldon/forest-go	(cached)
?   	git.sr.ht/~whereswaldon/forest-go/cmd/forest	[no test files]
?   	git.sr.ht/~whereswaldon/forest-go/cmd/viewer	[no test files]
=== RUN   TestTimeBidirectionalConversion
--- PASS: TestTimeBidirectionalConversion (0.00s)
=== RUN   TestTextMarshalQualifiedHash
--- PASS: TestTextMarshalQualifiedHash (0.00s)
=== RUN   TestBlobContains
--- PASS: TestBlobContains (0.00s)
PASS
ok  	git.sr.ht/~whereswaldon/forest-go/fields	(cached)
=== RUN   TestCreateEmptyGrove
--- PASS: TestCreateEmptyGrove (0.00s)
=== RUN   TestCreateGroveFromNil
--- PASS: TestCreateGroveFromNil (0.00s)
=== RUN   TestGroveGet
--- PASS: TestGroveGet (0.18s)
=== RUN   TestGroveGetErrorReadingFile
--- PASS: TestGroveGetErrorReadingFile (0.16s)
=== RUN   TestGroveGetErrorUnmarshallingFile
--- PASS: TestGroveGetErrorUnmarshallingFile (0.15s)
=== RUN   TestGroveGetErrorOpeningFile
--- PASS: TestGroveGetErrorOpeningFile (0.15s)
=== RUN   TestGroveAdd
--- PASS: TestGroveAdd (0.15s)
=== RUN   TestGroveAddFailToWrite
--- PASS: TestGroveAddFailToWrite (0.15s)
=== RUN   TestGroveAddFailToCreate
--- PASS: TestGroveAddFailToCreate (0.15s)
=== RUN   TestGroveAddFailToSerialize
--- PASS: TestGroveAddFailToSerialize (0.00s)
=== RUN   TestGroveChildren
--- PASS: TestGroveChildren (0.16s)
=== RUN   TestGroveChildrenOpenRootFails
--- PASS: TestGroveChildrenOpenRootFails (0.15s)
=== RUN   TestGroveChildrenOpenNodeFails
--- PASS: TestGroveChildrenOpenNodeFails (0.15s)
=== RUN   TestGroveChildrenParseNodeFails
--- PASS: TestGroveChildrenParseNodeFails (0.16s)
=== RUN   TestGroveRecent
--- PASS: TestGroveRecent (0.17s)
=== RUN   TestGroveRecentOpenNodeFails
--- PASS: TestGroveRecentOpenNodeFails (0.15s)
PASS
ok  	git.sr.ht/~whereswaldon/forest-go/grove	(cached)
?   	git.sr.ht/~whereswaldon/forest-go/serialize	[no test files]
?   	git.sr.ht/~whereswaldon/forest-go/testkeys	[no test files]
Status
REPORTED
Submitter
~amolith
Assigned to
No-one
Submitted
10 months ago
Updated
9 months ago
Labels
bug wisteria

~whereswaldon 9 months ago

Problems like this should be easier to debug now that the stderr of gpg goes into the log for wisteria.

Register here or Log in to comment, or comment via email.