Minor logging corrections
This commit is contained in:
parent
f599bea216
commit
5cf9eedf42
3 changed files with 9 additions and 5 deletions
5
utils.go
5
utils.go
|
@ -118,7 +118,10 @@ func decode(
|
|||
pubKey *key.MachinePublic,
|
||||
privKey *key.MachinePrivate,
|
||||
) error {
|
||||
log.Trace().Int("length", len(msg)).Msg("Trying to decrypt")
|
||||
log.Trace().
|
||||
Str("pubkey", pubKey.ShortString()).
|
||||
Int("length", len(msg)).
|
||||
Msg("Trying to decrypt")
|
||||
|
||||
decrypted, ok := privKey.OpenFrom(*pubKey, msg)
|
||||
if !ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue