comment
authorJoey Hess <joeyh@joeyh.name>
Mon, 9 Mar 2020 16:33:35 +0000 (12:33 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 9 Mar 2020 16:33:35 +0000 (12:33 -0400)
doc/todo/add_option_to_disable_fsck_upgradable_key_warnings/comment_1_f91174aef6f7a5a41fb9b9b54249be1c._comment [new file with mode: 0644]

diff --git a/doc/todo/add_option_to_disable_fsck_upgradable_key_warnings/comment_1_f91174aef6f7a5a41fb9b9b54249be1c._comment b/doc/todo/add_option_to_disable_fsck_upgradable_key_warnings/comment_1_f91174aef6f7a5a41fb9b9b54249be1c._comment
new file mode 100644 (file)
index 0000000..45c68db
--- /dev/null
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2020-03-09T16:24:11Z"
+ content="""
+git-annex fsck only displays that warning when annex.securehashesonly=true.
+That is not a default setting.
+
+Seems to me, setting that when your repo legitimately uses insecure
+hashes will cause other problems, eg git-annex will refuse to transfer
+content using insecure hashes since it cannot verify it.
+So, you could just unset that.
+
+I suppose, if you've migrated away from those hashes, but still have old
+objects using them present in the annex, and turned on
+annex.securehashesonly=true, fsck --all will warn about the objects.
+If that's the problem, it might make sense to disable the warning for
+--all and --key.
+"""]]