Add pubkey whitelist to strfry policy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

And allow the local akkounts instance to publish on the local relay
This commit is contained in:
2024-06-20 15:26:31 +02:00
parent f401a03590
commit 01ecea74ff
3 changed files with 13 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ const ldapConfig = {
bindDN: Deno.env.get("LDAP_BIND_DN"),
password: Deno.env.get("LDAP_PASSWORD"),
searchDN: Deno.env.get("LDAP_SEARCH_DN"),
whitelistPubkeys: Deno.env.get("WHITELIST_PUBKEYS")?.split(',')
}
for await (const msg of readStdin()) {