keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

[Feature Request] Auto-fill for credit card information

Open akanter opened this issue 8 years ago • 6 comments

The one thing that keeps me from using auto-fill instead of the Google auto-fill is that I love the credit card entries. Might it be possible to extend the auto-fill service to recognize CC fields and then we could define standard CC entries in the .kdbx? Also if you have any pointers on getting started on this (reasons why it won't work, thoughts on how you might think it could work) please comment here!

akanter avatar Jan 22 '18 19:01 akanter

To make this work, there are two requirements: 1.) Keepass2Android needs to detect the auto-fill fields as Credit Card fields. This will work only if the target app or website uses autofill hints. Can you point me to the app or website where you try to enter the data? 2.) Keepass2Android needs to find an entry with appropriate field names. If you add an entry using the Credit Card Template this should be fine.

PhilippC avatar Jan 26 '18 04:01 PhilippC

Certainly! Check out https://www.cryptoheaven.com/secure-web-forms/sample-credit-card-payment-form.htm as an example.

According to a StackOverflow post, Chrome actually recognizes it by regexes found here, which might be based off the WhatWG HTML auto-complete spec.

The credit card template seems perfect and incredibly obvious =P

akanter avatar Jan 30 '18 02:01 akanter

Any new or planned development concerning this function?

NWH0 avatar Oct 30 '24 06:10 NWH0

+1 to this feature request. @PhilippC You can also check out how KeePassDX handles the same.

hj-collab avatar Oct 30 '24 12:10 hj-collab

+1

bigboj avatar Nov 15 '24 12:11 bigboj

+1

4Misi avatar Feb 25 '25 19:02 4Misi