Bash Shell implementation of webfinger (RFC7033) client
This utility has been implemented along side the swicg / activitypub-webfinger standard document in order for testing and compliance.
The only file required is webfinger
it is self installing, installing curl
and jq
if not already installed, requiring super user sudo
password.
JRD Schema validation if used will also require either Python and PIP, or Node.js and NPM, installing check-jsonschema
or ajs-cli
and ajv-formats
respectively.
Usage: ./webfinger
[ -r <rel> | --rel <rel> | --REL <rel> ]
[ -V | --validate ]
[ -M | --mastodon ]
[ -v | --verbose ]
[ -f | --fake ]
<user@domain>
Provides infromation about execuation steps and variables.
Do not perform the curl HTTP REST GET call to https://<server>/.well-known/webfinger&resource=<resource>
set the vale of rel in curl call https://<server>/.well-known/webfinger&resource=<resource>&rel=<rel>
perform MORE restrictive Mastodon checking on the username
rather than using RFC7033 checking.
validate the returned JRD (JSON Resource Descriptor) against a JRD Schema.
webfinger AaronNGray@fosstodon.org
webfinger -M AaronNGray@fosstodon.org
webfinger -V AaronNGray@fosstodon.org
webfinger -vf AaronNGray@fosstodon.org
webfinger --rel self AaronNGray@fosstodon.org