From: Patrick Vacek <patrick@advancedtelematic.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Trying to use ccid-card-emulated
Date: Wed, 6 Sep 2017 16:11:09 +0200 [thread overview]
Message-ID: <2385fc24-dbc3-ba7c-948f-b986edb27c7a@advancedtelematic.com> (raw)
Hello,
I'm trying to emulate a smartcard. I found section 4 of docs/ccid.txt,
which appears to do exactly what I'm interested in. However, that
document is a few years old and references CoolKey, which at this point
seems obsolete, with OpenSC being the preferred succcessor. I've
followed the rest of steps with success, and tried registering OpenSC
with NSS (i.e. modutil -dbdir /etc/pki/nssdb -add "CAC Module" -libfile
/usr/lib/opensc-pkcs11.so), but I'm still not seeing my three
certificates listed on the device as I'd expect.
I'm using QEMU emulator version 2.8.0(Debian 1:2.8+dfsg-3ubuntu2.3).
I've also tried using QEMU emulator version 2.10.0 (built from source),
but the interface has changed and the commands from the documentation
don't work anymore.
1. Am I correct to assume that OpenSC is the logical successor to
CoolKey, and should I expect a simple substitution such as that to work?
2. Are there other steps I might be overlooking with OpenSC or with
getting the certificates recognized on the device?
3. If, as I suspect, that document is no longer up to date, what do the
steps currently look like to get smartcard emulation working?
Thanks,
Patrick
--
Patrick Vacek
ATS Advanced Telematic Systems GmbH
Kantstraße 162, 10623 Berlin
HRB 151501 B, Amtsgericht Charlottenburg
Vertreten durch die Geschäftsführer
Dirk Pöschl, Armin G. Schmidt
next reply other threads:[~2017-09-06 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-06 14:11 Patrick Vacek [this message]
2017-09-13 22:13 ` [Qemu-devel] Trying to use ccid-card-emulated Marc-André Lureau
2017-09-18 8:27 ` Patrick Vacek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2385fc24-dbc3-ba7c-948f-b986edb27c7a@advancedtelematic.com \
--to=patrick@advancedtelematic.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).