aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-05-07 21:47:24 +0000
committerRob Austein <sra@hactrn.net>2016-05-07 21:47:24 +0000
commitde32572de12710e4bcec9f6969dcea91ebaf350c (patch)
treed80efb9e61a6731b39357bd7ada0c3bf69ac61b9
parentb3ae5c98b3e53e03cea4f168c009cb2bf3afbe81 (diff)
Exclude root certificate serial number from last_serial calculation,
as including it ends very badly when the root certificate serial is a randomly-generated 64-bit value. See #814. svn path=/branches/tk705/; revision=6430
-rwxr-xr-xpotpourri/ca-unpickle.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/potpourri/ca-unpickle.py b/potpourri/ca-unpickle.py
index 3b31e0ba..be8f8237 100755
--- a/potpourri/ca-unpickle.py
+++ b/potpourri/ca-unpickle.py
@@ -260,7 +260,6 @@ class Root(object):
root_handle = str(uuid.uuid4())
rpki_root_last_serial = max(
- rpki_root_cer.getSerial(),
rpki_work_cer.getSerial(),
self.iter_get(rpki_root_mft.get_POW().certs()).getSerial())