Commit Graph

2755 Commits

Author SHA1 Message Date
jgmyers%netscape.com
1e55a5b67a fix typo: bug 31896 r=dmose sr=darin a=blizzard 2001-04-19 17:10:50 +00:00
bryner%uiuc.edu
779f230737 bug 70810 [XUL Syntax] Change tab syntax - another of the XUL 1.0 changes. patch from maolson@earthlink.net, r=ben, sr=hyatt 2001-04-18 07:01:29 +00:00
javi%netscape.com
f8400b8b63 Backing out prior patch for 76141 which caused all
platforms to display incorrectly.
2001-04-17 23:29:58 +00:00
ddrinan%netscape.com
eaff211a1e Fix for cert selection. 2001-04-17 23:16:14 +00:00
jgmyers%netscape.com
ddc11fc7e7 rename tls sockets to starttls: bug 74387 r=javi r=darin sr=mscott 2001-04-16 21:01:29 +00:00
javi%netscape.com
7e2698e1e7 Fix for Bug 76141.
Don't hardcode the width and height attributes.  Causes the
  text at bottom of window to not show up on some displays.
2001-04-16 20:02:36 +00:00
bryner%uiuc.edu
e09e75b7d7 Move MOZ_NSS_AUTOCONF test *after* including autoconf.mk. r=cls. 2001-04-16 00:50:16 +00:00
bryner%uiuc.edu
318485830b Removing unnecessary #include. 2001-04-15 03:56:10 +00:00
bryner%uiuc.edu
aaca57af31 Oops, need locale in here too (MOZ_TRACK_MODULE_DEPS bustage) 2001-04-14 22:53:33 +00:00
bryner%uiuc.edu
e9e30df5a5 Fixing MOZ_TRACK_MODULE_DEPS bustage (and bringing to light more of our sad dependency story). 2001-04-14 22:48:10 +00:00
jgmyers%netscape.com
28dd401ff4 STARTTLS sockets shouldn't send v2 hello: bug 75617 r=javi sr=brendan 2001-04-14 00:41:50 +00:00
jgmyers%netscape.com
cd4dec03f4 SSL_ForceHandshake() too heavyweight: bug 75583 r=javi 2001-04-11 20:40:35 +00:00
javi%netscape.com
f01d239b03 Remove references to mozilla/security/psm, that directory is not
built as part of the manager build, so we shouldn't be deleting it.
2001-04-11 20:00:33 +00:00
jgmyers%netscape.com
d41d3f93a8 localizability fixes: bug 66706 r=javi 2001-04-11 18:28:38 +00:00
bryner%uiuc.edu
07ed3337e6 Don't use the NSS coreconf hackery if we are building with MOZ_NSS_AUTOCONF. r=cls. Not part of the build. 2001-04-11 09:12:20 +00:00
bryner%uiuc.edu
266a2a6a55 FreeBSD now uses $(OS_TARGET).mk. Patch from markush@acc.umu.se, r=bryner. 2001-04-11 03:26:10 +00:00
javi%netscape.com
b0d469bb54 Makefile clean-up.
Build against trunk of coreconf using new mechanism for adding includes.
2001-04-11 00:11:47 +00:00
javi%netscape.com
7504a0e711 Fix build bustage. 2001-04-10 20:57:57 +00:00
bryner%uiuc.edu
0f6051fcab Updating for necko api change. 2001-04-10 08:01:26 +00:00
javi%netscape.com
eba2ac1ec3 Fix some build bustage. 2001-04-10 01:39:03 +00:00
javi%netscape.com
dab4d10f97 initialize with the correct file name. 2001-04-09 22:52:47 +00:00
bryner%uiuc.edu
d7360a4e45 Fixing more fallout from danm's checkin. 2001-04-09 18:30:18 +00:00
javi%netscape.com
517c085c12 Get rid of a signed/unsigned comparison warning. 2001-04-09 17:44:08 +00:00
bryner%uiuc.edu
215b0e0d29 Syncing with danm's nsIDialogParamBlock changes. r=cls. Not part of build. 2001-04-09 08:44:46 +00:00
ddrinan%netscape.com
fc0665d26a Fixed some xul elements that should have been label instead of value 2001-04-05 22:48:52 +00:00
ddrinan%netscape.com
d22065d528 Use security.default_personal_cert for client auth 2001-04-05 00:36:53 +00:00
ddrinan%netscape.com
6dee6b7b0a Fixed some typos in the pref names 2001-04-05 00:35:01 +00:00
bryner%uiuc.edu
c229aff430 Making the CertContentListener support weak refs, this makes it so the user gets prompted to import the certificate. r=javi. 2001-04-04 23:30:05 +00:00
ddrinan%netscape.com
d01c8689ec Fixed preftype error for default_personal_cert. r=javi 2001-04-04 22:23:27 +00:00
mcgreer%netscape.com
9ae17346f5 fix bug #74764
r=javi
2001-04-04 21:06:22 +00:00
bryner%uiuc.edu
7663ab3101 Fixing client auth. r=darin, sr=ben. Not part of the build. 2001-04-04 07:36:39 +00:00
javi%netscape.com
9c997c5218 Fix for Bug 74436 patch provided by ccarlen r=danm
Make PSM 2.0 use the embedding friendly window watcher
  service instead of grabbing the hidden window.
2001-04-04 00:06:18 +00:00
javi%netscape.com
c40f9c0c70 Fix UNIX build bustage 2001-04-04 00:03:02 +00:00
ddrinan%netscape.com
3a1a52d207 Added client auth callback 2001-04-03 01:11:30 +00:00
ddrinan%netscape.com
32fe53be48 Need to include dist/private/security 2001-04-03 01:10:57 +00:00
ddrinan%netscape.com
f155e82666 Added client auth dialog interface 2001-04-03 01:10:10 +00:00
ddrinan%netscape.com
f2b62f1f06 Client auth xul and js 2001-04-03 01:09:03 +00:00
ddrinan%netscape.com
7a1af34b82 Added client auth resources 2001-04-03 01:07:30 +00:00
ddrinan%netscape.com
e090e50d3e Added support for client auth dialogs 2001-04-03 01:06:17 +00:00
jgmyers%netscape.com
26264d042a distinguish weak crypto: bug 31896 r=ddrinan 2001-04-01 19:38:12 +00:00
jgmyers%netscape.com
d72d1758bc distinguish weak crypto in PSM2: bug 31896 r=dmose ser=darin 2001-04-01 19:37:29 +00:00
mcgreer%netscape.com
0b0563a03e clean up PKCS#12 code
refer to certs by db key, not nickname (fixes nickname collision bugs)
2001-03-30 19:55:00 +00:00
javi%netscape.com
cced53ff37 Make viewing a cert easier if you have a reference to a cert object.
A preliminary draft of the cert dump implementation.
2001-03-28 02:05:54 +00:00
mcgreer%netscape.com
1a8bd8961f change cert mgr to use outliner 2001-03-27 00:18:21 +00:00
javi%netscape.com
f9c519a0fe Install the loadable roots when installing pipnss.dll 2001-03-26 22:32:36 +00:00
javi%netscape.com
3635fe5e3f Add a second tab to the cert view dialog for the pretty print
stuff.
2001-03-23 22:58:13 +00:00
javi%netscape.com
100e2418de Delete the ns*CertificateManager related files that are no longer part of the build. 2001-03-23 21:27:29 +00:00
mcgreer%netscape.com
c4670d57c7 fix a couple UI bugs introduced by the XUL changes 2001-03-22 21:46:00 +00:00
mcgreer%netscape.com
c7febdc5a2 one more place to remove nsICertificateManager 2001-03-22 17:10:50 +00:00
mcgreer%netscape.com
f591c170a2 clean up cert manager code
* move trust to nsIX509CertDB
* remove unneccessary interface nsICertificateManager (everything should be handled by nsIX509CertDB)
2001-03-22 16:48:19 +00:00
bryner%uiuc.edu
3ed663b677 Missed these XUL changes from earlier. r=blake. 2001-03-22 01:37:12 +00:00
bryner%uiuc.edu
63e50c35b0 Bugs 70745, 70747. Making the following XUL syntax changes:
<textfield/> -> <textbox/>
<title/> -> <label/>
value -> label for all widgets except textbox, progressmeter, and text.
progresstext -> label
data -> value

r=blake, hewitt.  sr=ben, hyatt.  checking in for maolson@earthlink.net and blakeross@telocity.com.
2001-03-22 00:21:54 +00:00
mcgreer%netscape.com
26d4eeb2b1 add certificate verification and usages to cert display 2001-03-21 22:00:15 +00:00
javi%netscape.com
67cb858eee Fix build bustage for Linux RH 7 + patches. 2001-03-21 05:35:58 +00:00
javi%netscape.com
fab58180fa Use the token name instead of the slot name when formatting the string
name.
2001-03-21 03:46:49 +00:00
javi%netscape.com
93e83b3330 Make the "Examine Certificate" button on the SSL error dialgs work.
Fix nsPKCS12Blob to use the default password handler callback so
that SDR continues to work.

Give the certViewerDetails window the ability to load a cert based on
its certDBKey instead of nickname.
2001-03-21 03:37:49 +00:00
javi%netscape.com
87e2740d37 Fix Linux build bustage. 2001-03-21 01:27:04 +00:00
javi%netscape.com
f447f56e2b Make p12 build on the Mac. Make p12 initialize the key db if it hasn't been initialized. 2001-03-21 00:57:46 +00:00
bryner%uiuc.edu
faeceebf97 Fixing bustage from string changes. Not part of build. 2001-03-20 22:41:35 +00:00
mcgreer%netscape.com
444b53c299 make the cert name show up in the edit window 2001-03-20 18:32:04 +00:00
mcgreer%netscape.com
d1493d111e stuff for cert manager
* PKCS#12 backup and restore
* editing cert trust
* more detail for view cert (UI to change later)
* temporary token login
2001-03-20 18:00:44 +00:00
bryner%uiuc.edu
85b947fc08 Syncing to jag's string changes to fix build bustage. r=jag. 2001-03-20 07:46:37 +00:00
javi%netscape.com
6dd2b6520f Make a better contract ID for the pk11 token db. 2001-03-19 23:09:28 +00:00
javi%netscape.com
902c51c0bc ccarlen says we don't have to bump the refCnt when adding the observer. 2001-03-19 18:30:25 +00:00
javi%netscape.com
7c35b57982 Make clean builds work. Do this by removing the sub-class of
nsIDialogParamBlock in nsIPKIParamBlock.  Everywhere we want
to have bot nsIDialogParamBlock and nsIPKIParamBlock we do
QueryInterface to get a pointer to the right interface.
2001-03-15 03:06:47 +00:00
thayes%netscape.com
4dff9a076a Add -DNSS_USE_STATIC_LIBS to get correct linkage against static version
of NSS libraries.
2001-03-14 22:33:08 +00:00
javi%netscape.com
d07f0ac0cc Fully support profile swtiching in PSM 2.0 2001-03-14 00:03:23 +00:00
javi%netscape.com
93a5700527 Didn't mean to enable the logging by default. 2001-03-13 23:47:12 +00:00
javi%netscape.com
a7d426e55b Fix build bustage. 2001-03-13 22:24:58 +00:00
javi%netscape.com
a3076fad96 The macro for PROFILE_BEFORE_CHANGE_TOPIC doesn't seem to be around
anymore.
2001-03-13 22:15:05 +00:00
javi%netscape.com
0e64d43520 First cut at profile switching for PSM 2.0
This will shut down NSS, but doesn't actively re-initialize NSS
with the new profile info.
2001-03-13 21:50:23 +00:00
mcgreer%netscape.com
461525bb99 A bunch more cert UI, all the buttons are in (just need to be coded :) 2001-03-13 19:36:52 +00:00
mcgreer%netscape.com
07554215c8 more cert manager functionality
* list mine and websites certs
* show cert chain in view cert
* show O and OU in view cert
2001-03-13 16:20:54 +00:00
javi%netscape.com
715108ef2b Make the Mac build PSM 2.0 again. 2001-03-13 00:22:26 +00:00
javi%netscape.com
721ae99720 Pass interfaces to certs to the SSL dialogs through the new
nsIPKIParamBlock interface.

Clean up some inconsistencies in nsPKIParamBlock implementation.
2001-03-12 23:59:48 +00:00
javi%netscape.com
eab7122621 Add the ref in the same method that release the reference.
Avoids leaking nsNSSCertificate classes in cases where multiple errors
are found with a cert.
2001-03-12 23:47:21 +00:00
javi%netscape.com
f6e9cc67dc Create our param block that allows us to pass nsISupport references to
dialogs and clean up a little bit of the UI.
2001-03-10 03:09:20 +00:00
javi%netscape.com
0372162f0b Add our own param block that allows us to pass references to
XPCOM objects to dialogs.
2001-03-10 02:45:24 +00:00
thayes%netscape.com
1aa0c207a7 Remove CR chars 2001-03-09 02:19:19 +00:00
thayes%netscape.com
72d0e0eaf1 Changes filenames of preference content to be consistent with
Mozilla conventions.
Add autostretch="never" to prevent expansion of checkboxes in pref
panels
2001-03-09 01:13:46 +00:00
javi%netscape.com
39041ea9d5 Call the get method for string classes. Brings us up to date with the
trunk of mozilla and their string class update landing.
2001-03-08 23:19:27 +00:00
javi%netscape.com
7b26537001 Update our use of strings to call their get methods bringing us up
to date with the trunk of mozilla.
2001-03-08 23:15:18 +00:00
bryner%uiuc.edu
86cf469639 Fixing non-debug builds. Not part of build. 2001-03-08 06:01:29 +00:00
mcgreer%netscape.com
50c5c0d0c9 add missing license text 2001-03-07 19:56:50 +00:00
mcgreer%netscape.com
33891979ac preliminary checkin of certificate manager 2001-03-07 19:24:12 +00:00
javi%netscape.com
c7090f7289 Make the pref dialog call a JS function to open up
the certificate manager.

Also put all the localizable strings into dtd and properties
files.
2001-03-07 02:17:00 +00:00
bryner%uiuc.edu
9b4cb2b2d8 Use user prefs for determining whether to enable SSL2/SSL3/TLS. Also, remove now-unused pref service stuff from nsSecureBrowserUIImpl. r=javi. 2001-03-06 22:07:26 +00:00
bryner%uiuc.edu
8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
thayes%netscape.com
6a52ca019c Add pageInfo overlay to for displaying security information 2001-03-05 19:40:39 +00:00
bryner%uiuc.edu
5609390d4a Set SUBMAKEFILES so that the Makefile auto-update rule is used; otherwise a clean build fails because the Makefiles don't get generated. 2001-03-05 03:51:58 +00:00
javi%netscape.com
64187b0406 Allow developers to build PSM 2.0 on Unix.
Fix for Bug 70343 sr=cls
2001-03-04 22:55:18 +00:00
javi%netscape.com
ab0e09d117 Give the nsNSSCertDB class a virtual destructor.
Gets rid of a warning on Linux.
2001-03-02 01:37:11 +00:00
javi%netscape.com
847bf29448 Checking in some logging functionality I wrote to help debugging on the Mac. 2001-03-01 22:33:32 +00:00
javi%netscape.com
1183ba2c15 Remove extra reference to ssl.lib 2001-03-01 22:31:11 +00:00
javi%netscape.com
dd775ef7b0 Remove bogus statements that were used upon a time to help in debuggin. 2001-03-01 07:33:02 +00:00
bryner%uiuc.edu
c389849fbd First cut at SSL proxy support. r=ddrinan. 2001-03-01 02:04:35 +00:00
mcgreer%netscape.com
fc9a858036 Add support for CA cert downloading, including UI. 2001-02-26 21:50:54 +00:00
javi%netscape.com
147e289d6f Implement the SSL dialog warnings for Domain Mismatch and
server cert expired.
2001-02-24 00:20:32 +00:00
jgmyers%netscape.com
a9cc6bcc3c override Available method needed for dougt landing r=javi 2001-02-22 03:03:17 +00:00
jgmyers%netscape.com
bb6f3a1f6a reapply bryner's fixes for dougt landing. Not part of build. r=javi 2001-02-22 01:42:12 +00:00
javi%netscape.com
dac286f17e Add nsNSSCertificate.cpp to the Mac build. 2001-02-17 20:25:42 +00:00
javi%netscape.com
fd5d0bcad4 Make the new server cert dialog for SSL warning work. 2001-02-16 22:17:52 +00:00
thayes%netscape.com
fa34df002e Add preferences for security/ssl 2001-02-15 03:42:30 +00:00
mcgreer%netscape.com
dc7ad98e67 configure PKCS#11 strings in PSM.
r=javi
2001-02-14 22:15:53 +00:00
thayes%netscape.com
f00d62ad0f Add MPL license text. 2001-02-14 20:11:25 +00:00
thayes%netscape.com
e7f9d4bef6 Change initialization of NSSDialog object 2001-02-14 20:10:00 +00:00
thayes%netscape.com
2a1a86b9b0 Implement nsISecurityWarningDialogs in the NSSDialogs object. 2001-02-14 20:09:33 +00:00
thayes%netscape.com
a0d0e598cc Use NSSDialogs service to implement security warning dialogs. 2001-02-14 20:00:01 +00:00
thayes%netscape.com
5da8e807fe Define new SecurityWarningDialogs interface 2001-02-14 19:58:21 +00:00
javi%netscape.com
9bdb616f80 Whenever we get the NSS Dialogs, make it a proxied service to avoid
all the assertions and eventual abort my JavaScript when we try to
open a window on a thread other than the UI thread.
2001-02-14 01:45:28 +00:00
javi%netscape.com
5c61971304 Remove all ^M characters 2001-02-13 00:27:27 +00:00
bryner%uiuc.edu
4f48cccce0 Backing out dougt's channel changes. 2001-02-12 03:20:46 +00:00
javi%netscape.com
315fde2197 Make the nsINSSDialogs a base class that we do a QI to
figure out if it implements the interface we want.

Change the implementation in pippki to register its UI handling
with this new method.
2001-02-10 02:53:10 +00:00
bryner%uiuc.edu
92b0d516c0 Catching up with dougt's necko changes. r=javi. 2001-02-10 02:29:46 +00:00
bryner%uiuc.edu
421228fcf3 Fixing compile for tip NSS. r=javi. Not part of build. 2001-02-09 20:17:05 +00:00
javi%netscape.com
55963742ba Clean up the NSS initialization code including loading of Root Cert module. 2001-02-09 01:56:29 +00:00
javi%netscape.com
3e57841b59 First Checked In. 2001-02-08 02:25:25 +00:00
javi%netscape.com
8e8d93ab17 First Checked In. 2001-02-08 00:41:58 +00:00
javi%netscape.com
04184f460b Add the new nsPK11DB.cpp file to the Mac project. correctly append Security to the user path when initializing on the Mac. 2001-02-08 00:41:42 +00:00
thayes%netscape.com
e94c3c1fd3 Fix compiler warnings/failures on Linus/Mac 2001-02-07 23:38:59 +00:00
bryner%uiuc.edu
3dadcb2d4b Cleaning up indenting. Not part of build. 2001-02-07 23:07:56 +00:00
thayes%netscape.com
ae1e32f036 Add PIPPKI module to UNIX builds 2001-02-07 19:53:41 +00:00
javi%netscape.com
614c6cd815 Create an interface nsINSSComponent that we can use to look up
service for nsNSSComponent from the NSS callbacks.
2001-02-07 19:00:52 +00:00
thayes%netscape.com
b3db34c62b Create DTD for pippki module 2001-02-07 18:51:23 +00:00
thayes%netscape.com
6439177e99 Fix incorrect module name on chrome URL 2001-02-07 17:35:40 +00:00
thayes%netscape.com
9538b977ec Create PKI module for implementation of callback
functions for user interaction.
2001-02-07 01:25:16 +00:00
bryner%uiuc.edu
120c2b4fd9 bug 67527 -- cleaning up psm module registration (both psm 1.x and PIP). r=javi, sr=brendan. 2001-02-06 23:10:16 +00:00
thayes%netscape.com
bde03842a3 Add public directory 2001-02-06 23:05:19 +00:00
thayes%netscape.com
b5e8127f4b Add nsPK11TokenDB. Modify SDR to throw set-password dialog. 2001-02-06 23:01:33 +00:00
thayes%netscape.com
97e399fbe6 Remove SecureDevicePrompt idl 2001-02-06 23:00:18 +00:00
thayes%netscape.com
232e1017a1 Add INSSDialogs IDL 2001-02-06 22:58:57 +00:00
thayes%netscape.com
98d97de274 Add PK11TokenDB IDL 2001-02-06 22:52:10 +00:00
javi%netscape.com
8661fd9797 Make the Bundle methods non-static. This is the first of 2 parts.
The next part fix will create a private interface for looking up
the nsNSSComponent from the callbacks instead of type-casting
nsISecurityManagerComponent pointer.
2001-02-06 20:09:27 +00:00
javi%netscape.com
455a2e625e Remove references to coreconf from the Makefile for building
pipnss
2001-02-06 02:44:15 +00:00
bryner%uiuc.edu
8668f287ba Bug 67507 - implement TLSStepUp(). r=javi. Not part of build. 2001-02-05 21:46:24 +00:00
javi%netscape.com
46b9731f5f First Checked In. 2001-02-01 21:59:09 +00:00
javi%netscape.com
2b19fc9918 I couldn't figure out why the ConvertMacPathToUnixPath symbol is no longer exported by the NSPR library, so we'll include our implementation in the meantime. 2001-02-01 21:54:22 +00:00
bryner%uiuc.edu
3505933119 Make pipnss's version of nsSecureBrowserUIImpl support weak refs, as was already done to psm-glue. r=thayes. 2001-02-01 03:25:48 +00:00
thayes%netscape.com
90779ce94b Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.
2001-01-31 18:03:49 +00:00
javi%netscape.com
786ccd06ed Add first cut at exportable interfaces. 2001-01-30 18:34:22 +00:00
thayes%netscape.com
27fb180eb0 Initial versions of SDR. Doesn't do change/set password yet. 2001-01-30 02:47:43 +00:00
bryner%uiuc.edu
f0c96eafce Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott. 2001-01-30 02:12:53 +00:00
javi%netscape.com
ba74b722f9 Missed this file during my last check-in. 2001-01-25 01:21:27 +00:00
javi%netscape.com
63804c6677 Add Entropy collector support and the ability to load the root certificates
PKCS11 module
2001-01-25 01:14:23 +00:00
javi%netscape.com
54390f112c Add an entry for the name of the loadable root certs PKCS#11 module. 2001-01-24 19:28:11 +00:00
javi%netscape.com
63ee83e299 Bring forward some functionality from PSM classic used in initializing
SSL sockets.

Put in the skeleton for the bad cert callback.
2001-01-23 03:16:45 +00:00
bryner%uiuc.edu
1b2e78a3eb Register the pipnss chrome on windows. r=javi. Not part of build. 2001-01-20 23:54:33 +00:00
jgmyers%netscape.com
94992953e2 fix capitalization 2001-01-19 22:39:29 +00:00
jgmyers%netscape.com
cd356bbb67 fix comment 2001-01-19 22:39:17 +00:00
javi%netscape.com
b333ed6f48 Make windows build the pipnss.jar file. 2001-01-19 01:46:42 +00:00
bryner%uiuc.edu
f1a9df84d2 Oops, forgot jar.mn. 2001-01-19 01:12:42 +00:00
bryner%uiuc.edu
4e954931d3 PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
javi%netscape.com
623041bddc Add Win32 build support for PSM 2.0 2001-01-16 21:16:07 +00:00
javi%netscape.com
d3d2410479 Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)
2001-01-10 01:32:29 +00:00
bryner%uiuc.edu
43b47e9463 Moving files out of security/base at request of security team. The new home for these files is in netwerk. Bug 53648. r=scc. a=gagan,brendan. 2000-09-22 04:42:20 +00:00