Commit Graph

163 Commits

Author SHA1 Message Date
Christian Hohnstaedt
df78e4380e SF Bug #87: Unable to set default key length
Added a "Remember as default" checkbox to the key input dialog.
The default key size is now 2048 for RSA and DSA keys.
2014-04-11 19:29:45 +02:00
Christian Hohnstaedt
8168ca5181 QMessageBox: protect against HTML parsing
The default message box displays the message as HTML
Don't do that.

Thanks to Artur Czyz (artur_czyz at wp.pl) for finding it.
2014-04-11 19:29:45 +02:00
David von Oheimb
9507a6a154 Add more EC curves
Since OpenSSL supports a couple of more EC curves
than currently selectable by XCA.

Signed-off-by: Christian Hohnstaedt <chohnstaedt@innominate.com>
2013-11-22 16:27:50 +01:00
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
e38dd7758f fix support for MAC OS X 2012-05-06 11:16:41 +02:00
Christian Hohnstaedt
a9b5caa0bc Bug #3461403 Error when create certificate with CRL distribution point
become more userfriendly:
 - by indicating the validity with an appropriate
   icon in front of AIA, SAN IAN and CDP.

 - by checking the validity before creating the real certificate.

 - by improving the edit button, to automatically add an "URI"
   as type, if the type is missing, or is for example "http"
2012-04-01 12:41:43 +02:00
Christian Hohnstaedt
5f4d3e1084 Bug #3485139 Exception when creating certificates in passwordless db
Fix key decryption in case of an empty password.
Use "" instead of NULL for EVP_BytesToKey()
2012-03-31 14:28:37 +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
6cd878133b improve paste-PEM import 2011-06-22 07:12:24 +02:00
Christian Hohnstaedt
642295dc88 update docs and DH parameter label 2011-05-02 06:56:43 +02:00
Christian Hohnstaedt
722c20a2b4 improve pasting PEM data 2011-04-30 07:53: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
257641be16 improve DH parameter message 2011-04-26 06:33:59 +02:00
Christian Hohnstaedt
84998b6ca3 reduce overlong filenames
Thanks Andreas Piesk
2011-02-02 18:12:38 +01:00
Christian Hohnstaedt
49543a322d improve password dialogs 2011-02-01 19:20:30 +01: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
4c58c5f4c0 Minor typo: remove duplicate '/' 2010-10-01 06:46:08 +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
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
836a8a4c15 keep compatibility to QT 4.3.0 2010-07-16 08:15:22 +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
8cda76cb1f Show the name of the database when asking for the password 2010-07-03 08:05:37 +02:00
Christian Hohnstaedt
ef9207a073 tell the user about non-importable data 2010-06-23 07:13:26 +02:00
Christian Hohnstaedt
d9c3661608 Tell user about illegal files
Tell the user about any files that did not contain any crypto items
2010-06-19 14:28:25 +02:00
Christian Hohnstaedt
3524b024e9 Support Drag and Drop
Add eventhandler for file-open events.
This happens when opening a database or
other item with XCA in the Finder

Dragging an item onto the mainwindows shows the item and imports it
if desired
2010-06-17 20:48:38 +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
58e8b37a61 exit application if commandline import is aborted 2010-05-17 07:14:41 +02:00
Christian Hohnstaedt
9ecf9e001a update commandline option documentation 2010-04-10 12:13:13 +02:00
Christian Hohnstaedt
8e51ef479a note non-existing files mentioned on command line 2010-04-10 11:31:21 +02:00
Christian Hohnstaedt
929fed6c36 remove debugging code 2010-04-09 07:49:21 +02:00
Christian Hohnstaedt
3594482299 enable cancel button during renaming items and initializing tokens 2010-04-09 07:22:21 +02:00
Christian Hohnstaedt
8688365e33 minor improvements 2010-03-27 13:04:27 +01:00
Christian Hohnstaedt
984798659c add DH param generation 2010-03-24 08:08:18 +01:00
Christian Hohnstaedt
01c8b89edd autoimport from cmdline 2010-03-22 21:21:21 +01:00
christian
a6dcd841c2 manage token: delete from this token 2010-03-14 09:34:25 +01:00
Christian Hohnstaedt
1102308dfc extend Multi-import dialog to token-manager
- add token information
 - add "Delete token" button
2010-03-14 09:34:25 +01: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
7e90bd80f9 add new Menu item: Token
- manage PINs and tokens via this menu
 - update documentation
2010-03-02 08:23:25 +01:00
Christian Hohnstaedt
b02b25b168 fix initToken 2010-03-01 08:22:50 +01:00
Christian Hohnstaedt
8b842925bc improve PIN changing dialogs
- use token.label to identify the slot
 - show min and max PIN lengths when changing USER and SO PIN

 - sanitize token strings like label
 - pad token strings correctly with ' ' 0x20
 - reenable "Init Security token"
2010-02-28 15:07:25 +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
d1f2b1cdba improve key-value tables
for "additional DN entries" and "SAN/CDP/AIA edit-boxes":
 - make type-selection a combobox
 - make rows reorderable
2010-02-26 08:14:54 +01:00
Christian Hohnstaedt
59f99fb33c allow certificates to be written to any token
- consolidate token-select dialog

 - update changelog
2010-02-24 21:04:52 +01:00
Christian Hohnstaedt
56eea60093 change button-text during token-select
- only enable token-initialisation if a database was loaded
   because the PKCS#11 lib is stored in the lib.
2010-02-23 07:34:26 +01:00
Christian Hohnstaedt
345cdc1083 improve messages and usability
- update german translation
2010-02-21 16:24:00 +01:00
Christian Hohnstaedt
3b600c1c6b improve token handling
- support Token initializing
 - support deleting any certificates from tokens
 - fix prepare_card API
 - replace HTML entities when generating HTML ouput
2010-02-17 07:20:18 +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
ca69e1e882 fix filename handling 2009-12-05 19:09:47 +01:00