my dotz
2
fork

Configure Feed

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

Create age dir with safer permissions

j3s 705565a0 49999d15

+3 -3
+3 -3
bin/pa
··· 186 186 cd "$PA_DIR" || 187 187 die "Can't access password directory" 188 188 189 - [ -f ~/.age/key.txt ] || pw_gen 190 - pubkey=$(sed -n 's/.*\(age\)/\1/p' ~/.age/key.txt) 191 - 192 189 glob "$1" '[acdes]*' && [ -z "$2" ] && 193 190 die "Missing [name] argument" 194 191 ··· 210 207 # Restrict permissions of any new files to 211 208 # only the current user. 212 209 umask 077 210 + 211 + [ -f ~/.age/key.txt ] || pw_gen 212 + pubkey=$(sed -n 's/.*\(age\)/\1/p' ~/.age/key.txt) 213 213 214 214 # Ensure that we leave the terminal in a usable 215 215 # state on exit or Ctrl+C.