From 71f43af5470b731470d2376661eabb5e40629ea8 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 30 Jul 2022 14:49:11 +0100 Subject: [PATCH] test/ca.py: fix handling of RFC4716 public key files. I must have dashed off that branch of the key reading function without ever testing it, or I'd have noticed by now that it was looking for the wrong string to terminate the file. Ahem. --- test/ca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ca.py b/test/ca.py index 2ec24a31..ebd80599 100755 --- a/test/ca.py +++ b/test/ca.py @@ -114,7 +114,7 @@ def read_pubkey_file(fh): comment = val.strip("\r\n") line = next(lines) # Now expect lines of base64 data. - while line != "---- BEGIN SSH2 PUBLIC KEY ----": + while line != "---- END SSH2 PUBLIC KEY ----": b64buf.write(line) line = next(lines)