Commit Graph

267 Commits

Author SHA1 Message Date
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
Christian Hohnstaedt
559fce1901 Modifications related to the validity control
patch from "Andreas Roth"

  - Display it as QDateTimeEdit in QT Designer
  - date and time format changed to "yyyy-MM-dd hh:mm"
  - use UTC date and times
  - enabled calendar popup
2009-02-25 09:33:07 +01:00
Christian Hohnstaedt
717ec4702c fix date settings in Certificate renewal dialog
- lib/func.cpp just indentation
 - set the default to 1 year and apply it.
2008-03-03 10:11:49 +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
Christian
71afef8472 add validation button to see all extensions before creating the cert. 2007-11-25 19:23:52 +01:00
Christian Hohnstaedt
9b8de0581e add Advanced settings tab to support extensions in nconf format (as in openssl.conf) 2007-11-23 21:59:18 +01:00
Christian
8bfc1d1522 finalized PEM import 2007-08-27 18:44:19 +00: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
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
0195dcf746 Request attributes added
- remove extension and attribute tab in details dialog if
   no extensions or attributes available
 - documentation updated
   X509 request attributes (like challange password) can be set and viewed.
2007-05-28 16:33:13 +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
Christian
4a441557f7 make cert, crl and key details copy&paste able 2007-04-30 23:22:52 +02:00
Christian
d701024e31 changes to change to qmake 2007-04-09 15:58:41 +02:00
Christian
b976c7d136 remove all usages of QT3 backward lib
[ xca-Feature Requests-1692800 ]
2007-04-03 10:37:26 +02:00
Christian Hohnstaedt
b5695ba066 fix dialog sizes for long DNs and automatic resizing 2007-02-14 12:36:34 +01:00
Christian
01bc35a97f remove unneeded TainyCA files, cleanup build env,
add support for prebuilt headers
2007-02-12 21:57:48 +01:00
Christian Hohnstaedt
513354d301 ifdef out the QA serial things
move the hash algo outside of the signing box to
keep it enabled for ´request generation.
2007-02-12 10:49:32 +01:00
Christian
7741c4f9dc fix typo in cert details and switch hash-algo from
LineEdit to Label for consistency
2007-02-11 16:00:14 +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 Hohnstaedt
5aa171ee2a fix date generation and warn if generalized time is used 2007-02-08 18:08:08 +01:00
Christian
ecb593ab01 .gitignores added 2007-02-07 21:34:50 +01:00
Christian Hohnstaedt
e5600d6427 update changelog
add file association for ".xdb" on W32
remove TainyCA support
add donations page
2007-02-01 17:32:11 +01:00
Christian Hohnstaedt
92fd146450 Fix order of X509Name entries
remove debugging output
add template "duplicate" functionality
minor optical changes
remove superflous template properties
2007-01-31 12:53:29 +01:00
Christian
e7b96a4245 fix click-label functionality
unify showItem()
fix NewX509.ui
2007-01-29 23:10:58 +01:00
Christian
7d76d2069c more documentation 2007-01-29 17:59:44 +01:00
Christian
9012225995 readd old commit 2007-01-01 20:33:08 +01:00
Christian
2a7b6e242f fix x509name list in NewX509.ui
make Extensions readonly
2006-12-20 23:51:07 +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
023ceadd36 fix Bug [ 1166075 ] serial numbers don't sort numerically
Add import submenu
preset selected certificate forn signing in NewCert dialog
fix Request-selection in NewX509
2006-12-08 00:17:28 +01:00
Christian
2512cc4392 documentation and key export updates 2006-12-04 07:41:49 +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
81bad4e11e add CRL dialog
extend setup.exe
2006-11-29 00:12:02 +01:00
Christian Hohnstaedt
249f668d95 have a dialog before creating a CRL 2006-11-28 13:44:34 +01:00
Christian
f585e8fd07 Export and Context menu for CRLs added
Export for CSRs
2006-11-24 00:40: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
2dd1a65017 Fix import multi 2006-11-21 18:11:49 +01:00
Christian
7c81b45307 use QFile for database instead of native functions
Fix fonts
2006-11-19 14:23:07 +01:00
Christian
20d58af2ad fix template handling 2006-11-15 23:24:35 +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 Hohnstaedt
ffdc478f5c move edit() to db_base for all ItemModels
add EditRole to get the original name when editing
delete the CA, client, server Templates and keep only one.
2006-11-15 11:38:32 +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
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
554fcdc6b4 fix documentation 2006-05-23 22:36:24 +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
4e550c4f66 Added PKCS12 and PKCS7 import
clicklabel colorized
Database password improvement
2006-05-20 02:57:58 +02:00
Christian
7a0e7cee5d change selection mode 2006-05-19 17:24:47 +02:00
Christian
a656a56a66 - Delete unused view/ directory
- readd truststate
2006-05-18 23:46:03 +02:00
Christian
d04c262ecb Fix duplicate names in .ui files 2006-05-18 18:31:30 +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
b9278c547f more QT4 2006-03-22 22:57:08 +00:00
chris2511
a291aca857 more for QT4 2006-03-20 22:16:08 +00:00
chris2511
13b6bb9e07 more QT4 changes 2006-03-18 12:59:37 +00:00
chris2511
f8846363c6 Extension editor adopted 2006-03-14 22:54:01 +00:00
chris2511
462eac83a3 certificates for QT4 2006-03-12 23:57:24 +00:00
chris2511
d80d1ff6d2 small fixes 2005-05-23 18:23:19 +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
9a58b1513c add V3 extension support for Requests 2005-02-25 23:41:56 +00:00
chris2511
b722ca5655 add "validation" function for editable extensions 2005-02-16 23:23:20 +00:00
chris2511
cd7207e74c add "edit" buttons for subject/issuer alt. name, crl dist. point and cert. auth. info access for easier data input. 2005-02-15 22:41:46 +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
84cc4f013d typo 2004-07-02 13:16:59 +00:00
chris2511
24f33d8038 s/Revokation/Revocation/g
s/Certifikate/Certificate/g
2004-05-25 20:31:22 +00:00
chris2511
bf5a96142b translations 2004-04-16 21:49:20 +00:00
chris2511
a9a34847c2 "Authority info Access" enhanced
"aia.txt" as oid list added
2004-04-14 23:36:54 +00:00
chris2511
ecf3c16e84 function to apply a time diff extracted to func.cpp 2004-04-13 23:46:23 +00:00
chris2511
748e71a6e4 searching for leaks 2003-12-10 16:01:06 +00:00
chris2511
6cf2d0320e loading from file moved from constructor to
method fload()
2003-12-09 17:25:22 +00:00
chris2511
d932fc0e82 Authority info access added
Certificate policies pending...
2003-11-30 20:56:56 +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
8c77834ea7 MainWindow.cpp patch applied
tooltip for clickable textfield added
Reqdetail is now tabdialog
2003-11-26 22:01:41 +00:00
chris2511
6babaa6a09 solve bug
[ 846052 ] Tab order in Certificate Netscape extensions is wrote
2003-11-24 19:18:54 +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
55b01dcd1d repair Makefiles to hardcode the object names
init_database after we know the filename
2003-11-24 09:04:11 +00:00
chris2511
ed5e7efe67 Country is State or Province 2003-10-24 10:49:58 +00:00
chris2511
1d1f4065ea New configure added, Makefile.in's purged and one configuration:
Local.mak for flags and compilers.
2003-10-13 09:01:21 +00:00
chris2511
f9a493350d small ui changes
more german translations
2003-08-13 08:23:02 +00:00
chris2511
de994d0917 [ 765774 ] change password for database 2003-08-12 13:50:05 +00:00
chris2511
ea3775c71f Template changing when creating certificates repaired
Import of Templates fixed.
2003-08-04 23:40:39 +00:00
chris2511
d3e8c3f8dc some fixes revokation was repaired. 2003-08-04 22:06:30 +00:00
chris2511
d870372137 import completed 2 segfaults removed. 2003-08-04 15:05:16 +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
fec4b37eb8 more multi import 2003-07-29 21:43:05 +00:00
chris2511
f3f3437170 insert moved to db 2003-07-25 05:54:58 +00:00
chris2511
cbc44c591d started to export and import templates 2003-07-17 22:24:07 +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
333cc0add7 typos 2003-07-16 06:55:22 +00:00
chris2511
6654b69ab7 Version 0.4.1 2003-07-15 14:10:34 +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
52e93cfeaa Import Multi item dialog added
for "expand -p option"
2003-07-10 20:23:25 +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