Record official Windows release, native self-update and retired pairing removal

This commit is contained in:
2026-11-18 11:20:24 +01:00
parent 9c7ccbb59b
commit 53c713aa3a
9 changed files with 246 additions and 9 deletions
+4 -3
View File
@@ -295,8 +295,9 @@ def publish(args):
check(bool(args.rotate_bootstrap_from) == bool(args.bootstrap_state), 'rotation needs previous SHA and local signing state')
check(not (args.rotate_bootstrap_from and args.bootstrap_worker), 'a rotation uses the new receipt-bound stable worker')
client = Publisher(args.origin, args.ca)
if args.local_username:
login = {'username': args.local_username, 'password': getpass.getpass('WebUI password: '),
local_username = getattr(args, 'local_username', None)
if local_username:
login = {'username': local_username, 'password': getpass.getpass('WebUI password: '),
'totp_code': getpass.getpass('Authenticator code: ')}
elif args.dev_login_file:
path = args.dev_login_file
@@ -305,7 +306,7 @@ def publish(args):
login = {k: credentials[k] for k in ('username','password')}
else:
login = {'username': args.dev_username, 'password': getpass.getpass('Development WebUI password: ')}
route = '/auth/local/login' if args.local_username else '/auth/dev/login'
route = '/auth/local/login' if local_username else '/auth/dev/login'
client.request('POST', route, encoded(login), {'Content-Type': 'application/json'})
client.headers['X-RMM-Tenant'] = str(uuid.UUID(args.tenant))
session = client.request('GET', '/auth/session')