Commit Graph

251 Commits

Author SHA1 Message Date
Christian Hohnstaedt
aaf9339eab Database hardening
- Delete invalid items (on demand)
- Be more tolerant against database errors
- Gracefully handle and repair corrupt databases
- Add "db_dump(.exe)" binary to all installations
2014-11-15 23:45:43 +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
82bb0e9f33 Translate header and tooltips 2014-11-14 09:27:39 +01:00
Christian Hohnstaedt
9710a78592 First preparation of version 1.0.0
update changelog and documentation
avoid warnings about unused variables
2014-04-11 19:29:46 +02:00
Christian Hohnstaedt
8168ca5181 QMessageBox: protect against HTML parsing
The default message box displays the message as HTML
Don't do that.

Thanks to Artur Czyz (artur_czyz at wp.pl) for finding it.
2014-04-11 19:29:45 +02:00
Christian Hohnstaedt
38ed0b60b5 Update Copyright dates 2012-05-06 11:16:44 +02:00
Christian Hohnstaedt
f8c686d1df support warning colors for dates 2012-03-31 14:28:33 +02:00
Christian Hohnstaedt
1fd3aefc67 allow deleting certs, even if the token access failed. 2011-11-05 09:23:03 +01: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
722c20a2b4 improve pasting PEM data 2011-04-30 07:53:39 +02:00
Christian Hohnstaedt
9f8ce9e9f8 Feature Request [3058195] Export directly to the clipboard
Add Export->Clipboard context menu item to
Certificates, Requests and CRLs
2010-10-01 06:46:22 +02:00
Christian Hohnstaedt
9f237b923c open database with 0600 permissions
also avoid unused varaibles
2010-08-26 06:39:30 +02:00
Christian Hohnstaedt
58a5557f96 don't allow duplicate key names 2010-08-19 18:36:42 +02:00
Christian Hohnstaedt
3bff3e630c don't throw an error if editing did not change anything 2010-08-10 21:55:48 +02:00
Christian Hohnstaedt
3a92d46362 fix crash during item-import
replace reference to the view by signals/slots
2010-08-05 07:22:00 +02:00
Christian Hohnstaedt
d9ade44a30 using /dev/null on windows does not lead very far .... 2010-08-04 22:18:33 +02:00
Christian Hohnstaedt
3bb40f477d fix column property management
remember size and autoResize for every column
use own dataformat for storage

add "internal name of the key" column for certs and requests
2010-08-04 08:23:19 +02:00
Christian Hohnstaedt
ced687be5b Improve column handling
right-align numeric columns and make them monospaced.
Save their current state in the database.
Also add column-menu to the other context menu

fix minor bugs

Support for "Unstructured Name" and "challange password" columns
	in the request-table
Support for name hash as used by OpenSSL to lookup certs.
	As table column and as distinguished name information
2010-08-01 06:50:49 +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
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
e5783553c1 improve renaming items on the token
- use the list-edit functionality in the MultiImport dialog
   instead of an extra pop-up window
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
410ed8b091 update changelog and translation
- document special handling of translation for other translators
   (and me, when I forgot about)
2010-04-23 07:43:48 +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
b02b25b168 fix initToken 2010-03-01 08:22:50 +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
2b38e53cc3 add CKA_ID to stored certificates
- extend ID from 4 to 8 bytes
 - remove some debugging code
 - enable and test PIN and PUK changing
2010-02-24 00:51:40 +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
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
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
fe8c2c2660 improve filename handling for databases
- allow "umlauts" and other non ASCII char in database filenames
   using the OS dependent handling QString2filename, using
   8Bit codepage encoding on Windows and UTF8 on linux and OS X
2009-11-25 09:06:22 +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
92a13b34ea fix item export error-handling 2007-08-31 13:46:21 +02:00
Christian
8bfc1d1522 finalized PEM import 2007-08-27 18:44:19 +00: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
d4a90be207 replace "include <Qt/" by "include <" 2007-04-11 11:19:22 +02:00
Christian
1e0f318554 Release 0.6.1
minor documentation updates
2007-04-05 11:55:22 +02:00
Christian
d0f3672798 - add undelete feature for deleted items
- fix database shrinking of curent db during opening of new db
2007-02-05 22:17:22 +01:00
Christian Hohnstaedt
b586043343 remove superflous question when deleting 0 items 2007-01-31 13:22:04 +01:00
Christian
612415a422 fix default pathname setting
add clicklabel for request key
remove debugging output
2007-01-31 01:09:19 +01:00
Christian
e7b96a4245 fix click-label functionality
unify showItem()
fix NewX509.ui
2007-01-29 23:10:58 +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
ee08c20214 Fix Public key issues
- don't show password change in menu
 - show "No password" in list
 - decrypt key by copying the Public

Fix multi-import and don't abort on error
2006-12-08 17:12:51 +01:00
Christian Hohnstaedt
351699546c less debug output 2006-12-04 13:04:35 +01:00
Christian Hohnstaedt
2fcc30e841 add Icon size information to the widget
hide root decoration if not needed
2006-12-01 11:52:42 +01:00
Christian
786a0480cc plainview/treeview not fully working, yet 2006-12-01 07:19:41 +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
abf60cb924 add ProxySortModel 2006-11-24 23:06:17 +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 Hohnstaedt
f0d2fa3e39 Fix warnings
mv showItem() to db_base class
cleanup
Disable PKCS#7 signing and encryption
2006-11-17 15:05:48 +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
79cd9d4766 changes for doubleClick 2006-11-14 06:33:49 +01:00
Christian
37eb802e14 File IO exceptions added and database access improved 2006-06-06 22:17:16 +02:00
Christian Hohnstaedt
7066a59eaa - fix ASN1 integer comparison
- extend CA properties
 - recover from database load errors
2006-06-06 18:22:34 +02:00
Christian
dae20bc28e Fix Password input and key encryption
Add CA properties
2006-06-05 23:14:38 +02:00
Christian
cc5be09942 add sorting 2006-05-25 00:49:34 +02:00
Christian
609c367471 Enable Certificate list in CRL,
make keycreation button work
2006-05-21 20:15:15 +02:00
Christian
d48d830bc8 oops 2006-05-21 10:20:13 +02:00
Christian
813e115b8e Spaces deleted 2006-05-21 10:08:39 +02:00
Christian
02770d8367 Database exploration 2006-05-20 11:24:15 +02:00
Christian
a656a56a66 - Delete unused view/ directory
- readd truststate
2006-05-18 23:46:03 +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
c6622680db push forward to QT4 2006-03-12 17:39:52 +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
7d4f729190 fixes for SPKAC and database opening 2004-02-05 20:17:54 +00:00
chris2511
e4f7bf60dd CRLs will revoke existing certs 2003-12-12 16:01:29 +00:00
chris2511
dd953112d7 *** empty log message *** 2003-12-11 23:41:09 +00:00
chris2511
f1ad05d171 *** empty log message *** 2003-12-11 17:02:38 +00:00
chris2511
f6b623fbe5 memeory leaks removed 2003-12-10 22:33:08 +00:00
chris2511
748e71a6e4 searching for leaks 2003-12-10 16:01:06 +00:00
chris2511
de21ec1e0f memory leaks searched for 2003-12-10 06:43:04 +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
de994d0917 [ 765774 ] change password for database 2003-08-12 13:50:05 +00:00
chris2511
e559c9b1c6 Change password 2003-08-11 22:14:15 +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
33bfc9ba28 more ImportMulti 2003-07-29 18:09:00 +00:00
chris2511
f3f3437170 insert moved to db 2003-07-25 05:54:58 +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
4da20ce414 *** empty log message *** 2003-07-08 19:00:58 +00:00
chris2511
639f2cc26e time moved back to generalized time 2003-07-08 15:13:28 +00:00
chris2511
37e803e444 This version works already pretty good 2003-07-06 16:28:21 +00:00
chris2511
35680ff649 Certificate creation works again, validity settings elaborated 2003-06-29 22:03:10 +00:00
chris2511
cd4a636236 works better... 2003-06-20 15:25:59 +00:00
chris2511
74e7f901cf now it already works a little bit 2003-06-19 22:36:35 +00:00
chris2511
fe46ff670f all strings replaced by QString 2003-06-18 16:04:26 +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
chris2511
756024c9c6 remember workingdir in export cert and key
configure changed
change suffix when changing cert-export-format
2003-02-05 21:07:17 +00:00
chris2511
c28942cd7c works with db-4.1.24 now 2003-02-03 14:06:11 +00:00
chris2511
1055b5826e stop compiling when DB 4.1.24 is detected 2003-01-20 20:15:36 +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
de08643658 too short buffer for extensiontext fixed
crash on self-signing a request fixed
2002-10-22 22:08:23 +00:00
chris
70c0a34f0d Database exceptions 2002-10-15 22:07:56 +00:00
chris
b26f3dcdb1 database transactions implemented
exceptionhandling completed
2002-10-14 22:11:48 +00:00
chris
b320733068 exceptions added 2002-10-13 22:34:40 +00:00
chris
cdef95a8de more error checks 2002-10-13 12:46:23 +00:00
chris
1e159fa81a Check for certificate dates to not exceed those of the signer
defines for libdb >4.1.x
2002-10-11 17:46:46 +00:00
chris
c3eaab7bec printf debugging enhanced :-) 2002-10-10 18:18:37 +00:00
chris
03f3ab4919 key-use counter works now well 2002-10-09 18:55:02 +00:00
chris
9264d382f4 no message 2002-09-24 00:13:43 +00:00
chris
80c20cea63 Netscape extensions added
configure changed, WIN32 define added
2002-09-23 16:56:00 +00:00
chris
53c84c5dff *** empty log message *** 2002-09-23 00:17:36 +00:00
chris
d9bab2c0ba *** empty log message *** 2002-09-22 22:17:22 +00:00
chris
fab9d33e8a windows changes 2002-09-22 21:38:29 +00:00
chris
056d7b140f changes for windows 2002-09-21 16:29:04 +00:00
chris
da680bbaa1 Segfaults removed
setting of CA serial added
2002-09-21 12:26:02 +00:00
chris
38a7a12325 caSerial 2002-09-20 00:44:26 +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
0860c0ef24 typo 2002-09-08 23:16:13 +00:00
chris
e1b31985ea Version++
added $id$
pkcs12 import implemented
2002-09-08 21:37:44 +00:00
chris
463e3efc95 Copyright changed to BSD-license
Licenseinformation added to each *.cpp *.h file
File export diealog bug removed
2002-09-07 18:01:01 +00:00
chris
ed6224878c enable qt3 renaming if available
Version++
2002-08-01 18:01:43 +00:00
chris
eabc8eb4e8 Preprocessing of certs and requests
QT3 listviewrenaming
update of single items (and not the whole View)
database access improved (update, rename)
2002-07-31 23:11:12 +00:00
chris
37a58ab9c8 signals and slots introduced to db
certs and requests do notice fading and arising keys
2002-07-25 09:43:57 +00:00
chris
b027d781e6 Context menu added
rename function added
2002-07-24 22:07:10 +00:00
chris
9f08437189 some fixes for release 0.2.2 2002-07-18 19:51:40 +00:00
chris
50df3e085b changed to autoconf 2002-07-18 19:09:32 +00:00
chris
008b609c72 all images moved to /img 2002-07-16 23:25:17 +00:00
chris
240e03b597 code review started many errors catched
translation to english started using tr()
2002-07-15 22:32:44 +00:00
chris
5f6f980d87 db error solved 2002-07-14 16:27:26 +00:00
chris
a782c37b8f Signatures can be done with requests and from scratch,
Certificate for signing can be self or foreign,
password is saved as md5sum,
bugs in displaying requests in list, and showing their keys solved
same with certs
2002-07-13 20:57:50 +00:00
chris
2d038e0c07 image support added, userinterface update 2002-07-11 21:03:20 +00:00
chris
7ff69f4688 Tree view for certificates
initial password (does still not work)
saving and restoring of settings
2002-07-11 01:42:03 +00:00
chris
cf347d7d4a removed changes of yesterday
all data is loaded in containers on startup
2002-07-10 00:21:45 +00:00
chris
608afde1c3 added info to keys in database
added debian dir for .deb packages
nifty keyimages for listbox
2002-07-08 22:37:57 +00:00
chris
d5459c4b6b added certificate details
and minor bugfixes...
2002-03-07 22:44:01 +00:00
chris
b09bd2db08 added rough x509 cert handling 2002-03-05 22:31:49 +00:00
chris
f39391c018 Version++
works with new classes in libs
images added
2002-03-03 19:22:12 +00:00
chris
2da5d066f5 some fixes still crashes :-( 2002-03-01 22:07:38 +00:00
chris
3ae32ae24b links to the libraries in "lib/"
works but crashes, because of string::data() w/o '\0'
Hint: on linker cmdline mention first the .o and then .a
2002-02-28 23:57:26 +00:00
chris
eaf49ba9de library almost ready.... 2002-02-27 23:08:24 +00:00