all repos — honk @ 4e66b441b5be8130fc97d44abe10fd2f8d94e8d5

my fork of honk

practically, sufficient for keys to be owned by same domain as actor.
the url scheme doesn't matter, and need not match.
problem identified by eta.
Ted Unangst tedu@tedunangst.com
Sat, 15 Jul 2023 18:07:07 -0400
commit

4e66b441b5be8130fc97d44abe10fd2f8d94e8d5

parent

3db87746828ed5a060242a4632496839da4f54c0

1 files changed, 3 insertions(+), 7 deletions(-)

jump to
M fun.gofun.go

@@ -694,13 +694,9 @@ zaggies.Clear(keyname)

} func keymatch(keyname string, actor string) string { - hash := strings.IndexByte(keyname, '#') - if hash == -1 { - hash = len(keyname) - } - owner := keyname[0:hash] - if owner == actor { - return originate(actor) + origin := originate(actor) + if origin == originate(keyname) { + return origin } return "" }