fixed with now = datetime.datetime.now() later = now + datetime.timedelta(days=2*365) striplater = later.strftime('%Y%m%d%H')
# python3.4 makekeys.py Enter the domain to configure keys for? test1234.com Generating key pair.......................................................................................................................................................................................+++ ......................................................................................................................................................................................+++ K Generating key pair.....+++ .........................................................................+++ K Verifying the zone using the following algorithms: RSASHA256. Zone fully signed: Algorithm: RSASHA256: KSKs: 1 active, 0 stand-by, 0 revoked ZSKs: 1 active, 0 stand-by, 0 revoked test1234.com.external.signed Signatures generated: 9 Signatures retained: 0 Signatures dropped: 0 Signatures successfully verified: 0 Signatures unsuccessfully verified: 0 Signing time in seconds: 0.010 Signatures per second: 883.392 Runtime in seconds: 0.013 -- https://mail.python.org/mailman/listinfo/python-list