mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 09:48:20 +00:00
correct comment
This commit is contained in:
parent
1fbe48be83
commit
1de6f6a815
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ func (c *Client) EncryptMessageWithPublicKey(publickey, message string) (string,
|
|||
return helper.EncryptSignMessageArmored(publickey, c.userPrivateKey, c.userPassword, message)
|
||||
}
|
||||
|
||||
// DecryptMessage decrypts a message using the users Private Key and Validates its Signature using the users public key
|
||||
// DecryptMessage decrypts a message using the users Private Key
|
||||
func (c *Client) DecryptMessage(message string) (string, error) {
|
||||
// We cant Verify the signature as we don't store other users public keys locally and don't know which user did encrypt it
|
||||
//return helper.DecryptVerifyMessageArmored(c.userPublicKey, c.userPrivateKey, c.userPassword, message)
|
||||
|
|
Loading…
Add table
Reference in a new issue