mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
Always Copy User Private Key to prevent it getting wiped
This commit is contained in:
parent
118dd9624b
commit
3376e521b9
2 changed files with 19 additions and 3 deletions
|
@ -26,6 +26,7 @@ type Client struct {
|
|||
|
||||
// userPublicKey has been removed since it can be gotten from the private userPrivateKey
|
||||
|
||||
// be sure to make a copy since using ClearPrivateParams on a handler also wipes the key...
|
||||
userPrivateKey *crypto.Key
|
||||
userID string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue