palant / pfp

A simple and secure browser extension to be used with KeePass databases.
https://pfp.works/
Mozilla Public License 2.0
114 stars 14 forks source link

Publish data format specifications #38

Closed CircleCode closed 5 years ago

CircleCode commented 8 years ago

the password generation mechanism and the exported file format shoud be specified so that other "clients" could be written, even in other language.

One could imagine

and others

palant commented 8 years ago

Given that this extension is still very young and doesn't have too many users at this point, I'm very reluctant to publish specifications. In particular, the data formats are still likely to change. They did so only recently when the 1.1.0 release introduced password revisions, and I think that there will be at least one small change again at some point (renaming password types).

Thank you for pointing me to keepass2android, I didn't consider soft keyboards when thinking about Android integration points. Unfortunately, the way I understand the documentation a soft keyboard won't be able to tell which website the input fields belongs to.

CircleCode commented 8 years ago

I understand your arguments against too early specification, this can be marked as milestone 2.0 for example (or just as "future" tag).

for keepass2android, IIRC, the soft keyborad is only here to prevent password steal when they are in the clipboard. The workflow it suggests is as follows (simplified version):

  1. use the "share" feature of android to share current page with keepass2android under the hood, keepass2android remembers the "active website" is the one you just "shared" with it
  2. use the custom key on the keepass2android keyboard to trigger its action keepass2android opens a popup relative to the last known "active website"
  3. in the opening popup, choose between "username" and password keepass2android simulates the input of the selected value at the cursor position In case you would like to see it in action, this process is well shown in https://youtu.be/rDV7JQsN0pM?t=87
palant commented 5 years ago

Documentation has been added: https://github.com/palant/pfp/wiki