Petr Viktorin
5b6a1ce8a8
p11helper: Port to Python 3
...
- Use binascii.hexlify instead of encode('hex')
- Keep the library name as a text string instead of encoding to bytes
https://fedorahosted.org/freeipa/ticket/5638
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2016-02-17 10:41:29 +01:00
Jan Cholasta
b808376e2f
ipapython: use python-cryptography instead of libcrypto in p11helper
...
Replace CFFI calls to libcrypto with equivalent python-cryptography code.
https://fedorahosted.org/freeipa/ticket/5596
Reviewed-By: Martin Basti <mbasti@redhat.com >
2016-01-21 10:21:32 +01:00
Jan Cholasta
500ee7e2b1
ipapython: port p11helper C code to Python
...
This replaces the binary _ipap11helper module with cffi-based Python code.
https://fedorahosted.org/freeipa/ticket/5596
Reviewed-By: Martin Basti <mbasti@redhat.com >
2016-01-21 10:21:32 +01:00
Petr Viktorin
5178e9a597
Modernize use of range()
...
In Python 3, range() behaves like the old xrange().
The difference between range() and xrange() is usually not significant,
especially if the whole result is iterated over.
Convert xrange() usage to range() for small ranges.
Use modern idioms in a few other uses of range().
Reviewed-By: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2015-09-01 11:42:01 +02:00
Tomas Babej
f30865c5f0
ipapython: Fix incorrect python shebangs
...
Make sure shebangs explicitly reference python2.
Reviewed-By: Martin Basti <mbasti@redhat.com >
2015-01-26 13:03:24 +01:00
Martin Basti
9101cfa60f
DNSSEC: opendnssec services
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00