Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match SEPA accounts IBANs to selected participating countries #241

Closed
pazza83 opened this issue Mar 20, 2021 · 6 comments · Fixed by bisq-network/bisq#6107
Closed

Match SEPA accounts IBANs to selected participating countries #241

pazza83 opened this issue Mar 20, 2021 · 6 comments · Fixed by bisq-network/bisq#6107
Assignees

Comments

@pazza83
Copy link
Collaborator

pazza83 commented Mar 20, 2021

Description

When adding a SEPA or SEPA payment account on Bisq there is no validation of country selected against IBAN. This can lead to users creating SEPA accounts using banks of non participating SEPA countries.

For example see comments on SEPA order taken by non-SEPA account

Bisq should check users bank IBANs match the selected SEPA countries. The current Bisq client is up-to-date with all the possible participating SEPA counties.

Countries not participating in SEPA include:

  • Albania
  • Armenia
  • Azerbaijan
  • Belarus
  • Bosnia and Herzegovina
  • Georgia
  • Kazakhstan
  • Kosovo
  • Moldova
  • Montenegro
  • North Macedonia
  • Russia
  • Serbia
  • Turkey
  • Ukraine

Users in these countries should not be able to create SEPA or SPEA Instant payment accounts on Bisq as it will lead to offers failing.

Version

v1.4.9

Steps to reproduce

On the Bisq client:

Accounts > Add new accounts > SEPA (you can set up any IBAN, there is no validation)
Accounts > Add new accounts > SEPA Instant (you can set up any IBAN, there is no validation)

Expected behaviour

Accounts > Add new accounts > SEPA (IBAN validated against selected country - maybe it prefills country code)
Accounts > Add new accounts > SEPA Instant (IBAN validated against selected country - maybe it prefills country code)

Additional info

For reference: List of participating countries SEPA, 18 November 2020

EPC218-20 v1.0 Overview scheme adherence 2020-11-13.pdf

@pazza83
Copy link
Collaborator Author

pazza83 commented Apr 2, 2021

Hi are any @bisq-network/bisq-devs able to take this on?

@ripcurlx
Copy link
Contributor

ripcurlx commented Apr 13, 2021

@pazza83 I think it would be good to transfer this issue to the Bisq repository so it can be labeled accordingly and the chance increases that new devs might pick it up. WDYT?

@ripcurlx
Copy link
Contributor

Sorry I did miss #5384 above.

@ripcurlx
Copy link
Contributor

I think this should not only be validated during account creation, but also on the trading peers side to prevent someone to bypass our form validation. This is especially important if we loosen up account signing requirements for certain SEPA countries.

@pazza83
Copy link
Collaborator Author

pazza83 commented Apr 21, 2021

@ripcurlx I agree. Also need to decide what to do with historic accounts. Some users have accounts that are set up incorrectly. Any ideas how best to achieve this?

@ripcurlx
Copy link
Contributor

@ripcurlx I agree. Also need to decide what to do with historic accounts. Some users have accounts that are set up incorrectly. Any ideas how best to achieve this?

For incorrect historic accounts - they are incorrect accounts that could cause unnecessary arbitration cases, so I would also render them as invalid IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants