mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 10:53:01 +02:00
use openssl rand -base64
to generate password
This commit is contained in:
parent
af3ee9809f
commit
11b34e5395
1 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,7 @@
|
|||
|
||||
- name: Generate p12 export password
|
||||
shell: >
|
||||
openssl rand 8 |
|
||||
python3 -c 'import sys,string; chars=string.ascii_letters + string.digits + "_@"; print("".join([chars[ord(c) % 64] for c in list(sys.stdin.read())]))'
|
||||
openssl rand -base64 9
|
||||
register: p12_password_generated
|
||||
when: p12_password is not defined
|
||||
tags: update-users
|
||||
|
|
Loading…
Add table
Reference in a new issue