Added Password encryption

Added Password encryption to generate encrypted password for automated joining with readfile
encryption will genetate encrypted.dat > (your password encrypted)  and private_key.pem  public_key.pem
all tree files are needed to decrypt the password. Find a way to get private_key.pem from outside source.
Please do NOT store your private_key.pem with the other files untill the joining process. encrypt a  password with sudo sh ADconnection.sh -p
This commit is contained in:
PierreGode 2020-04-14 11:07:43 +02:00 committed by GitHub
parent 0237a4b281
commit fb5d43a00b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2075,7 +2075,7 @@ while test $# -gt 0; do
fi fi
;; ;;
-p|--p) -p|--p)
if test $? -gt 0; then if test $# -gt 0; then
encrypt encrypt
else else
echo "" echo ""