User Tools

Site Tools


security:passwords

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
security:passwords [2021/11/09 23:11] chucksecurity:passwords [2021/11/10 11:41] (current) chuck
Line 1: Line 1:
 ======Passwords====== ======Passwords======
 Password things. Password things.
- 
----- 
-=====Password Storage===== 
-  * [[linux:security:keyring|Linux Keyring]] 
- 
  
 ---- ----
  
 =====Password Generation===== =====Password Generation=====
 +
 +====General Usage====
   * [[linux:security:password:password-generator:diceware|diceware]] - Generates passwords using the diceware list.   * [[linux:security:password:password-generator:diceware|diceware]] - Generates passwords using the diceware list.
-  * [[linux:security:password:password-generator:makepasswd|makepasswd]] - Generates random alphanumeric passwords and/or encrypts a plaintext password of your choice.     +  * [[linux:security:password:password-generator:makepasswd|makepasswd]] - Generates random alphanumeric passwords and/or encrypts a plaintext password of your choice. 
-    https://packages.debian.org/bullseye/makepasswd +  Generate password using ''%%base64%%'' and ''%%/dev/urandom%%'':<code bash> 
-  * [[linux:security:password:mkpasswd|mkpasswd]] - Encrypts passwords. +head -c50 /dev/urandom base64 
-    * Use it for [[https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module|Ansible playbooks]]. +</code>   
-    * Comes with [[https://packages.debian.org/bullseye/whois|whois]] package. +
-    * https://packages.debian.org/buster/libstring-mkpasswd-perl+
  
 +----
 +
 +====Formatted for /etc/shadow====
 +  * [[linux:security:password:mkpasswd|mkpasswd]]
 +    * sha-512:<code bash>
 +mkpasswd --method=sha-512
 +</code>
 +    * yescrypt:<code bash>
 +mkpasswd --method=yescrypt
 +</code>
 +  * **openssl**:
 +    * sha-512:<code bash>
 +openssl passwd -6
 +</code>
 +  * **python3**:
 +    * sha-512:<code bash>
 +python3 -c 'import crypt, getpass; print(crypt.crypt(getpass.getpass()))'
 +</code>
  
 ---- ----
  
 =====Password Managers===== =====Password Managers=====
-  * [[linux:security:password:keepassxc|keepassxc]] - Generates random alphanumeric and diceware passwords. +  * [[linux:security:password:password-manager:keepassxc|KeePassXC]] - Generates and stores random alphanumeric and diceware passwords. 
-    * https://keepassxc.org/ +  * [[linux:security:password:password-manager:pass|pass]] - Generates and stores random alphanumeric passwords. 
-    * https://packages.debian.org/bullseye/keepassxc +  [[linux:security:keyring|Linux Keyring]] - Stores passwords
-  * [[linux:security:password:password-manager:pass|pass]] - Generates random alphanumeric passwords. +
-    https://www.passwordstore.org/ +
-    * https://packages.debian.org/bullseye/pass+
  
 +----
security/passwords.1636499506.txt.gz · Last modified: by chuck