Closed
Bug 82227
Opened 25 years ago
Closed 25 years ago
Signed scripts use new PSM interfaces.
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: ddrinan0264, Assigned: ddrinan0264)
Details
Attachments
(1 file)
|
10.04 KB,
patch
|
Details | Diff | Splinter Review |
Change the mozilla signed scripts components to use the new PSM interfaces e.g.
nsIX509Cert etc.
Patch to follow soon.
Comment 1•25 years ago
|
||
This should be in 0.9.1 so that users of the beta will be able to use signed
scripts.
Target Milestone: --- → mozilla0.9.1
| Assignee | ||
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
r=mstoltz. David, can you check this in? I'll help you get approval.
| Assignee | ||
Comment 4•25 years ago
|
||
Adding blizzard to cc-list.
Chris,
Please sr this bug.
Thanks!
Comment 5•25 years ago
|
||
+ //-- Create a certificate principal with id and organization data
+ PRUnichar* fingerprint;
+ rv2 = pCert->GetSha1Fingerprint(&fingerprint);
+ nsCAutoString fingerprintStr;
+ fingerprintStr.AssignWithConversion(fingerprint);
+ PR_FREEIF(fingerprint);
Are you sure that the fingerprint can always be represented as a C string? You
could have some data lossage here.
Other than that sr=blizzard
Comment 6•25 years ago
|
||
Please do not commit tabs in files:
+static void ContentCallback(void *arg,
+ const char *buf,
+ unsigned long len)
+{
+}
+
+static PK11SymKey * GetDecryptKeyCallback(void *arg,
+ SECAlgorithmID *algid)
+{
+ return nsnull;
+}
+
etc.
/be
| Assignee | ||
Comment 7•25 years ago
|
||
Fixed checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 8•25 years ago
|
||
I checked with javi and confirmed that we're not losing any data by converting
the fingerprint back to a one-byte string. The fingerprint is a hex string like
"38:A3:b6:93" and so on; no two-byte characters.
Comment 9•25 years ago
|
||
I believe Mac is broke on this change (although bonsai
doesn't show it going into that build)
nsJar.cpp uses these hash interfaces, and now is passing
PRUint32s instead of the new HashContext stuff.
Comment 10•25 years ago
|
||
Crap, I can't believe that I missed those tabs.
| Assignee | ||
Comment 11•25 years ago
|
||
I forgot to commit one file during checkin. It's checked in now.
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•