issue91:mots_de_passe_multiples
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue91:mots_de_passe_multiples [2015/01/02 15:59] – créée andre_domenech | issue91:mots_de_passe_multiples [2015/02/25 15:48] (Version actuelle) – [6] auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | I use a Terminal Bash script to interact with my encrypted password files as needed. My script procedure is simple and quick. A person new to Bash scripts should see them as small, self-contained, | + | ====== 1 ====== |
+ | |||
+ | **I use a Terminal Bash script to interact with my encrypted password files as needed. My script procedure is simple and quick. A person new to Bash scripts should see them as small, self-contained, | ||
How I store my passwords | How I store my passwords | ||
Ligne 5: | Ligne 7: | ||
My passwords all reside in encrypted text files on my computer, and also as non-linked, encrypted text files on my website' | My passwords all reside in encrypted text files on my computer, and also as non-linked, encrypted text files on my website' | ||
• Use it on a day-to-day basis, and | • Use it on a day-to-day basis, and | ||
- | •Save it to a USB key in a safe deposit box using clear-text that gets rotated every 15 days—my regular business practice. (Encrypted files would be quite safe to store even on a cloud storage service.) | + | •Save it to a USB key in a safe deposit box using clear-text that gets rotated every 15 days—my regular business practice. (Encrypted files would be quite safe to store even on a cloud storage service.)** |
- | How I manage my encryption/ | + | J' |
+ | |||
+ | Comment je stocke mes mots de passe | ||
+ | |||
+ | Mes mots de passe se trouvent tous dans des fichiers textes chiffrés sur mon ordinateur et également dans des fichiers textes chiffrés, sans URL ,sur le serveur d' | ||
+ | • l' | ||
+ | • l' | ||
+ | |||
+ | ====== 2 ====== | ||
+ | |||
+ | **How I manage my encryption/ | ||
First, my script runs a quick check to see if the caps lock key is enabled on my keyboard so that I am certain that my master password is correctly typed though it doesn' | First, my script runs a quick check to see if the caps lock key is enabled on my keyboard so that I am certain that my master password is correctly typed though it doesn' | ||
Ligne 15: | Ligne 27: | ||
I then close that clear-text file after seeing what I need. The utility then continues and processes the encryption – thereby converting the clear-text file back to its encrypted form and then it saves the result. | I then close that clear-text file after seeing what I need. The utility then continues and processes the encryption – thereby converting the clear-text file back to its encrypted form and then it saves the result. | ||
- | Lastly, my script lists the folder of encrypted files (I have many in my actual business), showing the file and its extension as encrypted to verify that the encryption actually was successful with the clear-text file now gone. | + | Lastly, my script lists the folder of encrypted files (I have many in my actual business), showing the file and its extension as encrypted to verify that the encryption actually was successful with the clear-text file now gone.** |
- | Encrypted files get the extension .cpt to indicate encrypted status. All activity regarding encryption/ | + | Comment je gère le chiffrement/ |
+ | |||
+ | Tout d' | ||
+ | |||
+ | Ensuite, le contrôle passe par une routine de déchiffrement, | ||
+ | |||
+ | Je ferme ensuite ce fichier en texte clair après avoir consulté ce dont j' | ||
+ | |||
+ | Enfin, mon script liste le dossier des fichiers cryptés (j'en ai beaucoup dans mon entreprise), | ||
+ | |||
+ | ====== 3 ====== | ||
+ | |||
+ | **Encrypted files get the extension .cpt to indicate encrypted status. All activity regarding encryption/ | ||
My script also allows me to navigate to and encrypt or decrypt any chosen file on my computer. | My script also allows me to navigate to and encrypt or decrypt any chosen file on my computer. | ||
Ligne 26: | Ligne 50: | ||
Notes on ccrypt can be found at: http:// | Notes on ccrypt can be found at: http:// | ||
- | I chose ccrypt based of its ease of use and the overall quickness and simplicity of its method. (I firmly believe that most users fail to use encryption because of this.) I'm sure you'd tell me about the advantages of pgp or gpg public/ | + | I chose ccrypt based of its ease of use and the overall quickness and simplicity of its method. (I firmly believe that most users fail to use encryption because of this.) I'm sure you'd tell me about the advantages of pgp or gpg public/ |
- | I imagine that malicious hackers trying to get personal information about me or my files always go for my low hanging fruit on my document tree first, and then maybe even never bother with the delicious higher fruit (where my encrypted files are). | + | Les fichiers chiffrés ont l' |
+ | |||
+ | Mon script me permet aussi de sélectionner, | ||
+ | |||
+ | L' | ||
+ | |||
+ | sudo apt-get install ccrypt | ||
+ | |||
+ | Des notes sur ccrypt sont disponibles à l' | ||
+ | |||
+ | J'ai choisi ccrypt en me basant sur sa facilité d' | ||
+ | |||
+ | ====== 4 ====== | ||
+ | |||
+ | **I imagine that malicious hackers trying to get personal information about me or my files always go for my low hanging fruit on my document tree first, and then maybe even never bother with the delicious higher fruit (where my encrypted files are). | ||
You might appreciate what an encrypted text file using ccrypt actually looks like. Bring it up with extension .cpt in your text editor; you will quickly realize that decrypting that file using trial and error, anti-encryption software just isn't a short-time possibility for anyone trying to break your encryption. However, I always assume that NO encryption will resist persistent breakage forever. Thus, my method is practical without being fool-proof. Remember the low hanging fruit principle. | You might appreciate what an encrypted text file using ccrypt actually looks like. Bring it up with extension .cpt in your text editor; you will quickly realize that decrypting that file using trial and error, anti-encryption software just isn't a short-time possibility for anyone trying to break your encryption. However, I always assume that NO encryption will resist persistent breakage forever. Thus, my method is practical without being fool-proof. Remember the low hanging fruit principle. | ||
Ligne 34: | Ligne 72: | ||
Make your ccrypt default password difficult to guess and you're probably protecting yourself very well. (11+ password characters or more with non-dictionary words, upper/lower case letters, numbers and punctuation) Example: | Make your ccrypt default password difficult to guess and you're probably protecting yourself very well. (11+ password characters or more with non-dictionary words, upper/lower case letters, numbers and punctuation) Example: | ||
- | mYbroTher# | + | mYbroTher# |
- | The Script | + | Je suppose que des gens malveillants qui essaient d' |
+ | |||
+ | Vous pouvez apprécier ce à quoi ressemble réellement un fichier de texte chiffré à l'aide ccrypt. Ouvrez le fichier avec l' | ||
+ | |||
+ | Rendez votre mot de passe par défaut de ccrypt difficile à deviner et vous serez probablement très bien protégé (plus de 11 caractères, | ||
+ | |||
+ | mAsOEUr# | ||
+ | |||
+ | ====== 5 ====== | ||
+ | |||
+ | **The Script | ||
The script resides in my home directory with the terminal command of ./dirpw to start it. My ' | The script resides in my home directory with the terminal command of ./dirpw to start it. My ' | ||
- | The script presents a directory of 4 choices and an exit option. Entering 1, 2, 3, 4 or 0 sends script control to the relevant selection. I particularly like to use colors in my scripts so that the presented dialog and responses stand out. While I normally heavily comment my scripts, I suspect that most readers will have little trouble following the flow. A run of the script usually clears up the remaining user/coder uncertainties. | + | The script presents a directory of 4 choices and an exit option. Entering 1, 2, 3, 4 or 0 sends script control to the relevant selection. I particularly like to use colors in my scripts so that the presented dialog and responses stand out. While I normally heavily comment my scripts, I suspect that most readers will have little trouble following the flow. A run of the script usually clears up the remaining user/coder uncertainties.** |
- | Below I've included a modification of my Bash script so that you can easily convert it to your computing environment. Make it executable via owner for your computing needs with: | + | Le script |
+ | |||
+ | Le script se trouve dans mon répertoire personnel et se lance avec la commande ./dirpw. Mon dossier « pw » avec les fichiers de mots de passe se trouve dans un dossier « pw » sur mon bureau. J'ai mis dans ce dossier mes fichiers textes cryptés : « clients.cpt » et « personnel.cpt », qui contiennent des détails de connexion au panneau de contrôle de mon site Web, des questions de sécurité du courriel, etc. Toute activité concernant le chiffrement/ | ||
+ | |||
+ | Le script présente quatre choix et une option de sortie. La saisie de 1, 2, 3, 4 ou 0 envoie le contrôle de script au choix concerné. J'aime particulièrement utiliser des couleurs dans mes scripts afin que l'on distingue les questions et les réponses affichées. Alors que je commente normalement fortement mes scripts, je pense que la plupart des lecteurs n' | ||
+ | |||
+ | ====== 6 ====== | ||
+ | |||
+ | **Below I've included a modification of my Bash script so that you can easily convert it to your computing environment. Make it executable via owner for your computing needs with: | ||
chmod u+x < | chmod u+x < | ||
Ligne 50: | Ligne 106: | ||
Script | Script | ||
- | http://pastebin.com/g0k4YyfB | + | http://goo.gl/ockJEj** |
+ | |||
+ | Ci-dessous, j'ai inclus une modification de mon script Bash que vous pourrez facilement convertir dans votre environnement informatique. Rendez-le exécutable via l' | ||
+ | |||
+ | chmod u+x < | ||
+ | |||
+ | Notez que j' | ||
+ | |||
+ | Script | ||
+ | |||
+ | http:// | ||
issue91/mots_de_passe_multiples.1420210763.txt.gz · Dernière modification : 2015/01/02 15:59 de andre_domenech