mjordan / larkm

A simple ARK resolver.
MIT License
1 stars 0 forks source link

Make NAAN part of the API request #9

Closed bondjimbond closed 1 week ago

bondjimbond commented 2 months ago

Currently, the NAAN is a static, configured variable in LARKM. Would like the NAAN instead to be a variable passed by the API request, so that LARKM could work with multiple NAANs.

Use case: Arca has ~29 separate organizations with their own sites, each of which would have its own NAAN. We would like to use a single ARK resolver for all of these separate sites.

mjordan commented 3 weeks ago

NAANs should probably follow the same pattern as shoulders, i.e. there's a default and a list of allowed.

mjordan commented 3 weeks ago

Done, but README examples do not include how to use it. Also, Configuration section needs to be updated.

mjordan commented 1 week ago

README updated to document using NAANs.