Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 918 Bytes

README.MD

File metadata and controls

33 lines (24 loc) · 918 Bytes

PDAnchor

This is the trust anchor for an anonymous assured identity provider. We have a smart card with a private key known by no one. Anyone can submit a personal identity number ("személyi szám", it is a unique identifier for Hungarian citizens), along with a string representing mother's name and gets the hash of the signature of the identity number.

This gives us a basic service, which helps us to make sure we have people only once in our voter database, without having to know anything about our voters.

To avoid brute force and Denial of Service attacks, one IP can query the database only once in a minute.

installation notes:

dependencies include:

  • python
  • apache2
  • python-crypto
  • opensc
  • libapache2-mod-wsgi
  • opensc-pkcs11
  • softhsm (only for testing)
  • make (only for testing)
  • wget (only for testing)

See Makefile, the examples directory and the testserver directory for hints