mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 23:20:57 +00:00
list_gnupg_ciphers: Remove check on gpg
This function is called after _ensure_dependencies(), which would bail out if gpg is not found
This commit is contained in:
parent
5e3b0dec84
commit
08ca0a8eef
3
tomb
3
tomb
@ -1359,9 +1359,6 @@ gen_key() {
|
|||||||
|
|
||||||
# prints an array of ciphers available in gnupg (to encrypt keys)
|
# prints an array of ciphers available in gnupg (to encrypt keys)
|
||||||
list_gnupg_ciphers() {
|
list_gnupg_ciphers() {
|
||||||
# prints an error if GnuPG is not found
|
|
||||||
which gpg &>/dev/null || _failure "gpg (GnuPG) is not found, Tomb cannot function without it."
|
|
||||||
|
|
||||||
# On gpg1 and gpg2 line 10 always point to available ciphers.
|
# On gpg1 and gpg2 line 10 always point to available ciphers.
|
||||||
# Print those until the next section is found
|
# Print those until the next section is found
|
||||||
ciphers=(`gpg --version | awk '
|
ciphers=(`gpg --version | awk '
|
||||||
|
Loading…
Reference in New Issue
Block a user