Genuine (ORI) Computer Science students back up their KEYS! Fake (KW) students keep sobbing because they are losing their keys.
WEEK=02, or WEEK=03, or WEEK=04, etc.
WEEK=02
In another week, the number will obviously be different.
gpg --list-key --keyid-format long
KEYID=60914D29C01C81F1
Remember, you are not cbkadal!
mkdir -pv $HOME/myBACKUP/
ls -al $HOME/myBACKUP/
/bin/cp -vf $HOME/.ssh/id_ed25519 $HOME/myBACKUP/
/bin/cp -vf $HOME/.ssh/id_ed25519.pub $HOME/myBACKUP/
gpg --armor --yes --output $HOME/myBACKUP/mySECRETgnupgKEY.asc --export-secret-keys $KEYID
ls -al $HOME/myBACKUP/
pushd $HOME/myBACKUP/
rm -vf WEEK??-MD5SUM.txt
md5sum id_ed25519 id_ed25519.pub mySECRETgnupgKEY.asc | tee WEEK$WEEK-MD5SUM.txt
ls -al
popd
pushd $HOME/myBACKUP/
mkdir -pv $HOME/RESULT/W$WEEK/
cp -v WEEK$WEEK-MD5SUM.txt $HOME/RESULT/W$WEEK/
ls -al $HOME/RESULT/W$WEEK/
popd
It is highly recommended that you secure all the contents of the “myBACKUP/” folder to an external medium such as a flash drive.
Never ever
submit your files like “mySECRETgnupgKEY.asc” and “id_ed25519”!
By the way, keep a copy of those keys OUTSIDE your virtual guest!