pw
This commit is contained in:
parent
ca422a66a5
commit
c9cbe7c24a
2 changed files with 0 additions and 0 deletions
33
sh/pw/pass.sh
Normal file
33
sh/pw/pass.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
# pass
|
||||
|
||||
# display pass entry’s content
|
||||
#| pass
|
||||
#= p
|
||||
rwx_pass() {
|
||||
pass \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# copy passphrase into clipboard
|
||||
#= pc
|
||||
rwx_pass_clip() {
|
||||
rwx_pass \
|
||||
--clip \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# display pass otp entry’s content
|
||||
#= po
|
||||
rwx_pass_otp() {
|
||||
rwx_pass \
|
||||
otp \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# copy otp into clipboard
|
||||
#= poc
|
||||
rwx_pass_otp_clip() {
|
||||
rwx_pass_otp \
|
||||
--clip \
|
||||
"${@}"
|
||||
}
|
20
sh/pw/pwgen.sh
Normal file
20
sh/pw/pwgen.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
# pwgen
|
||||
|
||||
# generate passwords
|
||||
#| pwgen
|
||||
#= pwg
|
||||
rwx_pass_word_gen() {
|
||||
pwgen \
|
||||
-1 \
|
||||
--num-passwords 1048576 \
|
||||
--secure \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# generate passwords with symbols
|
||||
#= pwgs
|
||||
rwx_pass_word_gen_symbols() {
|
||||
rwx_pass_word_gen \
|
||||
--symbols \
|
||||
"${@}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue