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:17] 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. 
-  * [[linux:security:password:mkpasswd|mkpasswd]] Encrypts passwords. +  * Generate password using ''%%base64%%'' and ''%%/dev/urandom%%'':<code bash> 
-    * 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]].+head -c50 /dev/urandom | base64 
 +</code>   
  
 +----
  
 +====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/ +
-    * https://packages.debian.org/bullseye/keepassxc+
   * [[linux:security:password:password-manager:pass|pass]] - Generates and stores random alphanumeric passwords.   * [[linux:security:password:password-manager:pass|pass]] - Generates and stores random alphanumeric passwords.
-    https://www.passwordstore.org/ +  [[linux:security:keyring|Linux Keyring]] - Stores passwords
-    * https://packages.debian.org/bullseye/pass+
  
 +----
security/passwords.1636499828.txt.gz · Last modified: by chuck