SpiderOak/Encryptr

Unable to store debit card (IBAN) as card

xoh opened this issue · 0 comments

xoh commented

src/models/types/CreditCardTypeModel.js contains the field "cardNumber" and uses "number" as type. This makes storing an IBAN impossible.

An IBAN consists of up to 34 alphanumeric chars [a-zA-Z0-9] and may contain additional spaces. The exact definitions for IBAN-structure can be taken from the IBAN standard.