SecuritySticker-Support; docs and logo

This commit is contained in:
2025-12-07 21:08:09 +01:00
parent fea4680642
commit 35dd865b80
18 changed files with 388 additions and 16 deletions

View File

@@ -356,6 +356,16 @@ function enterSecurityCode() {
}
function printSecurePassportFirstPage(){
checkLockFile
diaBox "Insert Passport" "Pleast insert the FIRST PAGE (Identity) into the printer."
cd "$1"
./secure_firstpage "$SECURITYCODE"
cd ..
rm $LOCKFILE
}
function printSecurePassport(){
checkLockFile
diaBox "Insert Passport" "Please insert passport (Visas) into the printer.\nA print on EVERY Visa page is necessary."
@@ -396,12 +406,24 @@ function menuFor() {
printGPG "$1"
fi
;;
4) enterSecurityCode
if [ $? -eq 0 ]; then
printSecurePassport "$1"
8) if [ "$1" = "bounddipl" ]; then
diaBox "Error" "Passport not supported."
else
enterSecurityCode
if [ $? -eq 0 ]; then
case $1 in
"bounddipl")
;;
"jhp")
printSecurePassport "$1"
;;
*)
printSecurePassportFirstPage "$1"
printSecurePassport "$1"
;;
esac
fi
fi
;;
esac
unset FNAME
unset SNAME