Commit Graph

263 Commits

Author SHA1 Message Date
Christian Hohnstaedt
838fb6924d add information to requests, wether they are already signed or not
- look for a certificate with the public key of the request
   to decide whether it is already handled or not.
2009-11-29 12:28:31 +01:00
Christian Hohnstaedt
fe8c2c2660 improve filename handling for databases
- allow "umlauts" and other non ASCII char in database filenames
   using the OS dependent handling QString2filename, using
   8Bit codepage encoding on Windows and UTF8 on linux and OS X
2009-11-25 09:06:22 +01:00
Christian Hohnstaedt
bd90901c10 change filename handling to support UTF8 names 2009-11-24 19:16:25 +01:00
Christian Hohnstaedt
9f900ae6f7 update copyright date to 2009 where appropriate 2009-11-24 17:54:21 +01:00
Christian Hohnstaedt
42da9ac574 reactivate functionality to change database password
- remove CRTL+X shortcuts from menu
 - change DB pass not via button, but via file-menu.
2009-11-24 17:42:16 +01:00
Christian Hohnstaedt
6f7722124b change the default string encoding
- avoid T61STRINGS, which are pretty locale dependent
   This can be changed via the options menu
2009-11-20 08:31:06 +01:00
Christian Hohnstaedt
9182afd71c support storing Certificates on the Smart-card 2009-11-15 19:40:55 +01:00
Christian Hohnstaedt
e61e58d917 improve and harden mechanism handling 2009-11-13 18:06:31 +01:00
Christian Hohnstaedt
f802de1db5 catch errors during card import
- improve reading of CKA_ID and support CKA_IDs longer than 1 byte
 - lib/Makefile pki_base has no Q_OBJECT
2009-11-12 08:14:15 +01:00
Christian Hohnstaedt
0aced7f2c4 improve Smart-card handling
- if PublicKey or Cert CKA_LABEL fails, try CKA_SUBJECT
 - don't use CKA_VALUE attribute on PUBLIC_KEY,
   because not everyone supports it.
   While being at it, add code for DSA and EC Cards.
 - load PKCS#11 engine only after database open.
 - avoid reloading the DLL on windows, because it is not supported.
   Windows users need to restart XCA after changing the PKCS#11 path
 - fix getSlotList() and return a QList<unsigned long>
2009-11-11 22:58:34 +01:00
Christian Hohnstaedt
7b7f40f883 Remove hack for mingw-linker
- Windows compilation works without this hack
2009-11-10 13:33:35 +01:00
Christian Hohnstaedt
76913168ed smart card related fixes
- fixes to not crash if Smart card support is missing
 - select correct list of hash algos by
   reading PKCS11 mechanisms per slot and save them among with
   the card in the db
 - remove debugging code
 - allow to configure the path to the PKCS#11 library
 - copy pkcs11 header-file into XCA lib
2009-11-04 18:59:55 +01:00
Christian Hohnstaedt
f41411902f more Smart card
- add support to store a certificate on the card
   (did not work with my TCOS card, but in theory....)
 - init PIN via PUK
 - be more robust regarding card changes
 - improve PIN handling
2009-11-03 19:51:37 +01:00
Christian Hohnstaedt
7cf3862467 support to init the PIN via PUK (SO PIN)
- start support for binary passwords (hexencoded)
2009-11-02 08:01:49 +01:00
Christian Hohnstaedt
48f59e9d1a support for PIN changes of Smart card tokens. 2009-11-01 19:41:29 +01:00
Christian Hohnstaedt
5789037b36 more smart card
- import moved to "import" menu
 - initialliy support signing
 - remove debugging code
2009-10-30 17:59:19 +01:00
Christian Hohnstaedt
dcf0c83b35 support smart card import
- import keys and certificates from a smart card and
   show them in an importMulti dialog
 - support exporting the public from smart card
2009-10-29 18:54:08 +01:00
Christian Hohnstaedt
f82aad0c2a add support for Elliptic curve keys 2009-10-28 18:56:44 +01:00
Christian Hohnstaedt
66c7db0350 Start implementation of SmartCard support
- use PKCS#11
 - load keys and showing them works
2009-10-28 18:54:22 +01:00
chris
365ce4df4f fix locale support and commandline handling
- by Andreas Roth
2009-02-27 08:09:43 +01:00
chris
ab5b066198 change the hashing of the default password.
- This means that any database opened by this version can't
   be used  properly by older versions
 - Opening older databases immediately rehashes the password
   an makes it unusable for older XCA versions.
 - Opening newer databases with old XCA versions won't hurt,
   it just does not work properly
2008-02-04 22:08:29 +01:00
Christian Hohnstaedt
8784f0ffd3 Impove usability
- preset New key with certificate name if initiated by
   certificate dialog.
 - apply template, if CA template is defined
2008-01-26 12:38:45 +01:00
Geoff Beier
909b6c309c [PATCH] mac build fixes and minor usability improvements
This patchset adds:
- configure.mac now looks for qmake, backs up xcode project, uses xca.pro to generate a new one, generates a different local.h
- mac-package.sh generates a standalone .app bundle for distribution using deployqt from trolltech labs, packages up manual, COPYRIGHT, etc into a .dmg
- mac packaging niceties in the qmake project
- mac icon file
- usability fixes for OS X:
	- look for user configured oids and such in ~/Library/Preferences/xca if it exists
	- look for original ones in app bundle/Contents/Resources (it tried to do this before...)
	- more robust code for getting bundle location (less likely to be broken by Apple in OS revisions)
	- start browsing for files in ~/Documents
	- fix wildcards on mac so files without extensions will be opened
	- fix save behavior for .xdb files so that it's hard to get one that doesn't end in .xdb, as this causes difficulty w/Qt

Notes:
	- one of the compilation fixes was in the new revocation data function that replaced the old macros... I didn't have time to verify that my fix doesn't break when used with 0.9.8.
	- QStringToAsn1() is clearly incorrect but I haven't yet determined what callers expect, so I just called it out in a comment and did not yet fix it
	- I added some code that I haven't tested on Windows because I thought it might be a nice function to have there too. I have not added anything to call that function, however, since I don't currently have a machine I can test on :). The code is clearly marked in comments.
2008-01-06 13:48:39 +01:00
Christian
8bfc1d1522 finalized PEM import 2007-08-27 18:44:19 +00:00
Christian
4e24a63e5b String encoding options added
- move used-keys-button form options to NewX509 dialog
 - Set string options in options dialog
2007-05-28 22:45:07 +02:00
Christian
91e4e78cef Add options dialog to set the default hash algo,
mandatory distinguished name entries and allow duplicate key use
as requested by some users.
show CRL signature alg information

Version 0.6.3
2007-05-20 10:05:10 +02:00
Christian
0ee1de2b3b More options 2007-05-16 00:10:30 +02:00
Christian
34227bf680 fix some warnings 2007-04-25 20:12:24 +02:00
Christian
8283d8e7b9 replace copyright notice in source files
(copyright and licence itself remain unchanged)
fix configure to set Qt include dir
code justifying
2007-04-12 12:25:28 +02:00
Christian
d4a90be207 replace "include <Qt/" by "include <" 2007-04-11 11:19:22 +02:00
Christian
d701024e31 changes to change to qmake 2007-04-09 15:58:41 +02:00
Christian Hohnstaedt
9b45190726 code beautifying, fix password dialog for new database 2007-02-13 18:01:17 +01:00
Christian
85e91b4391 autodetect and load any type of PEM files
either with -P option or menu Import->PEM file
2007-02-08 00:35:13 +01:00
Christian
63fc77c691 fix cmdline import of crypto items 2007-02-05 23:40:14 +01:00
Christian
e7b96a4245 fix click-label functionality
unify showItem()
fix NewX509.ui
2007-01-29 23:10:58 +01:00
Christian
774ac13efb Evil hack for mingw32 linker
superflous base.h.in removed

Version 0.6.0-beta01
2006-12-29 10:56:19 +01:00
Christian
6a46213230 Changes for w32 2006-12-27 17:57:55 +01:00
Christian
5ff712e419 Fix status message
Fix Tree/plain view
Fix decryption of keys
2006-12-19 23:00:44 +01:00
Christian Hohnstaedt
77898e0f16 Disable all buttons and menus if no database open 2006-12-08 10:54:31 +01:00
Christian Hohnstaedt
351699546c less debug output 2006-12-04 13:04:35 +01:00
Christian Hohnstaedt
79ea230118 Use special dir for database 2006-12-01 14:19:01 +01:00
Christian Hohnstaedt
606ebf01c3 fix image of CRL export
add Key column showing the key-password state
use enum for key-state
Fix focus for password dialogs
Resize columns after item loading
2006-11-30 18:14:24 +01:00
Christian Hohnstaedt
b3cece8ef3 unify password lengths 2006-11-28 13:42:18 +01:00
Christian Hohnstaedt
9a6a1169b6 replace spaces by underscores for filenames
remove the whole baseDir thing, needed for Berkeley DB
minor fixes and cleanup
don't install the *.png on windows
2006-11-23 18:18:34 +01:00
Christian Hohnstaedt
99075dd607 add RSAwithSha256 for openssl 0.9.8
fix tab-enabling for templates and requests
remove obsolete code
use right compiler in configure
2006-11-15 17:16:26 +01:00
Christian
79cd9d4766 changes for doubleClick 2006-11-14 06:33:49 +01:00
Christian
3db4306bc6 add import of old database 2006-06-08 23:17:20 +02:00
Christian
37eb802e14 File IO exceptions added and database access improved 2006-06-06 22:17:16 +02:00
Christian
dae20bc28e Fix Password input and key encryption
Add CA properties
2006-06-05 23:14:38 +02:00
Christian
a08bb6a542 Password enhancement 2006-05-30 22:05:55 +02:00
Christian
6be660c3f6 Certificate renewal fixed
Export P7 completed
Signals of newKeys refixed
2006-05-22 23:11:21 +02:00
Christian
609c367471 Enable Certificate list in CRL,
make keycreation button work
2006-05-21 20:15:15 +02:00
Christian
813e115b8e Spaces deleted 2006-05-21 10:08:39 +02:00
Christian
4e550c4f66 Added PKCS12 and PKCS7 import
clicklabel colorized
Database password improvement
2006-05-20 02:57:58 +02:00
Christian
a656a56a66 - Delete unused view/ directory
- readd truststate
2006-05-18 23:46:03 +02:00
chris2511
104530485e Add multiimport and CRLs 2006-05-17 21:11:16 +00:00
chris2511
9773c7b36d more for QT4 2006-04-24 05:08:49 +00:00
chris2511
13b6bb9e07 more QT4 changes 2006-03-18 12:59:37 +00:00
chris2511
462eac83a3 certificates for QT4 2006-03-12 23:57:24 +00:00
chris2511
0091853a73 changes in building,
DSA keys
key format in database changed to contain the public key and
the private one in encrypted form.
2005-02-07 21:56:21 +00:00
chris2511
10017c9da5 changes from Ilya 2004-06-13 21:22:24 +00:00
chris2511
cc1f45bd2b revoke certs mentioned in CRLs
on load and import
2004-04-15 22:31:31 +00:00
chris2511
e8f4098173 allow empty passwords on PKCS#12 import 2004-04-15 11:47:19 +00:00
chris2511
a9a34847c2 "Authority info Access" enhanced
"aia.txt" as oid list added
2004-04-14 23:36:54 +00:00
chris2511
b4fa72433e search more intensive for the CRL signer, add /etc/xca/nid.txt
to OID search path
2004-02-18 00:03:02 +00:00
chris2511
84c0b66b36 cerrs removed 2004-02-12 18:53:37 +00:00
chris2511
05d95ece9c open db if explicit mentioned 2004-02-06 18:59:16 +00:00
chris2511
7d4f729190 fixes for SPKAC and database opening 2004-02-05 20:17:54 +00:00
chris2511
e4f7bf60dd CRLs will revoke existing certs 2003-12-12 16:01:29 +00:00
chris2511
f1ad05d171 *** empty log message *** 2003-12-11 17:02:38 +00:00
chris2511
f6b623fbe5 memeory leaks removed 2003-12-10 22:33:08 +00:00
chris2511
748e71a6e4 searching for leaks 2003-12-10 16:01:06 +00:00
chris2511
de21ec1e0f memory leaks searched for 2003-12-10 06:43:04 +00:00
chris2511
94f37c622c information about -b for basedir,
changes for Mingw32 and MSVC++
2003-12-04 22:17:20 +00:00
chris2511
d932fc0e82 Authority info access added
Certificate policies pending...
2003-11-30 20:56:56 +00:00
chris2511
ce13a085ea databases can be opened, changed and closed.
additional (private) oids can be registered in oids.txt
OIDs for extended key usage and Distinguished name are
now read from eku.txt and dn.txt respectively.
XCA does not open DB when viewing items from CMD line
2003-11-30 15:42:08 +00:00
chris2511
ee735eebc3 db open and close completed 2003-11-28 12:35:20 +00:00
chris2511
ab3c712240 About dialog and help window added
Mainwindow.cpp splattered over several files
database initialization happens only if needed
2003-11-28 00:38:10 +00:00
chris2511
b49ee62e68 SPKAC enhancement patch from W. Glas added
Mainwindow menu bar added
2003-11-27 15:39:29 +00:00
chris2511
5cf00e9c80 *** empty log message *** 2003-11-26 22:03:11 +00:00
chris2511
70296ed6fb pkcs7 export repaired and enhanced
documentation updated
2003-11-25 19:34:01 +00:00
chris2511
8005cf0433 Netscape SPKAC support added 2003-11-24 23:49:16 +00:00
chris2511
9ad2df7fe0 changed GENERALIZEDTIME to UTCTIME in CRLs
to make them compatible to Netscape.
solves Bug:
[ 845800 ] CRL Generation problem for Netscape
2003-11-24 13:42:44 +00:00
chris2511
294ef97227 fixed the following bugs:
[ 836967 ] Unable to specify alternate database
[ 843725 ] xca dies when opened with a pem key as argument
2003-11-24 12:51:23 +00:00
chris2511
55b01dcd1d repair Makefiles to hardcode the object names
init_database after we know the filename
2003-11-24 09:04:11 +00:00
chris2511
82a925a9ff changes in renaming items with QT3
VERSION 0.4.5
2003-08-13 21:14:39 +00:00
chris2511
94cbf6b82a [ 737036 ] make error texts copiable from pop-up-windows to clipboard
by adding a button doing this
2003-08-13 10:25:51 +00:00
chris2511
de994d0917 [ 765774 ] change password for database 2003-08-12 13:50:05 +00:00
chris2511
e559c9b1c6 Change password 2003-08-11 22:14:15 +00:00
chris2511
8ce6067574 MS OIDs added 2003-08-07 12:40:15 +00:00
chris2511
e0f970005a import of multiple items of 1 type implemented 2003-08-05 18:45:30 +00:00
chris2511
c073168b71 commandlineimport enhanced 2003-08-05 15:44:34 +00:00
chris2511
592ae276a4 critical flag in key usage and extended key usage works now
Import of Multiple items is done and works
2003-07-30 14:55:29 +00:00
chris2511
33bfc9ba28 more ImportMulti 2003-07-29 18:09:00 +00:00
chris2511
f3f3437170 insert moved to db 2003-07-25 05:54:58 +00:00
chris2511
c4ade00d86 multi import 2003-07-22 21:57:17 +00:00
chris2511
cbc44c591d started to export and import templates 2003-07-17 22:24:07 +00:00
chris2511
77bf12a0f5 import of PKCS#12 keys repaired crl icon added to win installation 2003-07-17 13:37:36 +00:00
chris2511
51bbc1dcaf self-sufficient KeyDetail dialog added,
/usr/local/... removed from Makefile
Buttons "Export Cert" and "Change Template"
reconnected.
2003-07-16 22:20:11 +00:00
chris2511
4fe86655db Import via commandline repaired,
signing of requests without key fixed
Changes for WIN32 version from Ilya added
2003-07-14 22:24:03 +00:00
chris2511
a4a0a621cb add PFX import button to Keytab 2003-07-10 05:55:09 +00:00
chris2511
4da20ce414 *** empty log message *** 2003-07-08 19:00:58 +00:00
chris2511
ad0b255aa9 *** empty log message *** 2003-07-07 22:45:07 +00:00
chris2511
37e803e444 This version works already pretty good 2003-07-06 16:28:21 +00:00
chris2511
fb5d6e0c0e *** empty log message *** 2003-07-03 15:16:28 +00:00
chris2511
6567840cd4 special widget for green/red display of values 2003-07-02 22:52:43 +00:00
chris2511
d8491a3e13 *** empty log message *** 2003-07-02 15:38:05 +00:00
chris2511
93a5908148 revokation lists repaired 2003-07-01 22:36:12 +00:00
chris2511
7daec54d19 translations moved to its subdir 2003-06-30 14:16:18 +00:00
chris2511
35680ff649 Certificate creation works again, validity settings elaborated 2003-06-29 22:03:10 +00:00
chris2511
67294fc708 *** empty log message *** 2003-06-25 23:38:49 +00:00
chris2511
53915cf528 *** empty log message *** 2003-06-24 15:43:03 +00:00
chris2511
360d8b90f3 moved some widgets to ./widgets/ subdir 2003-06-22 22:36:32 +00:00