Skip to content
Permalink
Browse files

Update generate_keys.sh (#1124)

Removed \r in case where keys created in different environment
  • Loading branch information...
Yshayy committed May 16, 2019
1 parent 71e6944 commit 2ac65e619a6974c95478babcfb1b234a0953a83f
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/generate_keys.sh
@@ -10,6 +10,6 @@ mv private-key.pem ssh/id_rsa # ssh private key
mv public_ssh ssh/id_rsa.pub # ssh public key
rm certificate.pem # use certificate.pfx
echo Basic Authentication password:
cat ssh/id_rsa | base64 -w 0 | md5sum | cut -d " " -f1 \
cat ssh/id_rsa | tr -d '\r' | base64 -w 0 | md5sum | cut -d " " -f1 \
| python -c 'import sys;print sys.stdin.read().rstrip("\r\n").decode("hex")' | base64

0 comments on commit 2ac65e6

Please sign in to comment.
You can’t perform that action at this time.