Files
freeipa/ipaserver/plugins
Rob Crittenden 83be923ac5 Add a new parameter type, SerialNumber, as a subclass of Str
Transmitting a big integer like a random serial number over
either xmlrpc or JSON is problematic because they only support
32-bit integers at best. A random serial number can be as big
as 128 bits (theoretically 160 but dogtag limits it).

Treat as a string instead. Internally the value can be treated
as an Integer to conversions to/from hex as needed but for
transmission purposes handle it as a string.

Fixes: https://pagure.io/freeipa/issue/2016

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2022-06-09 08:35:15 +02:00
..
2010-12-20 17:19:53 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2017-03-27 19:08:26 +02:00
2022-03-11 13:37:08 -05:00
2020-07-07 10:07:48 -04:00
2018-01-09 07:53:28 +01:00
2019-10-21 18:01:32 +11:00
2022-03-11 13:37:08 -05:00
2019-03-28 00:21:00 +01:00
2022-03-11 13:37:08 -05:00
2020-03-31 09:21:37 +03:00
2022-03-11 13:37:08 -05:00
2020-09-23 14:49:15 +02:00
2021-05-12 10:45:57 -04:00
2022-03-11 13:37:08 -05:00
2018-01-09 07:53:28 +01:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-16 12:07:01 +02:00