View Issue Details

IDProjectCategoryView StatusLast Update
0006840Talermerchant backendpublic2021-09-02 16:23
Reportersebasjm 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
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006840: merchant backend does not handle the auth token correctly
DescriptionI have added an integration test
https://git.taler.net/anastasis.git/tree/src/cli/test_merchant_instance_response.sh

there are two problems:

1.- when the default instance is not yet created
and the TALER_MERCHANT_TOKEN is set
and the product list is queried
and the query HAVE the authorization token
then backend respond 401 instead of 404

test at line 252

2.- when the default instance is created
and was created auth auth.method == token
and the instance is access without the Authorization header
then backend respond 200 instance of 401

test at line 280
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-04-10 14:42

manager   ~0017731

I just moved the scripts into merchant.git, where they belong.

Christian Grothoff

2021-04-12 13:09

manager   ~0017735

9b5717e..87c18d5 fixes the bug.
87c18d5..3b7e8d4 integrates the shell-script based tests to the build system.

Christian Grothoff

2021-09-02 16:23

manager   ~0018352

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2021-04-09 19:01sebasjmNew Issue
2021-04-09 19:01sebasjmStatusnew => assigned
2021-04-09 19:01sebasjmAssigned To => Christian Grothoff
2021-04-10 14:42Christian GrothoffNote Added: 0017731
2021-04-10 14:42Christian GrothoffTarget Versiongit (master) => 0.9
2021-04-12 13:09Christian GrothoffNote Added: 0017735
2021-04-12 13:09Christian GrothoffStatusassigned => informing
2021-04-12 13:09Christian GrothoffResolutionopen => fixed
2021-04-12 13:09Christian GrothoffFixed in Version => 0.9
2021-07-30 11:57Christian GrothoffFixed in Version0.9 => 0.8.1
2021-07-30 11:59Christian GrothoffTarget Version0.9 => 0.8.1
2021-07-30 12:01Christian GrothoffFixed in Version0.8.1 => 0.8
2021-07-30 12:02Christian GrothoffTarget Version0.8.1 => 0.8
2021-08-24 14:23Christian GrothoffStatusinforming => closed
2021-09-02 16:22Christian Grothoff
2021-09-02 16:23Christian GrothoffNote Added: 0018352
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend