Commit Graph

121 Commits

Author SHA1 Message Date
Christian Hohnstaedt
825fea569d improve token handling
- add tokenInfo.model to the card information, revamp tokenInfo
 - add driverInfo()
 - use token_info.label (card_label) as token descriptor for reading passwords
 - use only CKA_LABEL as internal name
2010-02-28 10:31:53 +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
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
56eea60093 change button-text during token-select
- only enable token-initialisation if a database was loaded
   because the PKCS#11 lib is stored in the lib.
2010-02-23 07:34:26 +01:00
Christian Hohnstaedt
345cdc1083 improve messages and usability
- update german translation
2010-02-21 16:24:00 +01:00
Christian Hohnstaedt
3b600c1c6b improve token handling
- support Token initializing
 - support deleting any certificates from tokens
 - fix prepare_card API
 - replace HTML entities when generating HTML ouput
2010-02-17 07:20:18 +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
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
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
bd90901c10 change filename handling to support UTF8 names 2009-11-24 19:16:25 +01:00
Christian Hohnstaedt
9f900ae6f7 update copyright date to 2009 where appropriate 2009-11-24 17:54:21 +01:00
Christian Hohnstaedt
42da9ac574 reactivate functionality to change database password
- remove CRTL+X shortcuts from menu
 - change DB pass not via button, but via file-menu.
2009-11-24 17:42:16 +01:00
Christian Hohnstaedt
6f7722124b change the default string encoding
- avoid T61STRINGS, which are pretty locale dependent
   This can be changed via the options menu
2009-11-20 08:31:06 +01:00
Christian Hohnstaedt
9182afd71c support storing Certificates on the Smart-card 2009-11-15 19:40:55 +01:00
Christian Hohnstaedt
e61e58d917 improve and harden mechanism handling 2009-11-13 18:06:31 +01:00
Christian Hohnstaedt
f802de1db5 catch errors during card import
- improve reading of CKA_ID and support CKA_IDs longer than 1 byte
 - lib/Makefile pki_base has no Q_OBJECT
2009-11-12 08:14:15 +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 Hohnstaedt
7b7f40f883 Remove hack for mingw-linker
- Windows compilation works without this hack
2009-11-10 13:33:35 +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
7cf3862467 support to init the PIN via PUK (SO PIN)
- start support for binary passwords (hexencoded)
2009-11-02 08:01:49 +01:00
Christian Hohnstaedt
48f59e9d1a support for PIN changes of Smart card tokens. 2009-11-01 19:41:29 +01:00
Christian Hohnstaedt
5789037b36 more smart card
- import moved to "import" menu
 - initialliy support signing
 - remove debugging code
2009-10-30 17:59:19 +01:00
Christian Hohnstaedt
dcf0c83b35 support smart card import
- import keys and certificates from a smart card and
   show them in an importMulti dialog
 - support exporting the public from smart card
2009-10-29 18:54:08 +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
chris
365ce4df4f fix locale support and commandline handling
- by Andreas Roth
2009-02-27 08:09:43 +01:00
chris
ab5b066198 change the hashing of the default password.
- This means that any database opened by this version can't
   be used  properly by older versions
 - Opening older databases immediately rehashes the password
   an makes it unusable for older XCA versions.
 - Opening newer databases with old XCA versions won't hurt,
   it just does not work properly
2008-02-04 22:08:29 +01:00
Christian Hohnstaedt
8784f0ffd3 Impove usability
- preset New key with certificate name if initiated by
   certificate dialog.
 - apply template, if CA template is defined
2008-01-26 12:38:45 +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
8bfc1d1522 finalized PEM import 2007-08-27 18:44:19 +00:00
Christian
4e24a63e5b String encoding options added
- move used-keys-button form options to NewX509 dialog
 - Set string options in options dialog
2007-05-28 22:45:07 +02: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
0ee1de2b3b More options 2007-05-16 00:10:30 +02:00
Christian
34227bf680 fix some warnings 2007-04-25 20:12:24 +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
d701024e31 changes to change to qmake 2007-04-09 15:58:41 +02:00
Christian Hohnstaedt
9b45190726 code beautifying, fix password dialog for new database 2007-02-13 18:01:17 +01:00
Christian
85e91b4391 autodetect and load any type of PEM files
either with -P option or menu Import->PEM file
2007-02-08 00:35:13 +01:00
Christian
63fc77c691 fix cmdline import of crypto items 2007-02-05 23:40:14 +01:00
Christian
e7b96a4245 fix click-label functionality
unify showItem()
fix NewX509.ui
2007-01-29 23:10:58 +01:00
Christian
774ac13efb Evil hack for mingw32 linker
superflous base.h.in removed

Version 0.6.0-beta01
2006-12-29 10:56:19 +01:00
Christian
6a46213230 Changes for w32 2006-12-27 17:57:55 +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
77898e0f16 Disable all buttons and menus if no database open 2006-12-08 10:54:31 +01:00
Christian Hohnstaedt
351699546c less debug output 2006-12-04 13:04:35 +01:00
Christian Hohnstaedt
79ea230118 Use special dir for database 2006-12-01 14:19:01 +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