SpiderOak / Encryptr

Encryptr is a zero-knowledge cloud-based password manager / e-wallet powered by Crypton
GNU General Public License v3.0
1.58k stars 138 forks source link

Unable to store debit card (IBAN) as card #311

Open xoh opened 6 years ago

xoh commented 6 years ago

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.