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

Masking support for 8-digit BINs #475

Open
barspi opened this issue Mar 15, 2022 · 1 comment · May be fixed by #496
Open

Masking support for 8-digit BINs #475

barspi opened this issue Mar 15, 2022 · 1 comment · May be fixed by #496

Comments

@barspi
Copy link
Contributor

barspi commented Mar 15, 2022

ISOUtil#protect() should have configurable/dynamic masking of PANs to support 8-digit BINs

Come up with a flexible and backward-compatible (default) solution.

aVolpe added a commit to fintechworks/jPOS that referenced this issue Aug 17, 2022
Configured with the environment property ${jpos.util.bin.length}, it
should be a comma separated list of bines.

For example, if there are two 8 length bines "4000000" and "2000000",
then this property should be:

 jpos.util.bin.length = 4000000,2000000

fixes jpos#475

Signed-off-by: Arturo Volpe <avolpe@fintech.works>
@aVolpe aVolpe linked a pull request Aug 17, 2022 that will close this issue
@aVolpe
Copy link
Contributor

aVolpe commented Aug 17, 2022

@barspi this PR #496 has a initial approach to solve this issue, the idea is that we have a Environment property that has the list of 8 length bines and we use that to protect.

We can update the format/name of the property, if is useful, I will update the support for 8 length bines on Card and Cardholder.

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

Successfully merging a pull request may close this issue.

2 participants