Skip to content

Commit

Permalink
Disable config-file and disabled-list hash functions (die on use)
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Mar 9, 2022
1 parent ba29f5c commit 1172d91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion easytls
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ config_use () {

# verify config file hash
config_verify_hash () {
# DISABLED
die "DISABLE: config_verify_hash"
[ -z "${config_verify_hash_block}" ] || \
die "config verify hash must only run once"
Expand All @@ -994,6 +995,7 @@ config_verify_hash () {

# Hash config-file
config_save_hash () {
# DISABLED
die "DISABLE: config_save_hash"
[ -z "${config_save_hash_block}" ] || \
die "config save hash must only run once"
Expand Down Expand Up @@ -6328,6 +6330,8 @@ disabled_list_manager ()
# Verify current disable-list hash
disabled_list_verify_hash ()
{
# DISABLED
die "DISABLED disabled_list_verify_hash"
[ -z "${disabled_list_verify_hash_block}" ] || \
die "tlskey index verify hash must only run once"
request_fixed_hash=1
Expand All @@ -6344,7 +6348,8 @@ disabled_list_verify_hash ()
# Save new disable-list hash
disabled_list_save_hash ()
{
# return 0 # Permanently DISABLED
# DISABLED
die "DISABLED disabled_list_save_hash"
[ -z "${disabled_list_save_hash_block}" ] || \
die "disabled list save hash must only run once"
request_fixed_hash=1
Expand Down

1 comment on commit 1172d91

@TinCanTech
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.