small pixel drawing of a pufferfish dotfiles

remove pw_rotate
j3s j3s@c3f.net
Thu, 28 Jan 2021 16:10:41 -0600
commit

c66296683cad020ebe12168f50572bf4eb2dbde5

parent

dd924016c237ed1200c9869af85819c83a8ba751

1 files changed, 0 insertions(+), 19 deletions(-)

jump to
M bin/pabin/pa

@@ -49,24 +49,6 @@ EOF

printf '%s\n' "Saved '$name' to the store." } -pw_rotate() { - if yn "Generate a new key and re-encrypt all of your passwords?"; then - mkdir -p ~/.age - printf "Old key saved at ~/.age/key.txt.bak" - mv ~/.age/key.txt ~/.age/key.txt.bak - age-keygen -o ~/.age/key.txt - - cd "$PA_DIR" - for pass in *; do - printf "$pass\n" - ls -l "$pass" - cat "$pass" - done - - printf "Completed rotation\n" - fi -} - pw_edit() { name=$1

@@ -239,7 +221,6 @@ d*) pw_del "$2" ;;

e*) pw_edit "$2" ;; s*) pw_show "$2" ;; l*) pw_list ;; - r*) pw_rotate ;; *) usage esac }