forked from Silverfish/proton-bridge
Other: Fix wrong encoding used for public key during sending
The newer liteapi contact code saves keys as *crypto.Key, however the legacy code expects them to be strings. There was a bug in connecting the new code to the legacy code: it was assumed these strings were meant to be a base64 encoded string but they were actually just raw string bytes.
This commit is contained in:
2
go.mod
2
go.mod
@ -39,7 +39,7 @@ require (
|
||||
github.com/stretchr/testify v1.8.0
|
||||
github.com/urfave/cli/v2 v2.20.3
|
||||
github.com/vmihailenco/msgpack/v5 v5.3.5
|
||||
gitlab.protontech.ch/go/liteapi v0.37.1
|
||||
gitlab.protontech.ch/go/liteapi v0.37.2
|
||||
go.uber.org/goleak v1.2.0
|
||||
golang.org/x/exp v0.0.0-20221023144134-a1e5550cf13e
|
||||
golang.org/x/net v0.1.0
|
||||
|
||||
Reference in New Issue
Block a user