Projects
osmocom:nightly
open5gs
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 1306
View file
open5gs_2.7.6.4862.8c8b.202601161800.dsc -> open5gs_2.7.6.4863.9262.202601171800.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-sepp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.7.6.4862.8c8b.202601161800 +Version: 2.7.6.4863.9262.202601171800 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -32,8 +32,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - 3f32265f9ff9204d61506ad3a0ded7adc81719a6 15115388 open5gs_2.7.6.4862.8c8b.202601161800.tar.xz + a8c3e9831a48bf60c88a7605880f05de79e3b038 15115336 open5gs_2.7.6.4863.9262.202601171800.tar.xz Checksums-Sha256: - cf802390142df03635fc84c6e7943c41fcb3de0a3f47ceb55fdb162b8363aa3b 15115388 open5gs_2.7.6.4862.8c8b.202601161800.tar.xz + ca84c4974e5a1b4fbab0f009ad73cebbda5c216a490a77ecdb700e055e38408c 15115336 open5gs_2.7.6.4863.9262.202601171800.tar.xz Files: - a78eef19b5fb8df369f57d27c0ee2aa3 15115388 open5gs_2.7.6.4862.8c8b.202601161800.tar.xz + 7ec56491d72f5439cca2a73c3b279837 15115336 open5gs_2.7.6.4863.9262.202601171800.tar.xz
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/.tarball-version -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.7.6.4862-8c8b.202601161800 +2.7.6.4863-9262.202601171800
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/debian/changelog -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.7.6.4862.8c8b.202601161800) unstable; urgency=medium +open5gs (2.7.6.4863.9262.202601171800) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 16 Jan 2026 18:01:55 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sat, 17 Jan 2026 18:01:52 +0000 open5gs (2.7.6) unstable; urgency=medium
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/webui/package.json -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/webui/package.json
Changed
@@ -50,6 +50,7 @@ "scripts": { "dev": "node server/index.js", "build": "next build", + "prestart": "node server/ensure-secret.js", "start": "NODE_ENV=production node server/index.js" } }
View file
open5gs_2.7.6.4863.9262.202601171800.tar.xz/webui/server/ensure-secret.js
Added
@@ -0,0 +1,38 @@ +const fs = require('fs'); +const crypto = require('crypto'); +const path = require('path'); + +const envPath = path.join(__dirname, '../.env'); + +module.exports = function() { + // List of keys we want to ensure exist + const keysToEnsure = 'SECRET_KEY', 'JWT_SECRET_KEY'; + + let envContent = ''; + if (fs.existsSync(envPath)) { + envContent = fs.readFileSync(envPath, 'utf8'); + } else { + fs.writeFileSync(envPath, '', 'utf8'); + } + + keysToEnsure.forEach(key => { + // Dynamic Regex: looks for the specific key at the start of a line + const regex = new RegExp(`^${key}=(.*)$`, 'm'); + const match = envContent.match(regex); + + if (match && match1) { + process.envkey = match1.trim(); + console.log(`--- ${key} loaded from .env ---`); + } else { + // Key missing: Generate, Set, and Append + const newSecret = crypto.randomBytes(32).toString('hex'); + process.envkey = newSecret; + + const secretLine = `\n# Generated automatically\n${key}=${newSecret}\n`; + fs.appendFileSync(envPath, secretLine, 'utf8'); + // Update envContent string so the next loop knows this key now exists + envContent += secretLine; + console.log(`--- Created and stored new unique ${key} ---`); + } + }); +};
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/webui/server/index.js -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/webui/server/index.js
Changed
@@ -23,7 +23,11 @@ const LocalStrategy = require('passport-local').Strategy; const csrf = require('lusca').csrf(); -const secret = process.env.SECRET_KEY || 'change-me'; + +require('./ensure-secret')(); + +const secret = process.env.SECRET_KEY; + const api = require('./routes');
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/webui/server/routes/auth.js -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/webui/server/routes/auth.js
Changed
@@ -4,7 +4,7 @@ const passport = require('passport'); const jwt = require('jsonwebtoken'); -const secret = process.env.JWT_SECRET_KEY || 'change-me'; +const secret = process.env.JWT_SECRET_KEY; router.get('/csrf', (req, res) => { return res.json({csrfToken: res.locals._csrf});
View file
open5gs_2.7.6.4862.8c8b.202601161800.tar.xz/webui/server/routes/index.js -> open5gs_2.7.6.4863.9262.202601171800.tar.xz/webui/server/routes/index.js
Changed
@@ -4,7 +4,8 @@ const router = express.Router(); -const secret = process.env.JWT_SECRET_KEY || 'change-me'; +const secret = process.env.JWT_SECRET_KEY; + const passport = require('passport'); const JWTstrategy = require('passport-jwt').Strategy; const ExtractJWT = require('passport-jwt').ExtractJwt; @@ -28,4 +29,4 @@ router.use('/auth', auth); router.use('/db', passport.authenticate('jwt', { session: false }), db); -module.exports = router; \ No newline at end of file +module.exports = router;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.