Commit Graph

222 Commits

Author SHA1 Message Date
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
610a20d1f2 Add x509v3 extensions to the list of selectable columns
Requests and certificates can display the extensions in the table
and be sorted by them.

make the key identifiers display in numerical style
2011-06-21 22:06:39 +02:00
Christian Hohnstaedt
b622e64209 consolidate Password and Pin input dialogs
change storage type of passwords from char[] to QByteArray
Create PwDialog class and drop passWrite and passRead
Create Passwd class derived from QBytearray
move PKCS12 password input to PwDialog
2011-04-30 07:53:26 +02:00
Christian Hohnstaedt
00f1bbb5b3 Make EC parts of XCA depend on OpenSSL config
Some distributions ship an OpenSSL installation without
EC Support.
XCA evaluates the OPENSSL_NO_EC flag to disable EC

Thanks to Andreas Piesk for his patch
2011-01-06 07:01:29 +01:00
Christian Hohnstaedt
603cc7d9be Improve Columns of all Items Feature Request [849713]
Keys: Sort Keysize numerical
Certs: CA, fingerprints, start date (notBefore)
Crl: CRL number , Last update

Requests, Crls, Templates, Certs: All subject items and the full name
2010-07-30 06:54:14 +02:00
Christian Hohnstaedt
fd776644ac improve error messages 2010-07-24 22:17:52 +02:00
Christian Hohnstaedt
9085ecbd4e More support for public keys
Extract public key from cert and request
Show public keys in requests- and cert-details in red
Allow using public keys for certs. Useful if not selfsigning
2010-07-22 06:57:32 +02:00
Christian Hohnstaedt
de851ed3a9 Changed all header includes to QT4 names and included the correct component name
By Andreas Piesk. Thanks!

adapt to HEAD since the patch is based on 0.6.4

drop qt4/Qt include in list of includes during configuration
2010-06-13 11:49:38 +02:00
Christian Hohnstaedt
670c45e268 Update translation and messages
- extended russian translation by Pavel Belly
 - dropped approach to create sentences from different parts
   like "Successfully created %1 '%2'" with %1 being "the certificate"
   and %2 being the name. This leads to trouble for other languages.
   Therefore I decided to mention the whole sentences and accept
   the many, almost duplicated sentences.

 - Consolidate german translation:
   . Smart card/Smartcard -> Chipkarte
   . Besitzer -> Inhaber
   . Unterschriftsanfrage/Zertifikatsanfrage -> Zertifikatsantrag

 - Support translations for pki_*.cpp by adding Q_OBJECT
2010-05-17 06:51:24 +02:00
Christian Hohnstaedt
410ed8b091 update changelog and translation
- document special handling of translation for other translators
   (and me, when I forgot about)
2010-04-23 07:43:48 +02:00
Christian Hohnstaedt
f1c528fcc9 update copyright information 2010-03-11 07:13:48 +01:00
Christian Hohnstaedt
0230061855 replace allocated strings by QByteArray for datastorage 2010-03-08 07:50:08 +01:00
Christian Hohnstaedt
825fea569d improve token handling
- add tokenInfo.model to the card information, revamp tokenInfo
 - add driverInfo()
 - use token_info.label (card_label) as token descriptor for reading passwords
 - use only CKA_LABEL as internal name
2010-02-28 10:31:53 +01:00
Christian Hohnstaedt
00eccfe98f add informational messageboxes
- for keys, requests, certificates, crls or templates
 - when successfully created or imported one.
2010-02-23 19:17:44 +01:00
Christian Hohnstaedt
d362a9c51e add new Token-features
- replace occurances of "Smart Card" by "Token"
 - Support for creating keys on a token
 - Store existing keys on a token
 - delete keys and certs from a token
 - update docs
2010-02-17 07:20:18 +01:00
Christian Hohnstaedt
bd90901c10 change filename handling to support UTF8 names 2009-11-24 19:16:25 +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
48f59e9d1a support for PIN changes of Smart card tokens. 2009-11-01 19:41:29 +01:00
Christian Hohnstaedt
7fe7a06c7b merge Scard details and key details 2009-10-30 08:18:16 +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
66c7db0350 Start implementation of SmartCard support
- use PKCS#11
 - load keys and showing them works
2009-10-28 18:54:22 +01:00
Christian Hohnstaedt
6aed17386b look closer at errors 2009-09-10 07:58:38 +02: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
92a13b34ea fix item export error-handling 2007-08-31 13:46:21 +02:00
Christian
66876dd880 more PEM import 2007-08-23 20:31:46 +00:00
Christian Hohnstaedt
4ed20f5819 add pki_multi for multiple pki items. 2007-08-23 18:57:22 +02:00
Christian Hohnstaedt
deec9eb993 Minor changes
- Add predefined templates to the list of templates
 - fix extension duplication bug in post 0.6.3 release
 - change Password dialog text properties
 - remove unused/duplicate code in lib/pki_key.cpp
2007-08-13 13:53:30 +02:00
Christian
cab27442ce whitespace correction 2007-05-23 23:24:31 +02:00
Christian
eefbf7efde Merge branch 'qmake'
Conflicts:

	lib/func.cpp
	lib/func.h
	lib/pki_base.h
	lib/pki_x509super.h
2007-04-29 23:57:57 +02:00
Christian
c2018c0e58 - fix segfault
- switch string handling to UTF8
2007-04-29 18:48:17 +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 Hohnstaedt
fa92c4c31f improve error handling and error messages during the load
of items. Also fix some fd and memory leakage.
2007-02-12 16:26:15 +01:00
Christian
c35ec0d23a - move hash algo into signer box [ 1656260 ]
- make QA serial a compile time option
 - fix and enable QA serial
 - code styling
2007-02-11 12:39:09 +01:00
Christian
5c21c9be24 fix compiler warning 2007-01-31 00:06:33 +01:00
Christian
8427a6e6fb add clicklabel-support for CRLs
fix possible segfault for uninitialized database password
2007-01-31 00:02:37 +01:00
Christian
fd7d05dc65 fix default extension of templates to be xca
remove unneeded printfs
2007-01-04 23:57:15 +01:00
Christian
9012225995 readd old commit 2007-01-01 20:33:08 +01:00
Christian
c49e75077b minor fixes 2006-12-29 10:58:57 +01:00
Christian
0013bc561c Fast fix for openssl 0.9.8 2006-12-19 23:36:16 +01:00
Christian
f57b110765 Merge branch 'master' of tweety:src/xca 2006-12-19 23:28:40 +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
141f0e0218 Fix uninitialized/Null pointer segfault 2006-12-13 21:37:36 +01:00
Christian
64333cff30 fix SPKAC import
set x509 extension viewer Read only
resort Tab order in NewX509
fix Key-repass error
2006-12-08 23:26:52 +01:00
Christian Hohnstaedt
ee08c20214 Fix Public key issues
- don't show password change in menu
 - show "No password" in list
 - decrypt key by copying the Public

Fix multi-import and don't abort on error
2006-12-08 17:12:51 +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
6f3932983a Fix for gcc4
delete my bogus default password
2006-11-28 13:12:22 +01:00
Christian
d147841f39 minor changes in COPYRIGHT
fix database dump
extend Cert and key  export possibilities
enhance autoIntName and req and cert loading
fix ImportMulti->details
erase default password on database close
2006-11-22 00:09:16 +01:00
Christian Hohnstaedt
f0d2fa3e39 Fix warnings
mv showItem() to db_base class
cleanup
Disable PKCS#7 signing and encryption
2006-11-17 15:05:48 +01:00
Christian Hohnstaedt
c980a5e8d4 Add export format for apache-ssl
cleanup
fix bug in PKCS#12 immport
2006-11-16 17:57:51 +01:00
Christian Hohnstaedt
51510e9390 remove sleepycat from licence info
add connects for edit and doubleClick
2006-11-14 23:04:16 +01:00
Christian
79cd9d4766 changes for doubleClick 2006-11-14 06:33:49 +01:00
Christian Hohnstaedt
0e11d745d8 fix signer finding algo 2006-06-12 17:29:42 +02:00
Christian
a4b531af8c PKCS#12 export fixed 2006-06-11 23:03:10 +02:00
Christian
3db4306bc6 add import of old database 2006-06-08 23:17:20 +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
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
chris2511
104530485e Add multiimport and CRLs 2006-05-17 21:11:16 +00:00
chris2511
13b6bb9e07 more QT4 changes 2006-03-18 12:59:37 +00:00
chris2511
c6622680db push forward to QT4 2006-03-12 17:39:52 +00:00
chris2511
d80d1ff6d2 small fixes 2005-05-23 18:23:19 +00:00
chris2511
8f9f615713 small changes, fix progressbar length for DSA keys 2005-05-23 18:18:55 +00:00
chris2511
f56bf74ba5 add support for building on Mac OS X
including app dir and dmg
Fix extension bug for requests
2005-05-17 23:41:53 +00:00
chris2511
542d2981ab fix keysize displaying
change Mainwindow UI to Mainwindow and get QT-2 incompatible - Sorry
Windows users :-)
2005-05-11 15:41:25 +00:00
chris2511
4f783fe7b0 fixed deleting of unneeded extensions from cert for request 2005-02-26 01:53:52 +00:00
chris2511
9a58b1513c add V3 extension support for Requests 2005-02-25 23:41:56 +00:00
chris2511
36817f98d9 add function to dump the database into the filesystem 2005-02-09 00:03:56 +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
1c6bfca323 patch from Mikael Magnusson
change of key handling started (DSA dupport and stronger security)
2004-09-21 22:10:52 +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
e21066dbef debian menu added,
version 4.7-RC1
2004-02-05 23:05:00 +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
de21ec1e0f memory leaks searched for 2003-12-10 06:43:04 +00:00
chris2511
6cf2d0320e loading from file moved from constructor to
method fload()
2003-12-09 17:25:22 +00:00
chris2511
ee735eebc3 db open and close completed 2003-11-28 12:35:20 +00:00
chris2511
ea3775c71f Template changing when creating certificates repaired
Import of Templates fixed.
2003-08-04 23:40:39 +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
8be3abe818 *** empty log message *** 2003-07-03 05:58:18 +00:00
chris2511
67294fc708 *** empty log message *** 2003-06-25 23:38:49 +00:00
chris2511
360d8b90f3 moved some widgets to ./widgets/ subdir 2003-06-22 22:36:32 +00:00
chris2511
fe46ff670f all strings replaced by QString 2003-06-18 16:04:26 +00:00
chris2511
81d9b962a4 grosse Baustelle 2003-06-12 20:23:45 +00:00
chris2511
6fd0dadc86 nameoneline for index.txt added, bug in key_write removed
export to tinyca / openssl-ca completed
2003-03-05 22:47:03 +00:00
chris2511
756024c9c6 remember workingdir in export cert and key
configure changed
change suffix when changing cert-export-format
2003-02-05 21:07:17 +00:00
chris
9f650fff0c bugs removed 2003-01-06 19:35:46 +00:00
chris
dc13e910eb check for OpenSSL 0.9.7 2002-12-17 23:41:37 +00:00
chris
c58c851b79 import certs from PKCS7, changes to compile against OpenSSL 0.9.7 2002-12-17 19:56:07 +00:00
chris
cafc1cbec3 std:: added 2002-12-16 21:32:16 +00:00
chris
e2ece96256 PKCS7 signing works
sed s/string/std::string/g
2002-12-16 20:28:17 +00:00
chris
0263e1d5bc *** empty log message *** 2002-10-21 18:50:04 +00:00
chris
3f3541b317 Prettier keydetails 2002-10-21 18:31:20 +00:00
chris
9be85c8eeb Nullpointer-crash eliminated 2002-10-21 17:46:42 +00:00
chris
cb00e4efc4 shows sizes in debug 2002-10-21 16:28:45 +00:00
chris
a0e4711a9f import of mutiple certs/keys/requests/pkcs12
nullpointer exception removed
2002-10-16 21:47:00 +00:00
chris
b320733068 exceptions added 2002-10-13 22:34:40 +00:00
chris
c3eaab7bec printf debugging enhanced :-) 2002-10-10 18:18:37 +00:00
chris
03f3ab4919 key-use counter works now well 2002-10-09 18:55:02 +00:00
chris
056d7b140f changes for windows 2002-09-21 16:29:04 +00:00
chris
7b2a140c36 many bugs removed
key rename bug removed
issAltNAme bug droped
2002-09-21 02:23:13 +00:00
chris
0860c0ef24 typo 2002-09-08 23:16:13 +00:00
chris
e1b31985ea Version++
added $id$
pkcs12 import implemented
2002-09-08 21:37:44 +00:00
chris
463e3efc95 Copyright changed to BSD-license
Licenseinformation added to each *.cpp *.h file
File export diealog bug removed
2002-09-07 18:01:01 +00:00
chris
357d3cd30f copyconstructors added to pki_key and pki_x509
pkcs12 import added to pki_pkcs12 class added
2002-09-07 14:51:01 +00:00
chris
f089fb1f4b more translation
pkcs12 export added
2002-07-17 23:52:49 +00:00
chris
71b6ea7cdd V3 extensions:
basic constraints, key usage and subject/authority key identifier
2002-07-14 22:45:59 +00:00
chris
a782c37b8f Signatures can be done with requests and from scratch,
Certificate for signing can be self or foreign,
password is saved as md5sum,
bugs in displaying requests in list, and showing their keys solved
same with certs
2002-07-13 20:57:50 +00:00
chris
7ff69f4688 Tree view for certificates
initial password (does still not work)
saving and restoring of settings
2002-07-11 01:42:03 +00:00
chris
cf347d7d4a removed changes of yesterday
all data is loaded in containers on startup
2002-07-10 00:21:45 +00:00
chris
608afde1c3 added info to keys in database
added debian dir for .deb packages
nifty keyimages for listbox
2002-07-08 22:37:57 +00:00
chris
bc7e7ba4ca added notBefore and notAfter members to pki_x509
added VERIFY_X.. enum as returnvalue vor verify
2002-03-14 23:02:46 +00:00
chris
b09bd2db08 added rough x509 cert handling 2002-03-05 22:31:49 +00:00
chris
f39391c018 Version++
works with new classes in libs
images added
2002-03-03 19:22:12 +00:00
chris
2da5d066f5 some fixes still crashes :-( 2002-03-01 22:07:38 +00:00
chris
3ae32ae24b links to the libraries in "lib/"
works but crashes, because of string::data() w/o '\0'
Hint: on linker cmdline mention first the .o and then .a
2002-02-28 23:57:26 +00:00
chris
eaf49ba9de library almost ready.... 2002-02-27 23:08:24 +00:00
chris
38a600daf6 The new libraries libpki.a and libxcadb.a 2002-02-27 00:39:41 +00:00