Commit Graph

287 Commits

Author SHA1 Message Date
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
a0a53023df do not delete the cert if storing on token fails 2010-04-09 07:21:11 +02:00
Christian Hohnstaedt
abbf284e53 ask whether to store new certs with token-key to the key on the token 2010-03-14 09:34:25 +01:00
Christian Hohnstaedt
aba3005474 allow storing certificates on different tokens 2010-03-11 22:38:05 +01:00
Christian Hohnstaedt
f1c528fcc9 update copyright information 2010-03-11 07:13:48 +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
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
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
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
0ea0d1d53a also create template from requests
- fix artefacts regarding template-from-cert functionality
2009-12-05 16:00:26 +01:00
Christian Hohnstaedt
7f3ce42d4d finish certificate to request transformation
- Implement feature request [2213094] and [1108304]
2009-12-05 09:07:04 +01:00
Christian Hohnstaedt
b5667920bd start certificate export to templates 2009-12-03 23:32:23 +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
467295e8ca add the "no well-defined date" from RFC 5280 as checkbox 2009-11-16 18:27:21 +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
f41411902f more Smart card
- add support to store a certificate on the card
   (did not work with my TCOS card, but in theory....)
 - init PIN via PUK
 - be more robust regarding card changes
 - improve PIN handling
2009-11-03 19:51:37 +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
356cab3401 check for duplicate x509 v3 extensions
- while taking extensions from the request, the advanced tab
   and the other tabs, extensions may be duplicated.

   They will be now diplayed in
   detail and duplicates are found and shown clearly.
   Warning message will allow for modifications.

 - Fixes
    [ 1881482 ] Copy extensions from request seems to fail
    [ 1998815 ] xca adds basic constraint "CA" twice resulting in invalid CA
2009-03-03 21:52:32 +01:00
chris
d1524a44d7 fix auth key id
- Fix: [ 2342561 ] Checkbox disabled in template dialog
 - Fix: [ 2088468 ] Create self signed w. ext."Authority Key Identifier" fails

 - Start fixing
    1998815: xca adds basic constraint "CA" twice resulting in invalid CA
2009-02-26 08:09:55 +01:00
chris
8c9fc71c64 fix assertion in certificate view for empty list 2008-01-26 14:14:28 +01:00
chris
596376630b minor changes after Geoffs patch
- use "All files ( * )" not only for MAC
 - fix the Bug found by him
 - fix X509_REVOKED_dup() again
 - New entry in Hall of fame
2008-01-08 20:42:26 +01:00
Geoff Beier
909b6c309c [PATCH] mac build fixes and minor usability improvements
This patchset adds:
- configure.mac now looks for qmake, backs up xcode project, uses xca.pro to generate a new one, generates a different local.h
- mac-package.sh generates a standalone .app bundle for distribution using deployqt from trolltech labs, packages up manual, COPYRIGHT, etc into a .dmg
- mac packaging niceties in the qmake project
- mac icon file
- usability fixes for OS X:
	- look for user configured oids and such in ~/Library/Preferences/xca if it exists
	- look for original ones in app bundle/Contents/Resources (it tried to do this before...)
	- more robust code for getting bundle location (less likely to be broken by Apple in OS revisions)
	- start browsing for files in ~/Documents
	- fix wildcards on mac so files without extensions will be opened
	- fix save behavior for .xdb files so that it's hard to get one that doesn't end in .xdb, as this causes difficulty w/Qt

Notes:
	- one of the compilation fixes was in the new revocation data function that replaced the old macros... I didn't have time to verify that my fix doesn't break when used with 0.9.8.
	- QStringToAsn1() is clearly incorrect but I haven't yet determined what callers expect, so I just called it out in a comment and did not yet fix it
	- I added some code that I haven't tested on Windows because I thought it might be a nice function to have there too. I have not added anything to call that function, however, since I don't currently have a machine I can test on :). The code is clearly marked in comments.
2008-01-06 13:48:39 +01:00
Christian
57cdbd7ba4 fix typos and nconf extensions 2007-11-23 22:50:45 +01:00
Christian
56a4a19483 Bug "tree view loose track" fixed
additionally removed some debugging code
2007-08-11 13:51:31 +02:00
Christian
4ef72b2b8f check for certificate and request errors and display them instead of crashing 2007-06-16 16:30:08 +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
b0b9cd1d00 Add options dialog, not done yet...
unfy hashAlgo handling (hashBox)
2007-05-13 20:09:45 +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
5529a0f39d Merge branch 'master' into qmake
Conflicts:

	Rules.mak
2007-04-10 14:37:31 +02:00
Christian
9974e5bfb9 break endless loop in chain building Bug [ 1696878 ]
Version 0.6.2
2007-04-09 21:37:27 +02:00
Christian
d701024e31 changes to change to qmake 2007-04-09 15:58:41 +02:00
Christian
bfa706de44 recognize certificates with circular references [ xca-Bugs-1693027 ] 2007-04-04 13:24:37 +02: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
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
72779569e9 remove debugging code
fix spelling errors
check certificate validity times
add donators entry
2007-02-08 23:57:19 +01:00
Christian Hohnstaedt
6ef29e0761 remove deletition and readding of rootitem
readd templates known from earlier XCA versions,
but more flexible.
2007-02-06 13:01:53 +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
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
9012225995 readd old commit 2007-01-01 20:33:08 +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
f57b110765 Merge branch 'master' of tweety:src/xca 2006-12-19 23:28:40 +01:00
Christian
a4ce8ad73d fix crash in CRLs. When a CA certificate is deleted,
also remove all pointers to it in the CRLs.
2006-12-19 23:28:04 +01:00
Christian
5ff712e419 Fix status message
Fix Tree/plain view
Fix decryption of keys
2006-12-19 23:00:44 +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
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 Hohnstaedt
2b93359d3e added updating documentation
and a "mv" implementation for broken filesystems (WIN32)
2006-12-04 16:42:26 +01:00
Christian Hohnstaedt
351699546c less debug output 2006-12-04 13:04:35 +01:00
Christian
2512cc4392 documentation and key export updates 2006-12-04 07:41:49 +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
f585e8fd07 Export and Context menu for CRLs added
Export for CSRs
2006-11-24 00:40:22 +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 Hohnstaedt
17457bc8f0 fix multiple certificate export 2006-11-22 18:44:01 +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
c980a5e8d4 Add export format for apache-ssl
cleanup
fix bug in PKCS#12 immport
2006-11-16 17:57:51 +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
50f2e6347d fix (name)editing of items 2006-11-15 00:56:18 +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
79cd9d4766 changes for doubleClick 2006-11-14 06:33:49 +01:00
Christian Hohnstaedt
0e11d745d8 fix signer finding algo 2006-06-12 17:29:42 +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
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
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
Christian
4e550c4f66 Added PKCS12 and PKCS7 import
clicklabel colorized
Database password improvement
2006-05-20 02:57:58 +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
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
c6622680db push forward to QT4 2006-03-12 17:39:52 +00:00
chris2511
cc1f45bd2b revoke certs mentioned in CRLs
on load and import
2004-04-15 22:31: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
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
f3f3437170 insert moved to db 2003-07-25 05:54:58 +00:00
chris2511
34deed8345 last changes for 0.4.0 2003-07-08 21:24:41 +00:00
chris2511
639f2cc26e time moved back to generalized time 2003-07-08 15:13:28 +00:00
chris2511
8be3abe818 *** empty log message *** 2003-07-03 05:58:18 +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
e066039e5f crl handling "touched" 2003-06-23 15:49:07 +00:00
chris2511
997e3a0cc1 everything compiles, but the linker fails 2003-06-19 15:29:54 +00:00
chris2511
fe46ff670f all strings replaced by QString 2003-06-18 16:04:26 +00:00
chris2511
af9a804ead grooosse Baustelle (immernoch) 2003-06-16 15:47:15 +00:00
chris2511
0fd13a3875 moved common functions to super classes 2003-06-16 09:04:55 +00:00
chris2511
81d9b962a4 grosse Baustelle 2003-06-12 20:23:45 +00:00
chris2511
3156083906 CRL extended 2003-04-15 21:38:39 +00:00
chris2511
c5ab0ff04f CRL list added 2003-03-14 11:39:22 +00:00
chris2511
d79f1e2da6 tinyca export improved 2003-02-19 15:31:08 +00:00
chris2511
7773efc749 memleak in Mainwindow.cpp
switch between tree/plain view in certificate list
notAfter dates in certificate view can be sorted reasonably
2003-02-18 14:25:59 +00:00
chris2511
c944e4a1c6 code cleanup 2003-02-12 22:40:50 +00:00
chris2511
82592d86b6 be more flexible 2003-02-08 14:47:10 +00:00
chris2511
c28942cd7c works with db-4.1.24 now 2003-02-03 14:06:11 +00:00
chris
9f650fff0c bugs removed 2003-01-06 19:35:46 +00:00
chris
e2ece96256 PKCS7 signing works
sed s/string/std::string/g
2002-12-16 20:28:17 +00:00
chris
ef7b02c9b9 PEM export enhanced.. 2002-12-13 17:02:19 +00:00
chris
a986698d57 take care of CA serial for next signing
interpretation of serial as hex and not as dezimal.
2002-12-04 19:38:32 +00:00
chris
0d04b1023a shows not After time and serial in listview 2002-10-28 20:39:58 +00:00
chris
583da1a1f5 request-kontextmenu contains "sign"
create request from certificate
FreeBSD paths and libs  recognized by configure
segfault removed (viewing freshly signed requests)
2002-10-24 20:41:27 +00:00
chris
b1c0dd376a key-use counter corrected 2002-10-17 19:20:05 +00:00
chris
70c0a34f0d Database exceptions 2002-10-15 22:07:56 +00:00
chris
cdef95a8de more error checks 2002-10-13 12:46:23 +00:00
chris
c3eaab7bec printf debugging enhanced :-) 2002-10-10 18:18:37 +00:00
chris
60dd43db71 show common name in request list and certificate list 2002-09-30 20:00:43 +00:00
chris
cc9f26801e CRL generation added 2002-09-30 19:38:40 +00:00
chris
7b2a140c36 many bugs removed
key rename bug removed
issAltNAme bug droped
2002-09-21 02:23:13 +00:00
chris
bab911033d List of signers only with bconst CA:TRUE 2002-09-12 21:05:21 +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
1a1c1ddfae bugs removed 2002-08-03 13:01:15 +00:00
chris
3b8854c0a2 more translations
some segfault-bugs removed
extended keyusage implemented
2002-08-02 18:40:50 +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
1deb33f3b1 Revokation added
Selection of Trust State added
2002-07-25 23:14:35 +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
008b609c72 all images moved to /img 2002-07-16 23:25:17 +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
7d0a9de305 2 bugs killed :-) 2002-07-11 21:54:04 +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
b09bd2db08 added rough x509 cert handling 2002-03-05 22:31:49 +00:00