Christian Hohnstaedt
f55c7feee7
Constify some functions
2019-03-14 06:35:25 +01:00
Christian Hohnstaedt
1bc340a0ef
Close #104 : Also show sha256 digests of public keys
...
Print digest of public keys in the key details in different formats:
Print SHA256 SSH digest as used to by SSH users:
ssh-keygen -l -f ~/.ssh/id_rsa.pub
Print SHA1 X509 key digest as shown in the
Subject key identifier of a certificate
Print SHA256 digest as in:
openssl pkey -pubout -outform DER < key.pem | sha256sum
as requested by this issue.
Refactored digesting functionality by a generic Digest()
function working with QByteArrays.
The function formatHash() now also expects a QByteArray input.
2019-03-14 06:35:24 +01:00
Christian Hohnstaedt
c41bbf9b23
Close #82 : Renew CA ROOT Cert
...
Enable renewal option in the context menu
for self-signed CA certificates
2019-03-12 22:11:52 +01:00
Christian Hohnstaedt
340b53f4fd
Close #55 : Add Certificate counter row for requests.
...
(XCA 2.x - Relationship CSR <-> issued Certificate broken)
This counter is dynamic and not stored in the DB.
In comparison to the signed flag, which is stored and
remains set in the DB, even if all certificates
issued by signing this request are deleted.
2018-08-17 06:00:40 +02:00
Christian Hohnstaedt
bdfa10d4d5
Close #45 : Unable to view Public Key
...
Allow displaying the public key of a certificate
or request without importing it.
When importing certificates or CRLs,
display the issuer if it exists in the database.
2018-07-01 14:58:23 +02:00
Christian Hohnstaedt
dc5199205c
Make all dates in columns fancy, still sorting correctly by age
...
ToolTip shows the pretty formatted local date with time.
2018-06-27 08:56:07 +02:00
Christian Hohnstaedt
96d8c5cf37
Generalize handling of DateTime columns
2018-06-26 23:32:40 +02:00
Christian Hohnstaedt
b10b4f7a53
Inspired by #42 : display insertion date relative
...
Easy to find the most recent entry, because it says
"3 seconds ago"
2018-06-25 21:20:25 +02:00
Christian Hohnstaedt
0c8df14b7e
Close #27 : Configurable certificate expiry warning threshold
...
Add configuration values in the Options dialog to
control the time when certificates get marked yellow and
the expiration alarm time in calendar entries.
2018-05-11 09:19:12 +02:00
Christian Hohnstaedt
dc36728df8
Generate calender (.ics) files for certificate and CRL expiries
...
Also support consolidated calendar entries for a CA,
containing the CA, all issued certificates and the CRL expiry dates.
2018-05-10 12:49:59 +02:00
Christian Hohnstaedt
b362ae3593
Const-ify dbheader in column_data() and getIcon()
2018-04-25 09:34:45 +02:00
Christian Hohnstaedt
b74642fa09
Const-ify QSqlRecord of restoreSql()
2018-04-24 09:34:34 +02:00
Christian Hohnstaedt
331b79bd9d
Close #23 : Improve limiting to pattern in certificate tree view
...
CA certificates that don't match the search pattern, but have
matching childs are shown disabled with internal name.
2018-04-22 07:06:31 +02:00
Christian Hohnstaedt
6f85548c07
Drop getClassName()
2018-03-30 14:38:09 +02:00
Christian Hohnstaedt
2c20bd109a
Constify and Pure-Virtual pki_base and derived classes
2018-03-30 14:38:09 +02:00
Christian Hohnstaedt
6e432238e7
Generalize, simplify and unify settings management
...
Add settings class to access the settings table in the database
Cache values and improve database writes.
Options dialog simplified
Replace getSetting / storeSetting
Unpack option flags to rows in the settings
2018-03-10 09:04:54 +01:00
Christian Hohnstaedt
4288aafe92
Improve automatic commenting actions
2018-03-07 20:51:46 +01:00
Christian Hohnstaedt
4867cfb8ab
Improve "Dump database" filename
2018-03-07 05:49:46 +01:00
Christian Hohnstaedt
545c955616
Add "Primary key" column to show the items internal id
...
Especially helpful if you want to lookup the item
in the database manually.
2018-03-05 07:46:11 +01:00
Christian Hohnstaedt
879d6bb17c
When searching for items, also search in the new "comment" field.
2018-03-05 07:46:11 +01:00
Christian Hohnstaedt
3e86a1daaa
Fix Minor errors
2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
0b82028644
Add "Legacy Database" as additional source
2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
dc75fa0171
Add token as item source, minor fixes
...
Use dynamic cast for sqlSELECTpki()
Fix Double-click links in cert details
2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
e1b982a346
Replace printf by qDebug
2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
a545659e1a
Add Source column, fix Revocation management
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
cac6b39877
Fix bug in delition order
2018-03-05 07:46:09 +01:00
Christian Hohnstaedt
e624743494
Add PKI Source: generated, imported, transformed
2018-03-05 07:46:09 +01:00
Christian Hohnstaedt
a75eb6ebd8
Avoid LastInsertID
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
ac780d3e77
Fix PEM_BIO loading by using QByteArray instead of BIO and fmemopen
2017-07-15 06:51:37 +02: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
d55eb917e2
Silence compiler warnings about unused parameters
2015-08-11 07:17:56 +02:00
Christian Hohnstaedt
cb6dc4427d
SF Feat. Req. #70 ability to search certificates
...
Add a Search line into the status bar to quickly
limit the view of items to those matching the
wildcard pattern case insensitive.
2014-11-19 09:15:19 +01:00
Christian Hohnstaedt
3cbd020bfc
Update copyright notes
2013-11-20 09:32:39 +01:00
Christian Hohnstaedt
a1f350d808
SF Bug #78 replace path separators in export filenames
...
Thanks Andreas for the hint
2013-11-20 08:05:26 +01:00
Christian Hohnstaedt
38ed0b60b5
Update Copyright dates
2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
ec524b6d89
Fix "basename()" to detect \ and / on win32 platforms
...
Even on W32 platform the fileseparator in paths sometimes is "/".
Solution: Always convert all \ to / and only recognize / as separator
also fixes 22e3975e7e better
2012-04-10 13:09:13 +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
610a20d1f2
Add x509v3 extensions to the list of selectable columns
...
Requests and certificates can display the extensions in the table
and be sorted by them.
make the key identifiers display in numerical style
2011-06-21 22:06:39 +02:00
Christian Hohnstaedt
2502a0531f
Feature Request [3286442] Make success/import messges optional
2011-04-30 07:53:39 +02:00
Christian Hohnstaedt
4b1d1e45a8
check for fwrite() errors
2011-01-24 18:43:44 +01:00
Christian Hohnstaedt
9f237b923c
open database with 0600 permissions
...
also avoid unused varaibles
2010-08-26 06:39:30 +02:00
Christian Hohnstaedt
e12710b539
Fix CRL comparison
...
simplify comparison code in general:
Compare DER representations if applicable
2010-08-05 21:54:13 +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
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
345cdc1083
improve messages and usability
...
- update german translation
2010-02-21 16:24:00 +01:00
Christian Hohnstaedt
ca69e1e882
fix filename handling
2009-12-05 19:09:47 +01:00
Christian Hohnstaedt
838fb6924d
add information to requests, wether they are already signed or not
...
- look for a certificate with the public key of the request
to decide whether it is already handled or not.
2009-11-29 12:28:31 +01:00
Christian Hohnstaedt
58c44d2a87
improve PKCS#11 library-load logging
2009-11-19 22:13:28 +01:00
Christian Hohnstaedt
9182afd71c
support storing Certificates on the Smart-card
2009-11-15 19:40:55 +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
71afef8472
add validation button to see all extensions before creating the cert.
2007-11-25 19:23:52 +01:00
Christian Hohnstaedt
92a13b34ea
fix item export error-handling
2007-08-31 13:46:21 +02:00
Christian
56a4a19483
Bug "tree view loose track" fixed
...
additionally removed some debugging code
2007-08-11 13:51:31 +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
c2018c0e58
- fix segfault
...
- switch string handling to UTF8
2007-04-29 18:48:17 +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 Hohnstaedt
fa92c4c31f
improve error handling and error messages during the load
...
of items. Also fix some fd and memory leakage.
2007-02-12 16:26:15 +01:00
Christian Hohnstaedt
b98569e169
Switch to static QFileDialog functions
...
to call the native dialogs on windows an Mac OS
2006-12-21 16:18:54 +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
786a0480cc
plainview/treeview not fully working, yet
2006-12-01 07:19:41 +01:00
Christian Hohnstaedt
9a6a1169b6
replace spaces by underscores for filenames
...
remove the whole baseDir thing, needed for Berkeley DB
minor fixes and cleanup
don't install the *.png on windows
2006-11-23 18:18:34 +01:00
Christian
79cd9d4766
changes for doubleClick
2006-11-14 06:33:49 +01:00
Christian
3db4306bc6
add import of old database
2006-06-08 23:17:20 +02:00
Christian
a08bb6a542
Password enhancement
2006-05-30 22:05:55 +02:00
Christian
cc5be09942
add sorting
2006-05-25 00:49:34 +02:00
Christian
6be660c3f6
Certificate renewal fixed
...
Export P7 completed
Signals of newKeys refixed
2006-05-22 23:11:21 +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
9773c7b36d
more for QT4
2006-04-24 05:08:49 +00:00
chris2511
13b6bb9e07
more QT4 changes
2006-03-18 12:59:37 +00:00
chris2511
c6622680db
push forward to QT4
2006-03-12 17:39:52 +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
bf5a96142b
translations
2004-04-16 21:49:20 +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
4e428eca2b
Changes for the nids and objects in the VC++ build from ilya
...
merged.
Errormessage on a wrong pkcs12 password more comprehensive
2004-02-11 22:54:56 +00:00
chris2511
6cf2d0320e
loading from file moved from constructor to
...
method fload()
2003-12-09 17:25:22 +00:00
chris2511
33bfc9ba28
more ImportMulti
2003-07-29 18:09:00 +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
360d8b90f3
moved some widgets to ./widgets/ subdir
2003-06-22 22:36:32 +00:00
chris2511
fe46ff670f
all strings replaced by QString
2003-06-18 16:04:26 +00:00
chris2511
64243d896b
more baustelle
2003-06-17 22:40:41 +00:00
chris2511
6f516a5af9
more changes towards a good implementation of xca and its classes
2003-06-13 14:53:32 +00:00
chris2511
81d9b962a4
grosse Baustelle
2003-06-12 20:23:45 +00:00
chris2511
fa73a680ee
pki counter added
...
2 memory leaksa closed
2003-02-17 16:35:54 +00:00
chris
9f650fff0c
bugs removed
2003-01-06 19:35:46 +00:00
chris
cafc1cbec3
std:: added
2002-12-16 21:32:16 +00:00
chris
e2ece96256
PKCS7 signing works
...
sed s/string/std::string/g
2002-12-16 20:28:17 +00:00
chris
61bd85d12d
pkcs7 class
2002-12-15 21:13:30 +00:00
chris
9be85c8eeb
Nullpointer-crash eliminated
2002-10-21 17:46:42 +00:00
chris
b320733068
exceptions added
2002-10-13 22:34:40 +00:00
chris
c3eaab7bec
printf debugging enhanced :-)
2002-10-10 18:18:37 +00:00
chris
7b2a140c36
many bugs removed
...
key rename bug removed
issAltNAme bug droped
2002-09-21 02:23:13 +00:00
chris
8624732dd9
db_base: code cleanup, getDesc() moved to db_base and removed from db_x509req and db_temp
...
pki_base, pki_temp: databasewriting of strings fixed
2002-09-18 22:36:26 +00:00
chris
1b8272d9e3
Templates added
2002-09-17 23:37:34 +00:00
chris
0860c0ef24
typo
2002-09-08 23:16:13 +00:00