cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

sanitize resolved shortnames better, improve scrub #66

Closed cblgh closed 3 years ago

cblgh commented 3 years ago

this pr solves some mistakes when resolving cabal keys that have an admin/mod key set. previously, the full length resolved uri would be used internally, instead of the properly scrubbed cabal key. this caused side effects, such as the screenshot, below.

image there should only be one folder, and it should not be the one with an admin key stuck in it

this pr also adds a /whoiskey <public key> command that lets you know what the user name is of that public key. i needed it for some other debugging and i cba to add a separate pr ^^'