strongbox-password-safe / Strongbox

A KeePass/Password Safe Client for iOS and OS X
https://strongboxsafe.com
GNU Affero General Public License v3.0
1.34k stars 102 forks source link

Allow other apps to send attachments #127

Open nicad opened 5 years ago

nicad commented 5 years ago

I'm experimenting with storing important/private scanned documents in a keepass file to avoid storing them on the device, or even worst, in icloud/dropbox. By storing in keepass I get an encrypted cross platform container that gets synced via Dropbox. I use a specialized keepass database for documents that is different than for my passwords.

Today I can go through the workflow: use scan app, store in icloud, open in strongbox, delete from icloud. Which is very tedious and slightly unsecure by having a sensitive documents briefly hit a cloud service.

I wonder if it's possible to do: use scan app, use "share to" button, have Strongbox as one of the choices and get a way to add it to a specific database. Then I can delete the document from the scan app. Sorry I'm not sure what the technical terms for this feature are on ios.

mmcguill commented 5 years ago

Interesting idea. Any thoughts @shad0whawk?

mlfreeman2 commented 5 years ago

Related - the UI for sending password databases to Strongbox on iOS could use some cleaning up.

My brother-in-law was attempting to do this exact ticket & thought that the "open with Strongbox" option on iOS would take care of it.

In his case, he didn't have time to type everything in so he was putting a few entries in to get started but he wanted to stash his Word doc of passwords in as well so he'd have everything on-hand somehow.

He understood once I talked him through things, but there's definitely some room for cleanup.

You ought to try to add some guard code that brings up different UIs based on file type (e.g. if "not a password file I support" then "bring up UI for picking password file & entry to attach to", else "bring up UI for importing password file into list of known password files").

mlfreeman2 commented 5 years ago

IDEA: You ought to look and see if iOS will let you call the document scanner mode of the camera directly.

Workflow:

  1. Open Strongbox
  2. Open a password file
  3. Find/create entry
  4. Go to attachments screen
  5. Tap newly-addedcamera icon...iOS opens the camera in document scanning mode
  6. Results of scan once user hits save are passed right to Strongbox as PDF.

If you haven't played with the document scan mode in iOS, check it out in the built-in Notes app. It's quite nice.

mmcguill commented 5 years ago

Yes, nice idea

milesmcclane commented 4 years ago

Great idea

georgesnow commented 4 years ago

it also gives some additional feature options down the road if you decide to use the document scanner API