Граф коммитов

1100 Коммитов

Автор SHA1 Сообщение Дата
javi%netscape.com fd0c085b23 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 c5d5aae05b Move MOZ_NSS_AUTOCONF test *after* including autoconf.mk. r=cls. 2001-04-16 00:50:16 +00:00
bryner%uiuc.edu 41642aade0 Removing unnecessary #include. 2001-04-15 03:56:10 +00:00
bryner%uiuc.edu 95ad17ebad Oops, need locale in here too (MOZ_TRACK_MODULE_DEPS bustage) 2001-04-14 22:53:33 +00:00
bryner%uiuc.edu 270bbed52b 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 05953a12e6 STARTTLS sockets shouldn't send v2 hello: bug 75617 r=javi sr=brendan 2001-04-14 00:41:50 +00:00
jgmyers%netscape.com b06cfc2567 SSL_ForceHandshake() too heavyweight: bug 75583 r=javi 2001-04-11 20:40:35 +00:00
javi%netscape.com 1dc8a0ae00 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 04bd6ed73e localizability fixes: bug 66706 r=javi 2001-04-11 18:28:38 +00:00
bryner%uiuc.edu aa3827b6a1 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 275bbbd9d6 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 f11cf842e9 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 356e4e4ce2 Fix build bustage. 2001-04-10 20:57:57 +00:00
bryner%uiuc.edu 3985890e25 Updating for necko api change. 2001-04-10 08:01:26 +00:00
javi%netscape.com 2cee056cc5 Fix some build bustage. 2001-04-10 01:39:03 +00:00
javi%netscape.com 46fa9d174b initialize with the correct file name. 2001-04-09 22:52:47 +00:00
bryner%uiuc.edu 203287f6ae Fixing more fallout from danm's checkin. 2001-04-09 18:30:18 +00:00
javi%netscape.com 2c6f82247c Get rid of a signed/unsigned comparison warning. 2001-04-09 17:44:08 +00:00
bryner%uiuc.edu 8b37c8820c Syncing with danm's nsIDialogParamBlock changes. r=cls. Not part of build. 2001-04-09 08:44:46 +00:00
ddrinan%netscape.com b65d9342c4 Fixed some xul elements that should have been label instead of value 2001-04-05 22:48:52 +00:00
ddrinan%netscape.com d902f4645a Use security.default_personal_cert for client auth 2001-04-05 00:36:53 +00:00
ddrinan%netscape.com ba61aa365a Fixed some typos in the pref names 2001-04-05 00:35:01 +00:00
bryner%uiuc.edu 827153f488 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 44bad1aeb9 Fixed preftype error for default_personal_cert. r=javi 2001-04-04 22:23:27 +00:00
mcgreer%netscape.com f0c3234d22 fix bug #74764
r=javi
2001-04-04 21:06:22 +00:00
bryner%uiuc.edu 9b64af3121 Fixing client auth. r=darin, sr=ben. Not part of the build. 2001-04-04 07:36:39 +00:00
javi%netscape.com 39cb237a92 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 ef73f92268 Fix UNIX build bustage 2001-04-04 00:03:02 +00:00
ddrinan%netscape.com 79a8b94162 Added client auth callback 2001-04-03 01:11:30 +00:00
ddrinan%netscape.com fad29073c8 Need to include dist/private/security 2001-04-03 01:10:57 +00:00
ddrinan%netscape.com ac4a2abfac Added client auth dialog interface 2001-04-03 01:10:10 +00:00
ddrinan%netscape.com e1c94a4326 Client auth xul and js 2001-04-03 01:09:03 +00:00
ddrinan%netscape.com fff634f1fd Added client auth resources 2001-04-03 01:07:30 +00:00
ddrinan%netscape.com b9f72042a2 Added support for client auth dialogs 2001-04-03 01:06:17 +00:00
jgmyers%netscape.com f185c5e4ed distinguish weak crypto: bug 31896 r=ddrinan 2001-04-01 19:38:12 +00:00
jgmyers%netscape.com 3c357f35f1 distinguish weak crypto in PSM2: bug 31896 r=dmose ser=darin 2001-04-01 19:37:29 +00:00
mcgreer%netscape.com 71879dc03f 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 7ed41a9893 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 da4fac0e50 change cert mgr to use outliner 2001-03-27 00:18:21 +00:00
javi%netscape.com 85487c8c36 Install the loadable roots when installing pipnss.dll 2001-03-26 22:32:36 +00:00
javi%netscape.com fe9a0da398 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 f50f88edcd 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 3c27562cb2 fix a couple UI bugs introduced by the XUL changes 2001-03-22 21:46:00 +00:00
mcgreer%netscape.com d1520864c5 one more place to remove nsICertificateManager 2001-03-22 17:10:50 +00:00
mcgreer%netscape.com c4183749eb 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 8f7284c5f2 Missed these XUL changes from earlier. r=blake. 2001-03-22 01:37:12 +00:00
bryner%uiuc.edu 7a5fb43948 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 59c8f62d6d add certificate verification and usages to cert display 2001-03-21 22:00:15 +00:00
javi%netscape.com 30fbdfdfb9 Fix build bustage for Linux RH 7 + patches. 2001-03-21 05:35:58 +00:00
javi%netscape.com 429c09d887 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 639713ad8e 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 7405f3b91e Fix Linux build bustage. 2001-03-21 01:27:04 +00:00
javi%netscape.com 7f68152e3f 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 a6b2f0b919 Fixing bustage from string changes. Not part of build. 2001-03-20 22:41:35 +00:00
mcgreer%netscape.com fa277c1c3d make the cert name show up in the edit window 2001-03-20 18:32:04 +00:00
mcgreer%netscape.com dc3f638d52 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 51be251b74 Syncing to jag's string changes to fix build bustage. r=jag. 2001-03-20 07:46:37 +00:00
javi%netscape.com dfc23e0523 Make a better contract ID for the pk11 token db. 2001-03-19 23:09:28 +00:00
javi%netscape.com 73ecb50512 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 4f6773d4e2 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 925ac8f774 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 3f1633798c Fully support profile swtiching in PSM 2.0 2001-03-14 00:03:23 +00:00
javi%netscape.com 3ac1ec2bce Didn't mean to enable the logging by default. 2001-03-13 23:47:12 +00:00
javi%netscape.com 3e0c4b3b0b Fix build bustage. 2001-03-13 22:24:58 +00:00
javi%netscape.com 1b3dfadb17 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 30aa3c70e3 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 7ae7e2b808 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 2d117860b4 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 beab5c9e55 Make the Mac build PSM 2.0 again. 2001-03-13 00:22:26 +00:00
javi%netscape.com 4eeba2b1f4 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 a3dcfdcd14 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 cbc174f060 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 0e34d9f144 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 da7b95e532 Remove CR chars 2001-03-09 02:19:19 +00:00
thayes%netscape.com 82c333d724 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 3614db2517 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 bc75c4e9fe 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 e36e4cf040 Fixing non-debug builds. Not part of build. 2001-03-08 06:01:29 +00:00
mcgreer%netscape.com 382b0089f5 add missing license text 2001-03-07 19:56:50 +00:00
mcgreer%netscape.com de6007d97a preliminary checkin of certificate manager 2001-03-07 19:24:12 +00:00
javi%netscape.com 6c2fa5af6a 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 d49acaf06d 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 3f9323934e Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
thayes%netscape.com 2d6f324f2a Add pageInfo overlay to for displaying security information 2001-03-05 19:40:39 +00:00
bryner%uiuc.edu 9eff40f96b 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 87d73ff9c3 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 3929b113a3 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 d666dc6539 Checking in some logging functionality I wrote to help debugging on the Mac. 2001-03-01 22:33:32 +00:00
javi%netscape.com 1f58f3ea7e Remove extra reference to ssl.lib 2001-03-01 22:31:11 +00:00
javi%netscape.com 9427e49fd6 Remove bogus statements that were used upon a time to help in debuggin. 2001-03-01 07:33:02 +00:00
bryner%uiuc.edu 816543da05 First cut at SSL proxy support. r=ddrinan. 2001-03-01 02:04:35 +00:00
mcgreer%netscape.com d8898f19d0 Add support for CA cert downloading, including UI. 2001-02-26 21:50:54 +00:00
javi%netscape.com aafbc7b0de Implement the SSL dialog warnings for Domain Mismatch and
server cert expired.
2001-02-24 00:20:32 +00:00
jgmyers%netscape.com bd58a65f2e override Available method needed for dougt landing r=javi 2001-02-22 03:03:17 +00:00
jgmyers%netscape.com 0f33db2d18 reapply bryner's fixes for dougt landing. Not part of build. r=javi 2001-02-22 01:42:12 +00:00
javi%netscape.com 3945c70373 Add nsNSSCertificate.cpp to the Mac build. 2001-02-17 20:25:42 +00:00
javi%netscape.com c86548a68e Make the new server cert dialog for SSL warning work. 2001-02-16 22:17:52 +00:00
thayes%netscape.com 25a75ba995 Add preferences for security/ssl 2001-02-15 03:42:30 +00:00
mcgreer%netscape.com c7ccbde27d configure PKCS#11 strings in PSM.
r=javi
2001-02-14 22:15:53 +00:00
thayes%netscape.com 877fc2b728 Add MPL license text. 2001-02-14 20:11:25 +00:00
thayes%netscape.com 8f88244311 Change initialization of NSSDialog object 2001-02-14 20:10:00 +00:00
thayes%netscape.com ca79b59d74 Implement nsISecurityWarningDialogs in the NSSDialogs object. 2001-02-14 20:09:33 +00:00
thayes%netscape.com 23289ed4d2 Use NSSDialogs service to implement security warning dialogs. 2001-02-14 20:00:01 +00:00
thayes%netscape.com 44e134423d Define new SecurityWarningDialogs interface 2001-02-14 19:58:21 +00:00
javi%netscape.com 2726eab4bd 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 78c92ae7c3 Remove all ^M characters 2001-02-13 00:27:27 +00:00
bryner%uiuc.edu 7eec6ef6b5 Backing out dougt's channel changes. 2001-02-12 03:20:46 +00:00
javi%netscape.com b4374b8c59 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 36090059f3 Catching up with dougt's necko changes. r=javi. 2001-02-10 02:29:46 +00:00
bryner%uiuc.edu 32b0cfce14 Fixing compile for tip NSS. r=javi. Not part of build. 2001-02-09 20:17:05 +00:00
javi%netscape.com 12a741c063 Clean up the NSS initialization code including loading of Root Cert module. 2001-02-09 01:56:29 +00:00
javi%netscape.com 9a05df8191 First Checked In. 2001-02-08 02:25:25 +00:00
javi%netscape.com 74a102349f First Checked In. 2001-02-08 00:41:58 +00:00
javi%netscape.com bee191d8d9 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 4e2755d645 Fix compiler warnings/failures on Linus/Mac 2001-02-07 23:38:59 +00:00
bryner%uiuc.edu 86c5db2a5b Cleaning up indenting. Not part of build. 2001-02-07 23:07:56 +00:00
thayes%netscape.com 13c16fe82c Add PIPPKI module to UNIX builds 2001-02-07 19:53:41 +00:00
javi%netscape.com eed484f9fc 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 ad09a3250e Create DTD for pippki module 2001-02-07 18:51:23 +00:00
thayes%netscape.com 3f9afc714d Fix incorrect module name on chrome URL 2001-02-07 17:35:40 +00:00
thayes%netscape.com c540f06d84 Create PKI module for implementation of callback
functions for user interaction.
2001-02-07 01:25:16 +00:00
bryner%uiuc.edu fa1a2642a1 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 1b2814995c Add public directory 2001-02-06 23:05:19 +00:00
thayes%netscape.com 60bfe54a9e Add nsPK11TokenDB. Modify SDR to throw set-password dialog. 2001-02-06 23:01:33 +00:00
thayes%netscape.com 44bc0e1140 Remove SecureDevicePrompt idl 2001-02-06 23:00:18 +00:00
thayes%netscape.com 6eba690b46 Add INSSDialogs IDL 2001-02-06 22:58:57 +00:00
thayes%netscape.com 75236f3e70 Add PK11TokenDB IDL 2001-02-06 22:52:10 +00:00
javi%netscape.com 7413ff9c90 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 7500eb15e2 Remove references to coreconf from the Makefile for building
pipnss
2001-02-06 02:44:15 +00:00
bryner%uiuc.edu ba958523a0 Bug 67507 - implement TLSStepUp(). r=javi. Not part of build. 2001-02-05 21:46:24 +00:00
javi%netscape.com 4f4c5823f6 First Checked In. 2001-02-01 21:59:09 +00:00
javi%netscape.com cfbcb20147 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 124d914a66 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 4dea78ce93 Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.
2001-01-31 18:03:49 +00:00
javi%netscape.com e450c541b4 Add first cut at exportable interfaces. 2001-01-30 18:34:22 +00:00
thayes%netscape.com 3b8522cde0 Initial versions of SDR. Doesn't do change/set password yet. 2001-01-30 02:47:43 +00:00
bryner%uiuc.edu b10b7c1d34 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 2f12d13e4e Missed this file during my last check-in. 2001-01-25 01:21:27 +00:00
javi%netscape.com 011df44cd1 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 5127834e37 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 9d6b85067c 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 7fd29254b5 Register the pipnss chrome on windows. r=javi. Not part of build. 2001-01-20 23:54:33 +00:00
jgmyers%netscape.com e10355b403 fix capitalization 2001-01-19 22:39:29 +00:00
jgmyers%netscape.com 1d8a4efe49 fix comment 2001-01-19 22:39:17 +00:00
javi%netscape.com 4499e13a55 Make windows build the pipnss.jar file. 2001-01-19 01:46:42 +00:00
bryner%uiuc.edu ec5b7a59e7 Oops, forgot jar.mn. 2001-01-19 01:12:42 +00:00
bryner%uiuc.edu 91ec263c8e 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 3164639dd9 Add Win32 build support for PSM 2.0 2001-01-16 21:16:07 +00:00
javi%netscape.com 34f0ae7938 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 30ab9913bd 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