Merge pull request 'Upgrade akkounts Ruby, update Sentry and Blossom configs' (#712) from security/akkounts-ruby-3.3.14 into master
Reviewed-on: #712
This commit was merged in pull request #712.
This commit is contained in:
6 files changed
+20
-6
No files matched your search
@@ -15,7 +15,8 @@
|
||||
},
|
||||
"nostr": {
|
||||
"public_key": "b3e1b7c1660b7db0ecb93ec55c09e67961171a5c4e9e2602f1b47477ea61c50a",
|
||||
"relay_url": "wss://nostr.kosmos.org"
|
||||
"relay_url": "wss://nostr.kosmos.org",
|
||||
"blossom_server_url": "https://blossom.kosmos.org"
|
||||
}
|
||||
},
|
||||
"blossom": {
|
||||
|
||||
+1
-1
Submodule nodes updated: 8544e545a5...455cb4aab7.
@@ -1,5 +1,13 @@
|
||||
# kosmos-akkounts CHANGELOG
|
||||
|
||||
# 0.5.0
|
||||
|
||||
- Upgrade Ruby to 3.3.14 for the Regexp and String case conversion security
|
||||
fixes (RCE-capable, see https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/).
|
||||
- Disable Sentry while its host is down: with no DSN in the app environment,
|
||||
the app skips Sentry.init and makes no requests to it.
|
||||
- Pass the Blossom server URL to the app environment.
|
||||
|
||||
# 0.4.0
|
||||
|
||||
- Add Redis password support to the remoteStorage Redis URL.
|
||||
|
||||
@@ -23,6 +23,7 @@ node.default['akkounts']['lndhub']['postgres_db'] = 'lndhub'
|
||||
|
||||
node.default['akkounts']['nostr']['public_key'] = nil
|
||||
node.default['akkounts']['nostr']['relay_url'] = nil
|
||||
node.default['akkounts']['nostr']['blossom_server_url'] = nil
|
||||
|
||||
node.default['akkounts']['s3_enabled'] = true
|
||||
node.default['akkounts']['s3_endpoint'] = "https://s3.kosmos.org"
|
||||
|
||||
@@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/configures kosmos-akkounts'
|
||||
long_description 'Installs/configures kosmos-akkounts'
|
||||
version '0.4.0'
|
||||
version '0.5.0'
|
||||
chef_version '>= 18.0'
|
||||
|
||||
depends 'kosmos_openresty'
|
||||
|
||||
@@ -46,12 +46,12 @@ link "/usr/local/bin/bun" do
|
||||
to "/usr/local/bun/#{bun_version}/bin/bun"
|
||||
end
|
||||
|
||||
ruby_version = "3.3.12"
|
||||
ruby_version = "3.3.14"
|
||||
ruby_path = "/opt/ruby_build/builds/#{ruby_version}"
|
||||
bundle_path = "#{ruby_path}/bin/bundle"
|
||||
rails_env = node.chef_environment == "development" ? "development" : "production"
|
||||
|
||||
ruby_build_install 'v20260701'
|
||||
ruby_build_install 'v20261119'
|
||||
ruby_build_definition ruby_version do
|
||||
prefix_path ruby_path
|
||||
end
|
||||
@@ -100,7 +100,10 @@ env[:smtp] = {
|
||||
enable_starttls: node['akkounts']['smtp']['enable_starttls']
|
||||
}
|
||||
|
||||
env[:sentry_dsn] = credentials["sentry_dsn"]
|
||||
# Sentry's host (sentry.kosmos.local / 10.1.1.132) is down as of 2026-11-21.
|
||||
# Leaving SENTRY_DSN unset makes config/initializers/sentry.rb skip Sentry.init,
|
||||
# so the app makes no requests to it. Uncomment once Sentry is back.
|
||||
# env[:sentry_dsn] = credentials["sentry_dsn"]
|
||||
|
||||
if webhooks_allowed_ips.length > 0
|
||||
env[:webhooks_allowed_ips] = webhooks_allowed_ips
|
||||
@@ -201,6 +204,7 @@ env[:mediawiki_public_url] = node['mediawiki']['url']
|
||||
env[:nostr_private_key] = credentials['nostr_private_key']
|
||||
env[:nostr_public_key] = node['akkounts']['nostr']['public_key']
|
||||
env[:nostr_relay_url] = node['akkounts']['nostr']['relay_url']
|
||||
env[:nostr_blossom_server_url] = node['akkounts']['nostr']['blossom_server_url']
|
||||
|
||||
#
|
||||
# remoteStorage / Liquor Cabinet
|
||||
|
||||
Reference in new issue
Block a user