diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-02-16 13:07:13 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-16 22:04:44 -0500 |
commit | 36070555d1bd49aa1b25180db982a31dbac694a1 (patch) | |
tree | ade3b61a36e61ff84b72fad2a4dadb181bca8dc6 /checks | |
parent | 669c9d118027e890b4f6ed130815757fc4977e7a (diff) | |
download | freeipa-36070555d1bd49aa1b25180db982a31dbac694a1.tar.gz freeipa-36070555d1bd49aa1b25180db982a31dbac694a1.tar.xz freeipa-36070555d1bd49aa1b25180db982a31dbac694a1.zip |
Validate and convert certificate SN
The cert plugin only worked OK with decimal certificate serial numbers.
This patch allows specifying the serial number in hexadecimal, too. The
conversion now works such that:
* with no explicit radix, a best-effort conversion is done using int(str,
0) in python. If the format is ambiguous, decimal takes precedence.
* a hexadecimal radix can be specified explicitly with the traditional
0x prefix
https://fedorahosted.org/freeipa/ticket/958
https://fedorahosted.org/freeipa/ticket/953
Diffstat (limited to 'checks')
0 files changed, 0 insertions, 0 deletions