14 lines
244 B
Bash
14 lines
244 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
read -n 4096 cmd
|
||
|
cmd=$(echo "$cmd" | base64 -d)
|
||
|
|
||
|
if [ "$cmd" == "list-files" ] ; then
|
||
|
|
||
|
logger -t ruddo.PassQuery "requested password file list"
|
||
|
exec pass git ls-files | sed -e '/.gitattributes/d' -e '/.gpg-id/d'
|
||
|
|
||
|
fi
|