Commit Graph

47 Commits

Author SHA1 Message Date
Christian Hohnstaedt
993da2d474 Use C++11 initializers for all non-static class members
When XCA started in 2002, there were no C++ initializers.
Drop explicit initializers from the constructors.

 - Fix indentations of section declarators.
 - Replace NULL by nullptr when feasible.
 - Sort private section: properties first, then methods.
2023-10-08 22:19:18 +02:00
Christian Hohnstaedt
2333b02ddc Close #384: Quick view of certificates without trying to open XCA
The ImportMulti dialog does not show up if there is only
one item to display, but the item is displayed directly.

The displayed items have a new "Import" button to import
directly from the viewed item.

If XCA is called with certs, crls, keys etc. from the commandline
XCA only displays and optionally imports the item if a default
database is given. Afterwards XCA exits.
2023-10-05 23:12:40 +02:00
Christian Hohnstädt
52bf30e47b Visual Code adaptions 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
ff7704ff0b Add context sensitive documentation
All dialogs get the "Qt::WindowModal" modality to
operate the Help window in parallel
while also blocking the dialog parent windows.

The manageRevocations() moved from model to view

The Details dialogs become more self-sufficient.
There is a statc start method that shows the dialog and
updates name and comment after accept().
This allows recursive starts of certificate details and
independence of mainwin.
It is necessary to set the current toplevel widget as parent
for the next dialog to not block the application.
2021-04-23 15:50:13 +02:00
Christian Hohnstaedt
ef9b3aff3d Drop superflous includes from header files 2020-03-13 12:13:27 +01:00
Christian Hohnstaedt
e4d0ab8f8e Refactor Image and icon ressources 2020-03-11 07:19:56 +01:00
Christian Hohnstaedt
3eef4bd12b Fix translation artefacts.
No need to translate "X Certificate and Key management",
"Form", "Dialog" or "TimeInput"

"Select Token" and "New Key" window titles were never shown.
Remove them.
2018-03-28 08:13:22 +02:00
Christian Hohnstaedt
4eeb856c73 Make hex the default input / output qstring of asn1integer 2018-03-11 10:02:14 +01:00
Christian Hohnstaedt
14421f4ed3 Update Issuer and Key name in the Certificate, Request and CRL details
after editing double-clicked element.
2018-03-05 07:46:11 +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
e5541c6d67 SF. Bug. #81 Make xca qt5 compatible
Extend XCA to also compile against Qt5
Remove directory from Qt includes
2015-09-17 18:42:42 +02:00
Christian Hohnstaedt
90f351b2cb Refactor CRL handling 2015-04-20 18:25:59 +02:00
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +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
03804a8d9e enable sorting of the list of revoked certs in CRL details 2010-08-09 06:19:09 +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
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
f1c528fcc9 update copyright information 2010-03-11 07:13:48 +01:00
Christian Hohnstaedt
345cdc1083 improve messages and usability
- update german translation
2010-02-21 16:24:00 +01: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
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
a69a8176dd * remove missleading tooltips
Bug [ 1704700 ]
2007-04-29 20:20:02 +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
8427a6e6fb add clicklabel-support for CRLs
fix possible segfault for uninitialized database password
2007-01-31 00:02:37 +01:00
Christian
9012225995 readd old commit 2007-01-01 20:33:08 +01:00
Christian Hohnstaedt
141f0e0218 Fix uninitialized/Null pointer segfault 2006-12-13 21:37:36 +01:00
Christian
da95466b5f delete superflous code fragments for OpenSSL 0.9.6 support
fix Crl expiry date and show it.
Crl list: show issuer certificate name and Expiry date (last URL)
fix indentation
2006-12-09 16:04:45 +01:00
Christian
609c367471 Enable Certificate list in CRL,
make keycreation button work
2006-05-21 20:15:15 +02:00
Christian
813e115b8e Spaces deleted 2006-05-21 10:08:39 +02:00
chris2511
104530485e Add multiimport and CRLs 2006-05-17 21:11:16 +00:00
chris2511
462eac83a3 certificates for QT4 2006-03-12 23:57:24 +00:00
chris2511
24f33d8038 s/Revokation/Revocation/g
s/Certifikate/Certificate/g
2004-05-25 20:31:22 +00:00
chris2511
43811c7bc0 manpage and documentation updated
segfault in CRL import removed
2004-04-19 21:19:31 +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
6cf2d0320e loading from file moved from constructor to
method fload()
2003-12-09 17:25:22 +00:00
chris2511
f9a493350d small ui changes
more german translations
2003-08-13 08:23:02 +00:00
chris2511
30f70a9e1d made the details dialogs internal name read only 2003-07-21 22:11:13 +00:00
chris2511
4da20ce414 *** empty log message *** 2003-07-08 19:00:58 +00:00
chris2511
37e803e444 This version works already pretty good 2003-07-06 16:28:21 +00:00
chris2511
6567840cd4 special widget for green/red display of values 2003-07-02 22:52:43 +00:00
chris2511
d8491a3e13 *** empty log message *** 2003-07-02 15:38:05 +00:00
chris2511
93a5908148 revokation lists repaired 2003-07-01 22:36:12 +00:00
chris2511
6a88c53778 *** empty log message *** 2003-06-25 15:42:51 +00:00
chris2511
f1b9f7432b distinguished name widget added 2003-06-23 23:16:39 +00:00
chris2511
e066039e5f crl handling "touched" 2003-06-23 15:49:07 +00:00