View Issue Details

IDProjectCategoryView StatusLast Update
0007406Talerwallet (Android App)public2022-11-04 19:52
ReporterChristian Grothoff Assigned Togrote 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
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.9 
Summary0007406: wallet-initiated withdraw does not work
DescriptionWhen I try to withdraw kudos starting with the Android wallet on "receive funds" and then 'withdraw from bank account", I get a message "Subject: Error: no subject in URI" instead of a proper wire transfer subject. The same operation does work in the WebExtension wallet.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2022-10-22 16:22

manager   ~0019271

Also, those dialogs lack the 'age restriction' chooser, which again exists in WebExtension (naturally, should only be shown if the exchange supports age restrictions).

grote

2022-10-24 18:04

reporter   ~0019292

> I get a message "Subject: Error: no subject in URI" instead of a proper wire transfer subject.

The subject kept changing and when asking for where the subject is supposed to be I didn't get a response.

It used to be in ?subject=foo where is it now? Btw. if we keep changing stuff like this without any communication, all wallets will break and we need to find such issues and run after a fix in each wallet which is far from ideal.

> Also, those dialogs lack the 'age restriction' chooser, which again exists in WebExtension (naturally, should only be shown if the exchange supports age restrictions).

age restrictions are not implemented in the android wallet. this is tracked in https://bugs.gnunet.org/view.php?id=7352

Christian Grothoff

2022-10-24 18:30

manager   ~0019295

I don't know if/when it ever was 'subject': RFC 8905 says it should be 'message'. Anyway, from what I see, the wallet core also seems to have an explicit field 'reserve pub', which is probably better than extracting the reserve pub from the payto://URI as there it may be mixed with some human-readable text. Ultimately, the person to ask about the API is Florian. Florian, can you answer how to best get the reserve public key?

grote

2022-10-24 19:55

reporter   ~0019303

Changing subject to message seems to work: https://git.taler.net/taler-android.git/commit/?id=28814bc6cc7df29cb425dd867042e7f23921b9a8

Florian Dold

2022-11-01 13:01

manager   ~0019324

The response to acceptManualWithdrawal contains a "reservePub" field, which should be used to construct the final payto URI to hand to the user.

The client (i.e. UI) needs to manually set the "message" query parameter of the payto URI.

Do you think it would be better if wallet-core already provided this? I've left it out for i18n concerns so far, but I think we can't avoid also i18n-izing wallet-core in the end anyway ...

grote

2022-11-01 17:36

reporter   ~0019338

Currently, I am using the first Uri in WithdrawalDetailsForManualTransfer.exchangePaytoUris and extract the "message" parameter there. Is this still the right way, or do I need to use reservePub as message myself?

Florian Dold

2022-11-01 17:39

manager   ~0019339

Ah. If the payto URIs now already include the "message" parameter, then everything is fine and you can use them.

grote

2022-11-01 18:10

reporter   ~0019340

Resolved in https://git.taler.net/taler-android.git/commit/?id=28814bc6cc7df29cb425dd867042e7f23921b9a8

Issue History

Date ModifiedUsernameFieldChange
2022-10-22 16:21Christian GrothoffNew Issue
2022-10-22 16:21Christian GrothoffStatusnew => assigned
2022-10-22 16:21Christian GrothoffAssigned To => grote
2022-10-22 16:22Christian GrothoffNote Added: 0019271
2022-10-24 18:04groteNote Added: 0019292
2022-10-24 18:30Christian GrothoffNote Added: 0019295
2022-10-24 18:31Christian GrothoffAssigned Togrote => Florian Dold
2022-10-24 18:31Christian GrothoffStatusassigned => feedback
2022-10-24 19:55groteNote Added: 0019303
2022-11-01 13:01Florian DoldNote Added: 0019324
2022-11-01 13:01Florian DoldAssigned ToFlorian Dold => grote
2022-11-01 17:36groteNote Added: 0019338
2022-11-01 17:39Florian DoldNote Added: 0019339
2022-11-01 18:10groteStatusfeedback => informing
2022-11-01 18:10groteResolutionopen => fixed
2022-11-01 18:10groteNote Added: 0019340
2022-11-04 19:52Christian GrothoffStatusinforming => closed