To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 7cf2fe90 authored by ccarlos's avatar ccarlos
Browse files

Update encrypt.sh

parent 109e11c3
#!/bin/bash
if [ ! -e slt2020_pub.pem ]
if [ ! -e slt2021_pub.pem ]
then
echo "> Public key ./slt2020_pub.pem does not exist."
echo "> Public key ./slt2021_pub.pem does not exist."
exit 1
fi
......@@ -13,7 +13,7 @@ then
echo "> Notebook file $notebookfile does not exist."
else
openssl smime -encrypt -aes256 -in "$notebookfile" -binary -outform DEM \
-out "$notebookfile.encr" slt2020_pub.pem
-out "$notebookfile.encr" slt2021_pub.pem
echo "> File encrypted as $notebookfile.encr"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment