passforios icon indicating copy to clipboard operation
passforios copied to clipboard

Secure note storage

Open paulmillr opened this issue 4 years ago • 3 comments

I suggest:

  1. To mark files that have Note in their names or files from Notes directory to have special treatment.
  2. For consistency with pass, a note is structured like ordinary password file. With one key difference: everything after the first line (after password line) is treated as Markdown and is displayed with nice font similar to the iOS Bear.app
Screen Shot 2020-04-14 at 2 30 04 PM

paulmillr avatar Apr 14 '20 11:04 paulmillr

"To mark files that have Note in their names or files from Notes directory to have special treatment."

If this is not how everyone uses Pass, this may cause side effects...

yishilin14 avatar Apr 15 '20 05:04 yishilin14

We could add a setting for that, of course.

paulmillr avatar Apr 15 '20 05:04 paulmillr

A quick idea: how about using something like

-----BEGIN MARKDOWN NOTE-----

in the first line to indicate that the file contains a markdown note.

This has a few advantages IMHO:

  1. It does not rely on a custom file/folder name scheme
  2. If you see the plaintext (e.g. using the pass command line tool) you know immediately what’s going on
  3. It shouldn’t break any existing implementation
  4. Annotations like this are pretty standard in the GPG context, so it’s more likely to become a quasi-standard among GUI-Apps

KizzyCode avatar Nov 30 '20 22:11 KizzyCode