Christian Hohnstaedt
b9a8bb1a04
Cleanup: remove unused properties and declarations
2019-03-27 05:58:25 +01:00
Christian Hohnstaedt
f43e7520db
Support concurrent database access.
...
If a database is modified by another instance of XCA the passive
instance reloads and displays the changed parts.
2019-03-25 06:47:25 +01:00
Christian Hohnstaedt
026d8f8e6d
Extend PEM files by human readable information about the item
...
This can be enabled or disabled during export.
Move from FILE* to QFile
2019-03-18 06:25:20 +01:00
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