Commit Graph

26 Commits

Author SHA1 Message Date
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
10436bf753 Differentiate between invalid and undefined date
Undefined end dates are described in RFC-5280
Invalid dates should never ever arise in certificates.

Add configuration option to disable the colorization of expired dates.
2012-04-10 13:09:09 +02:00
Christian Hohnstaedt
323923f00c Add PKCS#11 library searching facility
Also fix dir-separator on W32
2011-07-20 07:21:31 +02:00
Christian Hohnstaedt
813faede06 catch error in driver info when displying pkcs#11 libs 2011-07-16 10:16:07 +02:00
Christian Hohnstaedt
1a3a417bb6 cleanup after closing a db and reset settings before opening it
Since OpenSC is not part of XCA anymore, set the default
PKCS#11 lib on windows to C:\WINDOWS\system32\opensc-pkcs11.dll

Also disable Token menu after closing a database.
2011-07-15 07:18:18 +02:00
Christian Hohnstaedt
9eaad7020a Fix PKCS#11 library handling
In case of an empty PKCS#11 library list, the default was
selected again.
Now the list remains empty and the Token menu stays disabled.
2010-09-01 18:40:43 +02:00
Christian Hohnstaedt
ebe027830a avoid empty PKCS11 library name 2010-08-27 19:18:21 +02:00
Christian Hohnstaedt
9924d39668 set sane start dir for PKCS#11 lib selection 2010-08-14 11:01:31 +02:00
Christian Hohnstaedt
23ad77b6f0 Support multiple PKCS#11 provider 2010-08-11 23:12:48 +02:00
Christian Hohnstaedt
d34cc82e1f avoid the need of pkcs11 engine
the sole use of the engine was signing.
But on the other hand it had to be compiled for all platforms
and it prevented the use of multiple PKCS#11 libs.
2010-08-10 21:58:51 +02:00
Christian Hohnstaedt
fb62b3aba8 Change default string encoding
Now by default it uses Printable string and only if
the value can't be encoded as printable string it will use
UTF-8 instead.
2010-07-15 20:54:23 +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
cceec6a700 improve PKCS#11 lib loading for Windows 2010-03-12 08:17:25 +01:00
Christian Hohnstaedt
f1c528fcc9 update copyright information 2010-03-11 07:13:48 +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
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
9f900ae6f7 update copyright date to 2009 where appropriate 2009-11-24 17:54:21 +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
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
c7dc959084 add a load button
- when changing the PKCS#11 library path in the options dialog
   a load button tries to load the lib and informs
   about failure or success
2009-11-11 09:25:59 +01:00
Christian Hohnstaedt
1f93c82010 pkcs#11 fixes
- support pkcs#11 library selection by file dialog
 - don't prompt for pin if CKF_PROTECTED_AUTHENTICATION_PATH
   untested, because of ENODEV on my desk
2009-11-06 08:18:38 +01:00
Christian
f156d6dee6 fix typo in options, update documentation 2007-05-29 21:36:19 +02: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
b0b9cd1d00 Add options dialog, not done yet...
unfy hashAlgo handling (hashBox)
2007-05-13 20:09:45 +02:00