Compare commits

...

2 commits

Author SHA1 Message Date
5922baf8d1 pi-bwrap: Allow passing through SSH config and agent
This can be used by the SSH plugin.
2026-07-30 22:50:20 -04:00
fd662a6af9 update ass_to_srt 2026-07-30 22:50:14 -04:00
2 changed files with 11 additions and 0 deletions

View file

@ -74,6 +74,16 @@ while [ ! -z "$1" ]; do
shift
shift
;;
--enable-ssh)
echo "Allowing ~/.ssh access"
# This is only fine because my local .ssh directory contains only a Yubikey pubkey
add_ro_bind "$HOME/.ssh"
# And allow ssh agent
add_bind "$SSH_AUTH_SOCK"
# Nuke the system-wide ssh path inside the container
BWRAP_ARGS+=(--tmpfs /etc/ssh)
shift
;;
*)
PI_ARGS+=("$1")
shift

View file

@ -2,3 +2,4 @@
ffmpeg -i "$1" "$2"
sed -E -i 's/<[^>]+>//g' "$2"
sed -E -i 's/\{[^}]+\}//g' "$2"