Skip to content
Snippets Groups Projects
Unverified Commit b8b690a8 authored by Florian Sesser's avatar Florian Sesser Committed by GitHub
Browse files

Eliminate white space around ristretto key when reading key file

It is easy to erroneously add extra white space to a text file. For example when writing with an editor like `nano` or when using `echo` without the `-n` argument.

Handing that white space over to python-challenge-bypass-ristretto's `decode_base64()` method will make it fail in a rather opaque way, see https://github.com/LeastAuthority/python-challenge-bypass-ristretto/issues/37.

This eliminates white space including newlines around the key expected to be in that file.
parent 632d2cdc
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment