[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug crypto/28204] New: PBEKeySpec incorrectly deletes the originally pa
From: |
mwringe at redhat dot com |
Subject: |
[Bug crypto/28204] New: PBEKeySpec incorrectly deletes the originally passed password array |
Date: |
29 Jun 2006 21:10:33 -0000 |
Within javax.crypto.spec.PBEKeySpec, the password attribute references the
passed password array. As such, when the clear password method is called in
PBEKeySpec, the original password array is also cleared.
For Example:
char[] password = "foobar".toCharArray();
PBEKeySpec keySpec = new PBEKeySpec(password);
keySpec.clearPassword();
System.out.println (password);
The char array printed will be empty, when it should still contain 'foobar'.
--
Summary: PBEKeySpec incorrectly deletes the originally passed
password array
Product: classpath
Version: 0.92
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: crypto
AssignedTo: csm at gnu dot org
ReportedBy: mwringe at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28204
- [Bug crypto/28204] New: PBEKeySpec incorrectly deletes the originally passed password array,
mwringe at redhat dot com <=
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, mwringe at redhat dot com, 2006/06/29
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, mwringe at redhat dot com, 2006/06/29
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, csm at gnu dot org, 2006/06/29
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, raif at swiftdsl dot com dot au, 2006/06/30
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, mwringe at redhat dot com, 2006/06/30
- [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array, raif at swiftdsl dot com dot au, 2006/06/30