View Issue Details

IDProjectCategoryView StatusLast Update
0006731Talerspecificationpublic2021-08-24 14:23
ReporterChristian Grothoff 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
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006731: support authentication via Authorization header in merchant backend
DescriptionThis requires having/storing the credential in the DB and allowing the user to change the credentials when configuring the instances.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-01-31 11:53

manager   ~0017474

10a3b45..9dded1a adds the required auth_salt and auth_hash fields to all instances of the merchant backend.

Christian Grothoff

2021-01-31 12:12

manager   ~0017475

0366878..caa71e0 updates the merchant backend API spec with 'auth_token' strings to be passed to the backend to setup authentication when creating/patching an instance.

Christian Grothoff

2021-01-31 12:14

manager   ~0017476

9dded1a..83f0cd8 implements importing the 'auth_token' values into the DB.

Open sub-issues:
- allow command-line/environment-variable to override/set auth-token for default instance
- actually check authentication headers
- update test suite to include auth token checks

Christian Grothoff

2021-01-31 13:01

manager   ~0017477

We should consider https://www.rfc-editor.org/rfc/rfc8959.txt when specifying the final format of the "Authorization" header.

Christian Grothoff

2021-01-31 21:23

manager   ~0017478

83f0cd8..25c0b94 implements the access control logic (untested!) and the command-line override logic.

Christian Grothoff

2021-01-31 21:28

manager   ~0017479

Still to do:
- extend C API to allow setting the authentication token for instances
- extend test logic to test authentication

Christian Grothoff

2021-02-02 14:09

manager   ~0017487

Tests added (96726fd..068433c), documentation updated (caa71e0..b55d534).

Issue History

Date ModifiedUsernameFieldChange
2021-01-30 15:38Christian GrothoffNew Issue
2021-01-30 15:38Christian GrothoffStatusnew => assigned
2021-01-30 15:38Christian GrothoffAssigned To => Christian Grothoff
2021-01-31 11:53Christian GrothoffNote Added: 0017474
2021-01-31 12:12Christian GrothoffNote Added: 0017475
2021-01-31 12:14Christian GrothoffNote Added: 0017476
2021-01-31 13:01Christian GrothoffNote Added: 0017477
2021-01-31 21:23Christian GrothoffNote Added: 0017478
2021-01-31 21:28Christian GrothoffNote Added: 0017479
2021-02-02 14:09Christian GrothoffStatusassigned => informing
2021-02-02 14:09Christian GrothoffResolutionopen => fixed
2021-02-02 14:09Christian GrothoffFixed in Version => 0.9
2021-02-02 14:09Christian GrothoffNote Added: 0017487
2021-02-02 14:09Christian GrothoffTarget Version0.9.1 => 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:02Christian 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
2024-01-12 13:02Christian GrothoffCategorymerchant backend API (HTTP specification) => specification