commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #8338] Signature: Impossible to re-use key


From: Michael Koch
Subject: [bugs #8338] Signature: Impossible to re-use key
Date: Sat, 08 May 2004 02:23:44 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; de, address@hidden) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: classpath.

/**************************************************************************/
[bugs #8338] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Sat 05/08/04 at 06:06 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS.

2004-05-08  Casey Marshall  <address@hidden>

        * java/security/Signature.java
        (sign): Don't set state to UNINITIALIZED.
        (verify): Likewise.






/**************************************************************************/
[bugs #8338] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8338>
Project: classpath
Submitted by: Michael Kaufmann
On: Sat 03/27/04 at 22:16

Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Closed
Platform Version:  None


Summary:  Signature: Impossible to re-use key

Original Submission:  According to the Java API documentation, it's only 
necessary to call Signature.initVerify(...) or Signature.initSign(...) once. So 
the following command sequence is allowed:

Signature.initVerify(...);
Signature.update(...);
Signature.verify(...);
Signature.update(...);  <-- SignatureException is thrown
Signature.verify(...);

Classpath's implementations of verify(...) and sign(...) reset the key, but 
they should keep it for reuse.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 05/08/04 at 06:06         By: mkoch
Fixed in CVS.

2004-05-08  Casey Marshall  <address@hidden>

        * java/security/Signature.java
        (sign): Don't set state to UNINITIALIZED.
        (verify): Likewise.

-------------------------------------------------------
Date: Fri 05/07/04 at 23:59         By: rsdio
Proposed fix as patch #3035












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8338>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]