Difference between revisions of "Bert's eid fuckketry lowlevel bit twisting"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
|Short description=Introduction to the belgian e-id card, and open source software to read it.
 
|Short description=Introduction to the belgian e-id card, and open source software to read it.
 
}}
 
}}
 +
 +
http://ietherpad.com/0x20-eid
 +
 +
== links ==
 +
 +
* Rijksregister: view a bunch of official documentation that the government has on you on https://www.mijndossier.rrn.fgov.be/; note, there is even an access log so you can see who ''"rijksregistered"'' you.
 +
* Extensive owasp documentation/presentation on eid:  http://www.owasp.org/images/0/01/The_Belgian_e-ID_hacker_vs_developer.pdf
 +
* http://en.wikipedia.org/wiki/ISO/IEC_7816
 +
* http://en.wikipedia.org/wiki/PKCS11
 +
* opensc-pkcs11.so: the libaray to open up in firefox
 +
 +
 +
== Bert's code ==
 +
 +
=== download ===
 +
 +
Some low-level code to access your eID:
 +
[[media:eidshow.tar.gz|eidshow.tar.gz]]
 +
 +
=== dependencies ===
 +
 +
You need to have the following installed to get it working:
 +
 +
dependencies eidshow:
 +
* opensc
 +
* libopensc2
 +
* libopensc2-dev
 +
* pcscd
 +
 +
depending on your device model, you need a card driver, e.g.:
 +
* libccid
 +
 +
=== building ===
 +
 +
<tt>make</tt> to make pkcs15dump
 +
<tt>make eidshow</tt> to make the eidshow binary
 +
 +
=== running ===
 +
 +
First make sure that your card will be managed by the pcscd daemon. You do this by
 +
 +
<code>
 +
vim /etc/opensc/opensc.conf
 +
</code>
 +
 +
and making sure that the line
 +
 +
<code>
 +
reader_drivers = ....
 +
</code>
 +
 +
is not commented and only contains your card reader, e.g.:
 +
 +
<code>
 +
reader_drivers = pcsc;
 +
</code>
 +
 +
after that, either execute <tt>pkcs15dump</tt> to get a basic smart card dump or <tt>./eidshow</tt> to get the full eid output.

Latest revision as of 02:57, 30 October 2010

Note: this article is about a passed event.

Bert's eid fuckketry lowlevel bit twisting
WhitespaceLogo.gif
From 2010/10/29 19:00 to 2010/10/29 23:59
Presenters (1):
Bert
Attendees (3):
Sandb, Tazo, Koenraad
Where:
Whitespace Blekerijstraat 75, Gent, Belgium
Loading map...

Costs 0

Cornify

«Introduction to the belgian e-id card, and open source software to read it.»

"Unknown" is not in the list of possible values (Meeting, Workshop, Talk, Slacking, Conference, Hacking) for this property.


http://ietherpad.com/0x20-eid

links[edit]


Bert's code[edit]

download[edit]

Some low-level code to access your eID: eidshow.tar.gz

dependencies[edit]

You need to have the following installed to get it working:

dependencies eidshow:

  • opensc
  • libopensc2
  • libopensc2-dev
  • pcscd

depending on your device model, you need a card driver, e.g.:

  • libccid

building[edit]

make to make pkcs15dump make eidshow to make the eidshow binary

running[edit]

First make sure that your card will be managed by the pcscd daemon. You do this by

vim /etc/opensc/opensc.conf

and making sure that the line

reader_drivers = ....

is not commented and only contains your card reader, e.g.:

reader_drivers = pcsc;

after that, either execute pkcs15dump to get a basic smart card dump or ./eidshow to get the full eid output.

Historical data can not be displayed in a Factbox