View Issue Details

IDProjectCategoryView StatusLast Update
0005188Talermerchant backendpublic2024-01-12 13:04
ReporterFlorian Dold Assigned ToMarcello Stanisci 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.5Fixed in Version0.5 
Summary0005188: merchant should not store reserve private keys as strings in the configuration
DescriptionThis is bad because:

1. For all other private keys we have files that we reference in the configuration.

2. It's not possible to use gnunet-ecc to get the public key from a private key that's in base32crockford encoding.

3. We never want private keys to ever linger around in command line histories or command line arguments at all.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2017-12-07 06:43

manager   ~0012630

9f1ca1783f92c9f4e8ad795a5329dc60f78261b5 implements this in the merchant, basically changing the configuration option from tip_reserve_priv to tip_reserve_priv_filename and expecting the file to contain the private key. The documentation was also updated.

I made corresponding changes to the deployment in 4fbc4e6..11d307b, but did not test those yet (on a train...), maybe Florian or Marcello could make sure the deployment still works?

Christian Grothoff

2017-12-07 06:44

manager   ~0012631

(Assigning to Marcello to re-test deployment and/or put in the 'basic' level of funding for the tipping reserve.)

Christian Grothoff

2017-12-07 06:45

manager   ~0012632

Oh, also, I noticed that the reserve is funded via reservemod. That kind-of works, but it is awkward in that it'll cause the taler-wire-auditor to fail when it compares bank records to exchange records. It would be better if we could trigger an /admin/add/incomming at the bank instead, and have the bank trigger (soon via taler-exchange-wirewatch - i.e. the exchange polls the bank's /history) the exchange's balance modification.

Christian Grothoff

2017-12-07 06:47

manager   ~0012633

Last edited: 2017-12-07 06:51

Oh, and having a command-line tool to trigger such a wire transfer at the bank might be neat. I'll file a separate feature report for that. => 0005195

Marcello Stanisci

2017-12-11 12:37

reporter   ~0012662

Tried while deploying the 'demo' setup; works. Other issues discussed here have dedicate bug numbers now, closing this.

Issue History

Date ModifiedUsernameFieldChange
2017-11-30 16:17Florian DoldNew Issue
2017-11-30 16:17Florian DoldStatusnew => assigned
2017-11-30 16:17Florian DoldAssigned To => Christian Grothoff
2017-11-30 16:20Christian GrothoffProduct Version => git (master)
2017-12-07 06:43Christian GrothoffNote Added: 0012630
2017-12-07 06:43Christian GrothoffAssigned ToChristian Grothoff => Marcello Stanisci
2017-12-07 06:44Christian GrothoffNote Added: 0012631
2017-12-07 06:45Christian GrothoffNote Added: 0012632
2017-12-07 06:47Christian GrothoffNote Added: 0012633
2017-12-07 06:51Christian GrothoffNote Edited: 0012633
2017-12-11 12:37Marcello StanisciStatusassigned => informing
2017-12-11 12:37Marcello StanisciResolutionopen => fixed
2017-12-11 12:37Marcello StanisciNote Added: 0012662
2017-12-14 14:39Christian GrothoffFixed in Version => 0.5
2018-04-15 18:34Christian GrothoffStatusinforming => closed
2024-01-12 13:04Christian GrothoffCategorymerchant backend API (C) => mechant backend
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend