Add new service: nostr.kosmos.org (members-only nostr relay) #559

Merged
greg merged 14 commits from feature/strfry into master 2024-07-05 07:33:41 +00:00
Owner

Configures/deploys a strfry relay, with an LDAP policy to only allow writes from users with a known nostrKey in LDAP.

You can try this for yourself by adding wss://nostr.kosmos.org to any Nostr client and publishing a note. It will be rejected, unless you add your Nostr pubkey on https://accounts.kosmos.org/settings/nostr first. The easiest way of doing that is to generate a keypair in Alby, which you can then also use to log into your account once the key is added.

A very simple Web app for testing is https://snowcait.github.io/nostr-playground/ for example. Personally, I enjoy https://nostrudel.ninja a lot, and it comes with some debugging tools and detailed publishing statuses as well.

Configures/deploys a [strfry](https://github.com/hoytech/strfry) relay, with an LDAP policy to only allow writes from users with a known `nostrKey` in LDAP. You can try this for yourself by adding `wss://nostr.kosmos.org` to any Nostr client and publishing a note. It will be rejected, unless you add your Nostr pubkey on https://accounts.kosmos.org/settings/nostr first. The easiest way of doing that is to generate a keypair in Alby, which you can then also use to log into your account once the key is added. A very simple Web app for testing is https://snowcait.github.io/nostr-playground/ for example. Personally, I enjoy https://nostrudel.ninja a lot, and it comes with some debugging tools and detailed publishing statuses as well.
raucao added the
kredits-2
ops
feature
labels 2024-06-11 21:18:26 +00:00
raucao added 9 commits 2024-06-11 21:18:26 +00:00
raucao requested review from greg 2024-06-11 21:18:31 +00:00
raucao reviewed 2024-06-11 21:50:25 +00:00
@ -1,9 +1,10 @@
ubuntu_server_cloud_image_release = "20230506"
release = "20240514"
img_filename = "ubuntu-22.04-server-cloudimg-amd64-disk-kvm"
Author
Owner

This change slipped into the PR accidentally, but I think we could probably just leave it here.

This change slipped into the PR accidentally, but I think we could probably just leave it here.
greg marked this conversation as resolved
raucao added 1 commit 2024-06-20 13:04:45 +00:00
raucao added 1 commit 2024-06-20 13:39:15 +00:00
Allow akkounts pubkey to publish to our own relay
raucao added 1 commit 2024-06-20 16:16:48 +00:00
greg reviewed 2024-07-02 13:03:50 +00:00
@ -0,0 +40,4 @@
owner node["strfry"]["user"]
group node["strfry"]["group"]
mode "0644"
notifies :restart, "service[strfry]", :delayed
Owner

Is this service defined anywhere else? I can see it's commented out on line 77

Is this service defined anywhere else? I can see it's commented out on line 77
Author
Owner

It's created in the strfry cookbook. I have removed the commented code. Thanks.

It's created in the `strfry` cookbook. I have removed the commented code. Thanks.
raucao marked this conversation as resolved
raucao added 2 commits 2024-07-03 07:23:42 +00:00
greg approved these changes 2024-07-05 07:33:30 +00:00
greg left a comment
Owner

👍

👍
greg merged commit 2dff7cf850 into master 2024-07-05 07:33:41 +00:00
greg deleted branch feature/strfry 2024-07-05 07:33:41 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#559
No description provided.