View Issue Details

IDProjectCategoryView StatusLast Update
0010273Talermerchant backendpublic2025-10-31 19:49
ReporterBohdan Assigned ToBohdan 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
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version1.1Fixed in Version1.1 
Summary0010273: Adding security header to the webhook
DescriptionThat would be nice if the webhooks could be checked against the specific header, in the opposite to checking that the webhook comes from the allowed list of IPs.

A.k.a on posting of the webhook user sets the webhook_token header option with some value (e.g. megasecuretoken)

and on every webhook call from the merchant backend, the request must have something as X-Taler-Merchant-Webhook-Token, which contains either a hash or the same header option value (e.g. megasecuretoken)
Additional InformationSomething similar is implemented at the Telegram bot api
https://core.telegram.org/bots/api#setwebhook


"If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content."
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-08-22 14:25

manager   ~0025680

I'm not sure I understand -- https://docs.taler.net/core/api-merchant.html#webhooks allows the client to specify arbitrary HTTP headers to be sent together with the Webhook. So obviously one could configure some "security" header here as well. So what are you asking for that is not already covered by this feature?

Issue History

Date ModifiedUsernameFieldChange
2025-08-22 14:08BohdanNew Issue
2025-08-22 14:25Christian GrothoffNote Added: 0025680
2025-08-22 14:25Christian GrothoffAssigned To => Bohdan
2025-08-22 14:25Christian GrothoffStatusnew => feedback
2025-08-29 09:25BohdanStatusfeedback => informing
2025-08-29 09:25BohdanResolutionopen => fixed
2025-10-18 22:51Christian GrothoffFixed in Version => 1.1
2025-10-18 22:51Christian GrothoffTarget Version => 1.1
2025-10-31 19:49Christian GrothoffStatusinforming => closed