You are on page 1of 43

PyCon DE 2011 - Kryptograe mit Python

Verschlsselung und Signaturen mit Python Jan Dittberner


Communardo Software GmbH

5. Oktober 2011 PyCon DE 2011 1. Deutsche Python-Konferenz

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Einleitung ber den Vortragenden

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Wer ist Jan Dittberner?


Softwarearchitekt bei Communardo in Dresden Debian Developer CAcert.org Infrastrukturadministrator Spezialgebiete: freie Software, Kryptograe,

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Wer ist Jan Dittberner?


Softwarearchitekt bei Communardo in Dresden Debian Developer CAcert.org Infrastrukturadministrator Spezialgebiete: freie Software, Kryptograe, verheiratet, 3 Kinder, eine Katze

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Was habe ich mit Python zu tun?


Maintainer von sqlalchemy-migrate

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Was habe ich mit Python zu tun?


Maintainer von sqlalchemy-migrate Maintainer des Python-Bindings fr cracklib2

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Was habe ich mit Python zu tun?


Maintainer von sqlalchemy-migrate Maintainer des Python-Bindings fr cracklib2 Entwicklung und Hosting des Debian Developer Portfolio Service (Pylons-Anwendung): http://ddportfolio.debian.net/

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Was habe ich mit Python zu tun?


Maintainer von sqlalchemy-migrate Maintainer des Python-Bindings fr cracklib2 Entwicklung und Hosting des Debian Developer Portfolio Service (Pylons-Anwendung): http://ddportfolio.debian.net/ Maintainer diverser Debian-Pakete fr Python-Module und Mitglied in den Debian Python Module und Application Packaging-Teams

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Was habe ich mit Python zu tun?


Maintainer von sqlalchemy-migrate Maintainer des Python-Bindings fr cracklib2 Entwicklung und Hosting des Debian Developer Portfolio Service (Pylons-Anwendung): http://ddportfolio.debian.net/ Maintainer diverser Debian-Pakete fr Python-Module und Mitglied in den Debian Python Module und Application Packaging-Teams Entwicklung diverser interner Python-Tools fr Projekte
. . . . . .

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Communardo Software GmbH


Anbieter von Softwarelsungen zur Optimierung der Kommunikation und Zusammenarbeit in Teams, Projekten und Unternehmen Software- und Beratungshaus fr gesamten Realisierungszyklus

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... ber den Vortragenden

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Communardo Software GmbH

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Kryptograe

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen Verschlsselung

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen Verschlsselung


symmetrisch

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen Verschlsselung


symmetrisch asymmetrisch (Public Key Kryptograe)

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen Verschlsselung


symmetrisch asymmetrisch (Public Key Kryptograe)

PKI (Verteilung/Verwaltung von Zertikaten fr Public Keys)

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Hashfunktionen Message Authentication Signaturen Verschlsselung


symmetrisch asymmetrisch (Public Key Kryptograe)

PKI (Verteilung/Verwaltung von Zertikaten fr Public Keys) mehr Grundlagen z.B. in Folien zu meinem Grundlagenvortrag [1]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Chipkarten

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

(relativ) sichere Ablage fr private Schlssel

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

(relativ) sichere Ablage fr private Schlssel Hardware-Implementierung von Algorithmen

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

(relativ) sichere Ablage fr private Schlssel Hardware-Implementierung von Algorithmen Standard-Interface PKCS #11 [2]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Python-Libraries Python Standard Library Wrapper fr C-Bibliotheken Python-Implementierungen

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python Standard Library

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

hashlib [3] kryptograsche Hashfunktionen

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python Standard Library

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

hashlib [3] kryptograsche Hashfunktionen hmac [4] Message Authentication Codes

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python Standard Library

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

hashlib [3] kryptograsche Hashfunktionen hmac [4] Message Authentication Codes crypt [5] Salted Hashing / Prfung von Passwrtern (nur Unix)

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Wrapper fr C-Bibliotheken

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

OpenSSL pyOpenSSL [6], M2Crypto [7]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Wrapper fr C-Bibliotheken

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

OpenSSL pyOpenSSL [6], M2Crypto [7] GNUTLS python-gnutls [8]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Wrapper fr C-Bibliotheken

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

OpenSSL pyOpenSSL [6], M2Crypto [7] GNUTLS python-gnutls [8] NSS python-nss [9]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Wrapper fr C-Bibliotheken

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

OpenSSL pyOpenSSL [6], M2Crypto [7] GNUTLS python-gnutls [8] NSS python-nss [9] Crypto++ pycryptopp [10]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python-Implementierungen

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

PyCrypto [11]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python-Implementierungen

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

PyCrypto [11] cryptopy [12]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ... Python-Implementierungen

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

PyCrypto [11] cryptopy [12] PyKCS11 [13]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Demo

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Demo Signieren mit Smartcard und PyKCS11

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Einleitung ...

Kryptograe

Chipkarten

Python-Libraries . . .

Demo

Demo Signieren mit Smartcard und PyKCS11 Demo Prfung der Signatur mit PyCrypto

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Kontakt

Literatur

Kontakt

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Kontakt

Literatur

Kontakt
Jan Dittberner Communardo Software GmbH E-Mail: jan.dittberner@communardo.de http://www.communardo.de/home/ techblog/author/jdi

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Kontakt

Literatur

[1]

Jan Dittberner. Keytool, OpenSSL und Co. Wofr nehme ich was und Warum? Vortrag und Demonstration. Communardo Software GmbH, 5. Mai 2011. url: http://www.scribd.com/doc/60934981/Keytool-OpenS SL-und-Co-Wofur-nehme-ich-was-und-Warum. RSA Laboratories. PKCS #11: Cryptographic Token Interface Standard V2.30. 2009. url: http://www.rsa.com/rsalabs/node.asp?id=2133. hashlib Secure hashes and message digests. url: http://docs.python.org/library/hashlib.html. hmac Keyed-Hashing for Message Authentication. url: http://docs.python.org/library/hmac.html.
. . . . . .

[2]

[3] [4]

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Kontakt

Literatur

[5] [6] [7]

crypt Function to check Unix passwords. url: http://docs.python.org/library/crypt.html. pyOpenSSL Python interface to the OpenSSL library. url: https://launchpad.net/pyopenssl. MeTooCrypto. url: http://chandlerproject.org/bin/view/Projects/Me TooCrypto. python-gnutls Python wrapper for the GNUTLS library. url: http://pypi.python.org/pypi/python-gnutls/. Python binding for NSS (python-nss). url: http://www.mo zilla.org/projects/security/pki/python-nss/.

[8] [9]

[10] pycryptopp. url: http://tahoe-lafs.org/trac/pycryptopp.


. . . . . .

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

Kontakt

Literatur

[11] PyCrypto The Python Cryptography Toolkit. url: https://www.dlitz.net/software/pycrypto/. [12] CryptoPy. url: http://sourceforge.net/projects/cryptopy/. [13] PyKCS11. url: http://www.bit4id.org/trac/pykcs11.

Jan Dittberner PyCon DE 2011 - Kryptograe mit Python

Communardo Software GmbH

You might also like