Skip to content

Commit

Permalink
fixing issue with private key parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
shibme committed Jan 22, 2024
1 parent f97aa17 commit 273b725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func ParsePrivateKey(key []byte) (*PrivateKey, error) {
}
return &PrivateKey{
keyType: keyTypeEccDirect,
key: key,
key: key[1:],
}, nil
}

Expand Down

0 comments on commit 273b725

Please sign in to comment.