From: SourceForge.net <no...@so...> - 2007-05-30 21:39:09
|
Bugs item #1728610, was opened at 2007-05-30 14:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1728610&group_id=20937 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Check result of can_sign() for public keys Initial Comment: In the case of calling can_sign() applied to a PUBLIC key: publicKey.can_sign() its result is True, even though signatures can be performed by private key only. I've noticed this behaviour for DSA and qNEW algorithms. However, if I try to sign a message using sign() and the PUBLIC key, the expected error message is issued. So sign() function seems to be fine. Mail: mga...@ya... Thank you ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1728610&group_id=20937 |