my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove pw_rotate

j3s c6629668 dd924016

-19
-19
bin/pa
··· 49 49 printf '%s\n' "Saved '$name' to the store." 50 50 } 51 51 52 - pw_rotate() { 53 - if yn "Generate a new key and re-encrypt all of your passwords?"; then 54 - mkdir -p ~/.age 55 - printf "Old key saved at ~/.age/key.txt.bak" 56 - mv ~/.age/key.txt ~/.age/key.txt.bak 57 - age-keygen -o ~/.age/key.txt 58 - 59 - cd "$PA_DIR" 60 - for pass in *; do 61 - printf "$pass\n" 62 - ls -l "$pass" 63 - cat "$pass" 64 - done 65 - 66 - printf "Completed rotation\n" 67 - fi 68 - } 69 - 70 52 pw_edit() { 71 53 name=$1 72 54 ··· 239 221 e*) pw_edit "$2" ;; 240 222 s*) pw_show "$2" ;; 241 223 l*) pw_list ;; 242 - r*) pw_rotate ;; 243 224 *) usage 244 225 esac 245 226 }