1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

cryptsuite.py: remove some rogue diagnostics.

I must have left these in by mistake while I was still trying to make
the certificate tests pass.
This commit is contained in:
Simon Tatham 2022-08-05 12:42:06 +01:00
parent 61a877cce4
commit e711a08daf

View File

@ -2728,10 +2728,8 @@ Private-MAC: 5b1f6f4cc43eb0060d2c3e181bc0129343adba2b
valid_after = 1000,
valid_before = 2000), ca_key, signflags=ca_signflags)
import base64
print(base64.b64encode(ca_self_certificate))
self_signed_ca_key = ssh_key_new_pub(
alg + '-cert', ca_self_certificate)
print(self_signed_ca_key)
cert_pub = sign_cert_via_testcrypt(
make_signature_preimage(
key_to_certify = base_key.public_blob(),
@ -2742,7 +2740,6 @@ Private-MAC: 5b1f6f4cc43eb0060d2c3e181bc0129343adba2b
principals = [b'username'],
valid_after = 1000,
valid_before = 2000), ca_key, signflags=ca_signflags)
print(base64.b64encode(cert_pub))
certified_key = ssh_key_new_priv(alg + '-cert', cert_pub,
base_key.private_blob())
result, err = certified_key.check_cert(