Commit Graph

267 Commits

Author SHA1 Message Date
Christian Hohnstaedt
7ea7af0cd4 Improve display of token information 2018-03-06 09:51:25 +01:00
Christian Hohnstaedt
c2007a13ee Minor fixes: Store token in DB, Load settings, 2018-03-06 09:02:06 +01:00
Christian Hohnstaedt
64d64d5130 Allow editing key name and comment in the key details 2018-03-05 07:46:11 +01:00
Christian Hohnstaedt
af0e0a75b9 Drop dnPolicy for now 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
e6c92ce890 Improve transactions, fix CA template and CRLdays import
Make ItemCombo a template class
2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
0745e18da2 Allow to edit item properties 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
fbde63e98d Add Views and a concept of schema updates 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
fc7fc357ac Support opening remote databases MySQL and PostgreSQL 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
2a0a4630ae Extend authority table and fix CaProperties 2018-03-05 07:46:09 +01:00
Christian Hohnstaedt
fe6062f16e No more increasing serials. Only random serials. 2018-03-05 07:46:09 +01:00
Christian Hohnstaedt
4b3ee2c705 Switch database format to SQL(ite)
This is a large squash of many small commits.

Allow porting data from the legacy format to SQL.
Store Binaries base64 encoded and use db->transaction
Update password hash to be 8000 x SHA512 with 8 byte Salt
Add revocations table and fixup CRL generation
Add comment and insertion date columns

Fix column saving, remove trust, add XcaDialog
Allow changing the internal name and comment in Cert/Req details view
Extend Comment functionality, Replace About.ui by XcaDialog.ui
2018-03-05 07:42:36 +01:00
Christian Hohnstaedt
3f35cdccf8 Cleanup the OID text files, remove senseless aia.txt
- Remove all aia.txt from the Code, Documentation and ToolTip
- Add an Operating system dependent help hint
- Replace unix LF by DOS CR-LF for windows installation
2018-02-01 00:05:40 +01:00
PF4Public
15845796cd New CRL button 2016-04-09 06:40:39 +02:00
PF4Public
5d9dcbbde9 New key recommendations 2016-04-09 06:40:39 +02:00
PF4Public
c0130feafa Some pedantic edits 2016-04-09 06:40:39 +02:00
Christian Hohnstaedt
5fe43f5b2b Update german translation 2015-10-17 13:53:01 +02:00
Christian Hohnstaedt
6ac9389361 Make OID resolver Non-modal and let other widgets display details
- column items with context menus
 - double-click labels of the DN and X509v3 extensions
2015-10-01 13:39:11 +02:00
Christian Hohnstaedt
26d19c488f Add OID resolver, move some Menu items to "Extra"
The OID resolver accepts any input OID, Nid, LongName, ShortName
and looks it up in the OpenSSL OID database.
2015-09-29 16:11:53 +02:00
Christian Hohnstaedt
f8c90cc0e6 Resize certificate export dialog 2015-08-21 08:35:39 +02:00
Christian Hohnstaedt
6eef8ee2e7 Use OpenSSL 1.0.2c 2015-07-07 16:49:03 +02:00
Christian Hohnstaedt
29543979e9 Refine export dialog, seed prng berfore DH parameter generation 2015-07-04 05:48:11 +02:00
Christian Hohnstaedt
010933df58 Assure compatibility with Qt 4.6 2015-05-18 15:35:33 +02:00
Christian Hohnstaedt
c00db626c5 Support editing the CRL number when generating CRLs 2015-05-17 13:22:47 +02:00
Christian Hohnstaedt
75a6d117f3 Refactor context menu
Better support multiple selections
 - Export all selected items into one PEM file
 - Batch Revoke/unrevoke/renew of many selected certificates
   of the same issuer
 - allow exporting templates as PEM

Add Feat. Reg. #83 Option to revoke old certificate when renewing

Always put all signed certificate to the newest CA.
If a CA certificate is renewed, all certificates issued by
the old CA are now shown as signed by the new one.
2015-05-17 09:17:04 +02:00
Christian Hohnstaedt
90f351b2cb Refactor CRL handling 2015-04-20 18:25:59 +02:00
Christian Hohnstaedt
58142b487c Fix syntax errors in documentation and english phrases
Thx Patrick Monnerat <Patrick.Monnerat@datasphere.ch>
2015-04-10 19:27:05 +02:00
Christian Hohnstaedt
698c10216f Add option for disabling the very very legacy Netscape extensions
Maybe this setting will become the default in future releases....
2015-04-09 18:49:03 +02:00
Christian Hohnstaedt
ab8407e6c0 Use the monospace table-font for KeyDetail Modulus 2015-04-09 15:05:44 +02:00
Christian Hohnstaedt
67d270b9ae Consolidate Export dialogs 2015-04-06 00:04:35 +02:00
Christian Hohnstaedt
f5434dd6f3 SF Feat. Req. #75 show SHA-256 digest
.. in the details dialog and as extra column in the table
2014-11-18 17:55:11 +01:00
Christian Hohnstaedt
b131e1d293 Consolidate more "established x509 terms"
like basic constraints, key usage and netscape-thingies
2014-11-14 22:54:35 +01:00
Christian Hohnstaedt
8aa5141078 Optionally allow hash algos not supported by the token
Especially EC and DSA signatures are only defined
with SHA1 in PKCS#11 v2.20 spec
2014-11-13 20:10:18 +01:00
Christian Hohnstaedt
a97b8f9add Select whether to translate established x509 terms 2014-11-13 20:10:18 +01:00
Christian Hohnstaedt
dcd940b6b8 SF Feat. Req. #57 More options for Distinguished Name
Make explicit DN subject entries configurable
per database.
2014-11-12 22:19:44 +01:00
Christian Hohnstaedt
0d782fce85 Update Croatian translation
Thanks to Nevenko Bartolincic <nevenko.bartolincic@gmail.com>

Also remove some since long unused "WhatsThis" messages.
2014-11-05 06:58:26 +01:00
Christian Hohnstaedt
40f33d37f0 SF Feat. Req. #76 Export private keys to clipboard
Before exporting the private key an acknowledge is
required. Here you may opt to only export the public key.

While at it, display the internal Name in export dialogs
2014-11-01 18:51:39 +01:00
Christian Hohnstaedt
a2a5161979 SF Bug #88 Minor spelling error
Certifikate -> Certificate
Revokation -> Revocation
2014-04-11 19:29:45 +02:00
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
4c995a25c2 update french translation
Fix typo and update language files
2012-05-08 06:55:23 +02:00
Christian Hohnstaedt
bd689c3ba7 Fixup PwDialog 2012-05-06 11:16:45 +02:00
Christian Hohnstaedt
90eb646e70 update translations from launchpad
Drop unneeded phrases
2012-04-10 13:09:13 +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
a0baea653b Improve Date displays and input
Make asn1time be based on QDateTime

Support for local time and GMT in
displays and input
2012-04-03 21:07:08 +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
323923f00c Add PKCS#11 library searching facility
Also fix dir-separator on W32
2011-07-20 07:21:31 +02:00
Christian Hohnstaedt
e7260c9288 avoid minor warnings 2011-07-17 08:54:15 +02:00
Christian Hohnstaedt
e33eb7e076 minor gui fixes 2011-07-08 18:45:39 +02:00
Christian Hohnstaedt
72840d483a fix build system 2011-07-07 18:24:18 +02:00
Christian Hohnstaedt
c432a9eb91 update build-system
avoid partial linking, which seems to break OS X builds

no more opensc for windows. There is an opensc installer
for opensc now.
2011-06-20 05:51:03 +02:00
Christian Hohnstaedt
2502a0531f Feature Request [3286442] Make success/import messges optional 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
681db21221 rename "Remove" to "Remove from list" 2011-02-02 18:11:09 +01:00
Christian Hohnstaedt
49543a322d improve password dialogs 2011-02-01 19:20:30 +01:00
Christian Hohnstaedt
9f7840e012 merge cert details and request details 2010-08-24 07:27:34 +02:00
Christian Hohnstaedt
a4e255e799 Fix Bug [3047021] Double word in option 2010-08-17 16:51:48 +02:00
Christian Hohnstaedt
baf0428a82 update translation and xca.pro 2010-08-15 12:27:19 +02:00
Christian Hohnstaedt
23ad77b6f0 Support multiple PKCS#11 provider 2010-08-11 23:12:48 +02:00
Christian Hohnstaedt
5383c8c43f Consolidate export dialogs 2010-08-07 13:40:25 +02:00
Christian Hohnstaedt
f572eb3898 Messageboxes use the Buttongroup
The buttongroup behaves as expected on different Environments

update translation
2010-08-06 19:08:14 +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
20b166488f Improve CRL generation [3035294]
Add CRLNumber for the CRL.
Add InvalidityDate and CRL-reason for each entry.

CRL-hold-instruction-code not supported, yet.
2010-07-29 07:41:49 +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
a7c40be095 After all we are able to convert all extensions to config
Add a button to the certificate detila dialog to show the
extensions as OpenSSL config

improve AuthKeyId

Allow selecting public keys for certificates.
This works if it is signed by an other cert.
2010-07-21 17:52:17 +02:00
Christian Hohnstaedt
ac371b697a improve date and time input
- Only once set notBefore to "now" when creating Cert-renewal
  or NewCert dialog.

- Apply-time button now always uses the current value from notBefore
  and adds the time-span without resetting notBefore

- Checking "midnight" now immediately modifies the dates.
  Unchecking "midnight" now recovers the old value

- The seconds are always set to 00, since they can't be set via
  the DateTime dialog anyway

- CRL generation now too allows to use midnight and time ranges
  and uses GENERALIZED time if the date is out of range for UTCTIME
  (same logic as for certificates)
2010-07-14 20:54:59 +02:00
Christian Hohnstaedt
6f52de72ec allow linebreak for text in password dialog 2010-07-09 17:58:39 +02:00
Christian Hohnstaedt
5544b019bc allow translation of well-known english expressions in the tool-tip 2010-05-25 07:35:44 +02:00
Christian Hohnstaedt
3851eb3137 improve layout of basic constraints 2010-05-17 06:51:32 +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
681c46bb71 minor changes
- fix doc-errors
 - Make "Create" the default in the new key dialog
 - do not disable template selection, when creating a cert from
   a template
2010-04-15 06:34:07 +02:00
Christian Hohnstaedt
cde362b40f fix minor uic error 2010-04-12 20:13:18 +02:00
Christian Hohnstaedt
4398b2afc5 move frame and shape definition of copyable labels to copylabel
- drop label styles from UIs and c++-files
 - set sigAlg and serial to copyable label
2010-04-12 19:41:37 +02:00
Christian Hohnstaedt
1058cf1fbb Support renaming items on the token 2010-04-06 07:38:38 +02: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
4d6a26c37d fix name in truststate dialog 2010-03-11 07:12:14 +01:00
Christian Hohnstaedt
01fa5628ed improve key-value input
- add input validators
 - add information about valid characters and length
 - add translations
 - untranslate X509 specific expressions
 - add 'critical' checkbox to SAN IAN AIA CDP edit box
2010-02-27 09:20:47 +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
6f5e1da5b6 apply partial template-contents
- applying the subject only or the extensions only is possible
   via different buttons.
   This way a name-template can be created and combined with an
   extension-only-template like HTTPS_client.
2010-02-24 08:07:22 +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
03c9fbb6c0 add old names of DN entities as tooltip
- to stay a little backward-compatible. They will be translated.
2010-02-23 08:18:30 +01:00
Christian Hohnstaedt
a5ff4f7567 add support for random serial numbers
- add a CA option to enable/disable 8byte random serial numbers.
   every newly generated serial number is checked against the currently
   existing ones.
2010-02-23 07:40:10 +01:00
Christian Hohnstaedt
92b0def437 minor optical changes 2010-02-23 07:39:39 +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
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
dbad217a9f improve file-dialog handling
- resize columns to fit to the longest entry
 - Ask once if an existing file shall be overwritten
2009-12-06 16:39:17 +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
3ef46f7501 minor UI fixes in Certificate dialog 2009-11-17 07:35:14 +01:00
Christian Hohnstaedt
467295e8ca add the "no well-defined date" from RFC 5280 as checkbox 2009-11-16 18:27:21 +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 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
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
7fe7a06c7b merge Scard details and key details 2009-10-30 08:18:16 +01:00
Christian Hohnstaedt
4a0beaff54 add token ID for smart cards 2009-10-29 08:10:47 +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
Christian Hohnstaedt
9ac65605f7 support modifying the CRL subject during signing 2009-09-05 11:55:57 +02:00