Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
speatzle committed Sep 2, 2021
1 parent 1fbe48b commit 1de6f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/encryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1de6f6a

Please sign in to comment.