291 Commits

Author SHA1 Message Date
thayes%netscape.com
216910f39a Add tests for Secret Decoder Ring (SDR)
git-svn-id: svn://10.0.0.236/trunk@73136 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:06:26 +00:00
thayes%netscape.com
a2172d1094 Add SDR test command
git-svn-id: svn://10.0.0.236/trunk@73100 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:25:22 +00:00
javi%netscape.com
fc49242917 Move some localizable strings from psm_ui.properties.in to psm_text.properties.in
git-svn-id: svn://10.0.0.236/trunk@73096 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:54:32 +00:00
chrisk%netscape.com
04c4ea3f80 Added and corrected some comments
Added $layercounter
Clarified $boundary generation (a boundary has leading AND trailing CRLFs!)


git-svn-id: svn://10.0.0.236/trunk@73081 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:37:33 +00:00
chrisk%netscape.com
2b65c3df83 Preliminary checkin at a state where smime can parse messages generated
by itself.


git-svn-id: svn://10.0.0.236/trunk@73076 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 16:40:31 +00:00
ddrinan%netscape.com
02fa74a0b6 Changed version to 1.2
git-svn-id: svn://10.0.0.236/trunk@72966 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:21:16 +00:00
javi%netscape.com
0d6134438a Update SSMVersionString value.
git-svn-id: svn://10.0.0.236/trunk@72947 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 21:05:42 +00:00
cotter%netscape.com
aa6d326b2b Minor correction to View Certificate Details section.
git-svn-id: svn://10.0.0.236/trunk@72945 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 20:36:11 +00:00
javi%netscape.com
9d491e66f5 We need ssm_swap_bytes defined regardless of whether we're building on a
little endian machine.


git-svn-id: svn://10.0.0.236/trunk@72938 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 17:36:34 +00:00
javi%netscape.com
cf33ce111f Fix unicode conversion for win32 so that p12 export/import works again.
git-svn-id: svn://10.0.0.236/trunk@72864 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:28:03 +00:00
ddrinan%netscape.com
112cd9a345 Add new attribute id to socket status resource. Bug #39680
git-svn-id: svn://10.0.0.236/trunk@72840 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:31:28 +00:00
ddrinan%netscape.com
447ae6670e Checked in fix for bug# 39680
git-svn-id: svn://10.0.0.236/trunk@72839 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:26:53 +00:00
ddrinan%netscape.com
0d3c2e325b Some bug fixes
git-svn-id: svn://10.0.0.236/trunk@72806 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:52:33 +00:00
ddrinan%netscape.com
739d6e076c Must convert unicode to/from NBO/HBO on little endian systems
git-svn-id: svn://10.0.0.236/trunk@72802 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:43:30 +00:00
chrisk%netscape.com
ad3c068fdf Added some comments and asserts
git-svn-id: svn://10.0.0.236/trunk@72781 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:12:02 +00:00
chrisk%netscape.com
ac3e94b5b9 Oops - fixed the fix. The prototype now correctly unpacks into a
DHPublicKey structure.


git-svn-id: svn://10.0.0.236/trunk@72688 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:04:38 +00:00
javi%netscape.com
5efdef3fe4 Don't block forever waiting for socket status to get created. Mozilla
may call that function after the connection is gone in which case the
socket status will not exist.


git-svn-id: svn://10.0.0.236/trunk@72683 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:39:24 +00:00
chrisk%netscape.com
f773ad5402 Fix OID for DC AVAs - the root OID in RFC2247 is not different from
the root OID in RFC1274 - so the one we had was WRONG.
I don't know where it came from.


git-svn-id: svn://10.0.0.236/trunk@72664 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:31:31 +00:00
chrisk%netscape.com
0cffe12987 Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference
git-svn-id: svn://10.0.0.236/trunk@72663 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:28:59 +00:00
chrisk%netscape.com
6d6ec2de90 First feeble attempt at fixing the problem that our definition of
Diffie-Hellman key parameters does not encompass all the optional
fields defined in RFC2459, section 7.3.2 (namely j and validationParams).

I added comments reminding us of the fact that PQGParams need to be
extended to hold these, and fixed the ASN1 prototype from its previous
totally broken status to one that decodes prime, subPrime and base
correctly, and skips the rest.

This avoids failure in public key extraction (which is part of verification)
with DH certs.


git-svn-id: svn://10.0.0.236/trunk@72662 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:22:36 +00:00
chrisk%netscape.com
7ff55a4d25 Fix problem where DH certs were always rejected when verifying them
for EMail encryption.
A Diffie-Hellman key needs to be tested for KU_KEY_AGREEMENT, not
KU_KEY_ENCIPHERMENT.


git-svn-id: svn://10.0.0.236/trunk@72661 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:15:32 +00:00
chrisk%netscape.com
4be6618598 Fixed bug in sequence printing code: array counter was overshooting by one
git-svn-id: svn://10.0.0.236/trunk@72660 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:35:17 +00:00
chrisk%netscape.com
6db98da95b Fix bug in decoder:
When encoding indefinitely & encountering an optional field at the end of
a sequence, right after an IMPLICIT or POINTER template, the decoder
was not propagating the optionalness and the end-of-contents condition
correctly as it hits the end-of-contents octets instead of the optional
field. This is because IMPLICIT and POINTER push TWO states to look
for the next tag, not just one.
(The first state is "afterImplicit" or "afterPointer", the second one
starts with "beforeIdentifier" as usual).
This finally makes decoding envelopedData messages in cmsutil work.


git-svn-id: svn://10.0.0.236/trunk@72653 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:24:01 +00:00
ddrinan%netscape.com
ccd88a0b63 We need libnlslocale for unix
git-svn-id: svn://10.0.0.236/trunk@72603 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:43:46 +00:00
cotter%netscape.com
350b750de0 Added first draft of PSM 1.2 release notes.
git-svn-id: svn://10.0.0.236/trunk@72570 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:58:25 +00:00
javi%netscape.com
c373a57c35 Whomping SECURITY_CLIENT_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@72558 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:05:49 +00:00
javi%netscape.com
f18fafc08d Whomping SECURITY_CLIENT_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@72553 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:58:15 +00:00
thayes%netscape.com
3ee6c658db Fix double free of item value that is in an arena.
git-svn-id: svn://10.0.0.236/trunk@72457 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:26:16 +00:00
javi%netscape.com
eb6f4713ac Watch out for the case where the user hits Cancel. Don't wanna dead-lock
waiting for a message that will never show up.


git-svn-id: svn://10.0.0.236/trunk@72455 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:22:39 +00:00
javi%netscape.com
c08e4aac4b Work around for Mozilla. If we're told to wait for a resource to shut down
that isn't a keygen context, sleep for a second so that the user actually
sees the dialog instead of a window that mysteriously appears and disappears
without ever showing them anything.


git-svn-id: svn://10.0.0.236/trunk@72448 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:45:48 +00:00
ddrinan%netscape.com
b1899dd084 Include nslocale component
git-svn-id: svn://10.0.0.236/trunk@72447 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:40:13 +00:00
beard%netscape.com
6aa82d3011 bug 19119: export file for PSM[Debug].shlb.
git-svn-id: svn://10.0.0.236/trunk@72443 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:25:43 +00:00
beard%netscape.com
0f612d18b0 bug 19119, changes for XP_MAC to allow client to synchronize with server thread. a=ddrinan, r=gordon
git-svn-id: svn://10.0.0.236/trunk@72440 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:21:16 +00:00
beard%netscape.com
1a34e48c9c (not part of build) added nlslayer.cpp.
git-svn-id: svn://10.0.0.236/trunk@72438 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:18:38 +00:00
javi%netscape.com
03d6fd60c6 Some tweaks to key gen context and oldfunc.c so that Mozilla can more
easily handle the KEYGEN tag.


git-svn-id: svn://10.0.0.236/trunk@72431 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:08:16 +00:00
javi%netscape.com
93c008cfd0 Make some API changes so that the Mozilla client can more easily handle
the KEYGEN tag.


git-svn-id: svn://10.0.0.236/trunk@72429 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:05:18 +00:00
beard%netscape.com
cf240ee6c4 bug #19119: Added call to initialize Mac toolbox. (not part of build)
git-svn-id: svn://10.0.0.236/trunk@72407 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:12:27 +00:00
javi%netscape.com
ce876e1ffb Add some attributes to query URL's for setting the password and for
choosing which token to use when processing a KEYGEN tag.x


git-svn-id: svn://10.0.0.236/trunk@72404 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 20:48:25 +00:00
ddrinan%netscape.com
5dceecbad0 Fixed build bustage for linux
git-svn-id: svn://10.0.0.236/trunk@72397 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 17:17:49 +00:00
cotter%netscape.com
864c4204ea Updated OSCP help.
git-svn-id: svn://10.0.0.236/trunk@72343 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 05:45:58 +00:00
ddrinan%netscape.com
badc3f1ac6 Fix for bug# 34384
git-svn-id: svn://10.0.0.236/trunk@72339 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:47:18 +00:00
mcgreer%netscape.com
84112f1bce attempt to add token support for listing certs & keys
git-svn-id: svn://10.0.0.236/trunk@72332 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:38:44 +00:00
mcgreer%netscape.com
92d86935db more cleanup on cert listing
git-svn-id: svn://10.0.0.236/trunk@72331 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:36:43 +00:00
ddrinan%netscape.com
d0057568a9 Use M16 version of nlslayer for unix
git-svn-id: svn://10.0.0.236/trunk@72324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:34:56 +00:00
thayes%netscape.com
0be4db9ae1 Change password prompt and retry text.
git-svn-id: svn://10.0.0.236/trunk@72322 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:13:35 +00:00
javi%netscape.com
720cc9bec3 Add help targets for cert pretty print and issuer not found when walking
the certificate chain.


git-svn-id: svn://10.0.0.236/trunk@72321 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:02:45 +00:00
ddrinan%netscape.com
d30cd61bec Use the M16 version of nlslayer
git-svn-id: svn://10.0.0.236/trunk@72318 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:22:12 +00:00
ddrinan%netscape.com
e5e2013da6 Use the intl M16 interfaces
git-svn-id: svn://10.0.0.236/trunk@72317 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:02:52 +00:00
chrisk%netscape.com
d8f1264a7c Add generation of SMIMECapabilities
git-svn-id: svn://10.0.0.236/trunk@72242 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:17:52 +00:00
chrisk%netscape.com
3e04f59f9a canonicalization step adds CRs to LFs only of there are no CRs present.
git-svn-id: svn://10.0.0.236/trunk@72239 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:15:06 +00:00