diff --git a/enigmail/bucket-file b/enigmail/bucket-file index d39b545..8b13789 100644 --- a/enigmail/bucket-file +++ b/enigmail/bucket-file @@ -1,2 +1 @@ -Coucou à tous ! -] \ No newline at end of file + diff --git a/enigmail/enigmail.sh b/enigmail/enigmail.sh index 500b9f6..49b83f6 100644 --- a/enigmail/enigmail.sh +++ b/enigmail/enigmail.sh @@ -5,6 +5,7 @@ path=$(readlink -f $(dirname $0)) if [ $# -eq 1 ] then # si 1 paramètre case $1 in + 'help') cat "$path/source/help"|less;; 'init') # initialise le contenu du fichier de config echo "smtp_server = smtp.gmail.com" > "$path/.config" echo "smtp_port = 587" >> "$path/.config" @@ -12,7 +13,7 @@ then # si 1 paramètre ;; 'config') nano "$path/.config";; # ouvre en modification le fichier de config 'write') nano "$path/bucket-file";; # ouvre en modification le bucket file - 'del') echo "">"$path/bucket-file";; # vide le bucket file + 'empty') echo "">"$path/bucket-file";; # vide le bucket file # ouvre en lecture le bucket file 'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";; 'encode') python "$path/source/encode.py";; diff --git a/enigmail/source/enigmail.pyc b/enigmail/source/enigmail.pyc deleted file mode 100644 index dc0b25b..0000000 Binary files a/enigmail/source/enigmail.pyc and /dev/null differ diff --git a/enigmail/source/help b/enigmail/source/help new file mode 100644 index 0000000..a0adb73 --- /dev/null +++ b/enigmail/source/help @@ -0,0 +1,49 @@ +ENIGMAIL + +NAME + enigmail - enigma-based encoder and decoder and mail client + +SYNOPSYS + enigmail [OPTION] + +DESCRIPTION + Encode, decode, write, read and send email. + For all the operations, the "bucket file" is the only file you write in, you read and you can empty and send its content. + + Enigmail allows you to encode messages and send them by mail with a secret key you choose. (number of hexadecimal) + Note: your key could be 1 to infinity + +OPTIONS + help + show this help page + + init + initialise the config page and the bucket file + + config + open the config page where you can enter your personal informations (smtp server and port, email address) + + read + shows the content of the bucket file + + write + open the bucket file in write mode + + empty + empty the bucket file + + encode + lets you encode the content of your bucket file to your bucket file, the data will be overwritten + + decode + lets you decode the content of your bucket file to your bucket file, the data will be overwritten + + send + open an interface to choose your receiver, your subjet and type your email password then send an email containing the content of the bucket file + +AUTHOR + Written by Adrien MARQUES. + +COPYRIGHT + License GPLv3+: GNU GPL version 3 or later . + This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.