Josh Meekhof
01/19/2023, 6:57 PM------BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
I’ve tried taking the content between the blocks and making a long one line string and removing the \n
characters.
Each time I get the same InvalidPemFormat error.key = """-----BEGIN PRIVATE_KEY
.
."""
Bad:
key = """
-----BEGIN PRIVATE KEY
.
.""""