mprimi / portable-secret

Better privacy without special software

Home Page:https://mprimi.github.io/portable-secret/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow ImageCapture API to enable accepting images direct from mobile camera

cameronelliott opened this issue · comments

I suspect this isn't too difficult, but it would be cool if there was a 4th option beyond: file,image,text
"image from camera"

I think the correct API is the ImageCapture API: https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture

This might marginally reduce "secret exposure area/risk" by removing the step where an image is saved to disk outside the browser before being encrypted.

I like the idea!