Commit Graph

34 Commits

Author SHA1 Message Date
Leonard Hübner
71e0f2e8fc basic Man-in-the-Middle extension to the Relay-Card 2020-10-26 17:01:28 +01:00
Frank Morgner
377774fd65 vicc: catch ctrl-c via KeyboardInterrupt
... and ignore EINT in recv as it may be triggered for various other reasons

fixes https://github.com/frankmorgner/vsmartcard/issues/95
2017-04-05 12:20:20 +02:00
Dominik
41bd7ab105 Remove serialization support 2016-04-10 19:31:24 +02:00
Frank Morgner
29dfed5de9 Updated mail address 2015-12-15 16:58:28 +01:00
Frank Morgner
a76a859a92 fixed loading file image
partially fixes #41
2015-02-08 20:41:07 +01:00
Frank Morgner
d89385c3e1 added support for QES with German ID card
libnpa: requires an ID card that is initialized for QES. Today, this
means you need to register at sign-me.

virtualsmartcard: We don't actually create a real signature, because
PyCrypto can't handle ECDSA, let alone brainpoolP256r1. We only return a
64 byte buffer.
2015-01-18 02:24:18 +01:00
psytester
75426aee9c Allow "NotOnChip" for missing DGs of nPA
- changes DG13 into BirthName, DG19 into eAT ResidencePermit1 and DG20
  into eAT ResidencePermit2

- better reading of datasetfile (empty lines are allowed, new line
  character is trimmed from value

- Closes #30 #33 #31
2014-10-27 21:06:15 +01:00
Frank Morgner
47a09c5250 moved --datasetfile to nPA group 2014-05-26 22:03:43 +02:00
psytester
c070394f82 vicc reads dataset file
That new option -d <dataset file> or --datasetfile <dataset file> will read an optional dataset file to be able to start vicc->CardGenerator.py with various content
2014-05-19 21:26:40 +02:00
Frank Morgner
291178d139 implemented reversed connection establishment
vpcd can now be configured connect to a previously started vpicc.
2013-07-15 10:18:40 +02:00
Frank Morgner
50b2f85cc4 switch verbosity level via command line 2013-07-09 07:22:12 +02:00
Frank Morgner
31ff210f08 include program version in help 2013-06-27 00:25:05 +02:00
Frank Morgner
9c259f4af7 implemented vicc to pass PCSC-Lite's handler_test 2013-06-27 00:02:46 +02:00
Frank Morgner
59eaa16c45 include a summary in documentation and tools 2013-06-17 10:03:38 +02:00
Frank Morgner
e1da1dc081 updated documentation 2013-02-09 23:44:14 +01:00
Frank Morgner
f5a2cde7d6 adapted to latest changes of openpace
works with openpace 702cf84aaa01ef5dc490d32208067a89a33102c1
2012-11-01 08:02:01 +01:00
Frank Morgner
801e80a350 nPA: added --cvca parameter 2012-10-10 22:02:59 +02:00
Frank Morgner
296db65bc2 updated help for --disable-checks 2012-10-10 22:02:59 +02:00
Frank Morgner
203f4ac5b2 nPA: updated CLI information regarding CAR 2012-10-10 22:02:59 +02:00
Frank Morgner
c92d923fc8 nPA: removed --ca-pubkey command line option
The public key is extracted from the EF.CardSecurity instead.
2012-10-10 22:02:59 +02:00
Frank Morgner
4f6945917e nPA: added option to disable validity period check 2012-10-10 22:02:59 +02:00
Frank Morgner
c8da1f5213 nPA: allow the user to specify a EF.CardAccess 2012-09-05 09:47:02 +02:00
Frank Morgner
dc2d277c4f nPA: use given credentials for CA
The user can now specify an EF.CardSecurity, CA private/public key and
CHR of the trust anchor via the command line.
2012-08-31 18:06:09 +02:00
frankmorgner
b5f109ac53 added version info
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@753 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:24:30 +00:00
frankmorgner
768c85c208 formatting defaults by hand to avoid default: None
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@752 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:22:02 +00:00
frankmorgner
44b5262ddc dont mention authors in help
The argument formatter removes linebreaks and paragraphs, so we have to reduce the amount of information shown.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@751 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:17:07 +00:00
frankmorgner
7a47a813cb improved vicc help
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@750 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 17:56:33 +00:00
frankmorgner
8fe4ffd2fe fixed help strings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@678 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 21:41:13 +00:00
frankmorgner
ddf6431575 switched to argparse
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@677 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 21:37:01 +00:00
frankmorgner
a8821d7feb minimal nPA emulation. use it to fetch and print a chat. uses pypace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@643 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 21:43:55 +00:00
oepen
bef62adbfc Lexically sorted the optparse options
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@527 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-07 09:06:18 +00:00
oepen
9558f4ffb7 -Updated copyright date
-Added a little bit of documentation


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@494 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 11:15:22 +00:00
frankmorgner
dcb2507b2f - switched from perl to sed for substitution of autoconf variables
- changed from generating reader.conf to vpcd in /etc/reader.conf.d


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@329 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 19:18:40 +00:00
frankmorgner
8bab6479fe added missing file, deleted unused file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@328 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 16:21:27 +00:00