- Issue created by @swentel
- 🇳🇱Netherlands sebastian hagens Breda, Netherlands
Is there a contrib generic key module for storing this type of data? Or should it be a more Nostr specific module for managing your keys?
- 🇧🇪Belgium swentel
There's https://www.drupal.org/project/key → which allows to do key management, and is very pluggable.
FWIW: In the activitypub module, I manage the keys myself (generate and store) in a private directory which works fine, but I might move to the key module at some point.
Note: my nostr-php package allows to convert from hex -> bech32 and vice versa, so that can be used to convert easily and allow people to submit any version of their Nostr key.
- 🇺🇸United States Shawn DeArmond
There seems to be forming a small ecosystem of Nostr modules thanks to yourself as well as @Sebastian Hagens.
I’m thinking there’s a need for a central “Nostr” module that handles all the common stuff, like relay management, npub management and ideally nsecBunker support.
It can provide the settings screens and config for npubs that are global, maybe with role-based permissions, as well as npubs that are user-specific.
Each of the modules you two (and future others) are creating shouldn’t have to re-invent NIP-1 each time.