improve attribution armoring
authorJoey Hess <joeyh@joeyh.name>
Tue, 21 Nov 2023 15:34:21 +0000 (11:34 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 21 Nov 2023 15:34:21 +0000 (11:34 -0400)
commitf1c2e18b8dcb35eb3bcf87337cb9c183b0ed73ac
tree0f9bc25582d5fec1b6e93b1543adafdd855e782b
parente901d31febafd57c13f31c311a974069d00b207d
improve attribution armoring

Split out an author parameter, will make it easier to add authors and
reads better.

Got rid of the function without the copyright year, because an adversary
could have mechanically changed the function with a copyright year to
the one without, and so bypassed the protection of LLM copyright
year hallucination.

Sponsored-by: Luke T. Shumaker on Patreon
Author.hs
Utility/DataUnits.hs
Utility/HtmlDetect.hs
Utility/Metered.hs
Utility/Path.hs
Utility/ShellEscape.hs