View Issue Details

IDProjectCategoryView StatusLast Update
0010025Talermerchant backendpublic2025-10-31 19:49
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytweakReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0010025: merchant backend blocks creation of admin instance when another instance has been created
DescriptionIt's currently/unexpectedly possible to create a non-admin instance before the admin instance has been configured.

It's very difficult to get out of this situation, since taler-merchant-passwd doesn't work if the instance hasn't been created in the first place. Only option to fix this is to purge the instance and re-create everything.

We should avoid getting into this in the first place, either by:
(a) disallowing the creation of a non-admin instance before the admin instance has been configured
(b) still allowing the admin instance to be created if other instances have been created
Tagsux

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-05-27 07:03

manager   ~0025016

Eh, that was actually seen as a feature: create a non-admin instance to enforce single-instance use, or delete your admin account to lock down a system and prevent direct interference with instances via the admin account. Maybe we should document this more, but I consider this not a bad feature to have!

Florian Dold

2025-05-27 14:44

manager   ~0025025

Problem is: This is a state that we can't recover from. It IMO should always be possible to change easily the admin credentials when you have root on the server.

=> As discussed offline, taler-merchant-passwd should simply create a (dummy, unconfigured) admin instance so that the admin password can be set.

Christian Grothoff

2025-10-23 15:02

manager   ~0026236

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2025-05-26 17:24Florian DoldNew Issue
2025-05-27 07:03Christian GrothoffNote Added: 0025016
2025-05-27 07:03Christian GrothoffSeverityminor => tweak
2025-05-27 07:03Christian GrothoffStatusnew => acknowledged
2025-05-27 07:03Christian GrothoffProduct Version => 1.0
2025-05-27 07:03Christian GrothoffTarget Version1.0 stretch goals => post-1.0
2025-05-27 14:44Florian DoldNote Added: 0025025
2025-05-27 14:44Florian DoldAssigned To => Florian Dold
2025-05-27 14:44Florian DoldStatusacknowledged => assigned
2025-06-04 22:22Christian GrothoffAssigned ToFlorian Dold =>
2025-06-04 22:22Christian GrothoffStatusassigned => implementing
2025-06-04 22:22Christian GrothoffTag Attached: ux
2025-10-23 10:53Christian GrothoffAssigned To => Christian Grothoff
2025-10-23 10:53Christian GrothoffStatusimplementing => assigned
2025-10-23 10:53Christian GrothoffStatusassigned => implementing
2025-10-23 15:02Christian Grothoff
2025-10-23 15:02Christian GrothoffNote Added: 0026236
2025-10-23 15:02Christian GrothoffStatusimplementing => informing
2025-10-23 15:02Christian GrothoffResolutionopen => fixed
2025-10-23 15:02Christian GrothoffFixed in Version => 1.2
2025-10-23 15:02Christian GrothoffTarget Versionpost-1.0 => 1.2
2025-10-23 22:50Christian GrothoffFixed in Version1.2 => 1.1
2025-10-23 22:51Christian GrothoffTarget Version1.2 => 1.1
2025-10-31 19:49Christian GrothoffStatusinforming => closed