Skip to content
Snippets Groups Projects
Unverified Commit beeae331 authored by anarcat's avatar anarcat
Browse files

fix checksum verification

don't read the checksum using the built-in read command, it inserts a ^M that breaks shasum
parent 88b1568b
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,10 @@
* on pauli:
echo "paste sha256sum output now:" && \
read sha256 filename && \
cd /var/lib/puppet/ssl/ca/requests && \
( [ -e $filename ] || (echo "$filename does not exist."; exit 1) ) && \
echo -e "$sha256 $filename" | sha256sum -c && \
echo "paste sha256sum output followed by control-d: " && \
sha256sum -c && \
puppet ca sign $(basename "$filename" .pem) && \
echo && \
echo "--- 8< --- CUT HERE --- 8< ---" && \
......
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