Initial check in
This commit is contained in:
committed by
tlimoncelli@stackexchange.com
parent
e9a5bfab26
commit
73396c8a4d
21
bin/start
Executable file
21
bin/start
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# blackbox_edit_start.sh -- Decrypt a file for editing.
|
||||
#
|
||||
|
||||
source bin/blackbox_common.sh
|
||||
|
||||
fail_if_bad_environment
|
||||
|
||||
for param in """$@""" ; do
|
||||
unencrypted_file=$(get_unencrypted_filename "$param")
|
||||
encrypted_file=$(get_encrypted_filename "$param")
|
||||
|
||||
fail_if_not_on_cryptlist "$unencrypted_file"
|
||||
fail_if_not_exists "$encrypted_file" "This should not happen."
|
||||
rm -f "$unencrypted_file"
|
||||
|
||||
prepare_keychain
|
||||
decrypt_file "$encrypted_file" "$unencrypted_file"
|
||||
done
|
||||
Reference in New Issue
Block a user