monich / harbour-foilpics Goto Github PK
View Code? Open in Web Editor NEWPicture encryption application for Sailfish OS
Home Page: https://openrepos.net/content/slava/foil-pics
License: Other
Picture encryption application for Sailfish OS
Home Page: https://openrepos.net/content/slava/foil-pics
License: Other
When picture is being decrypted, the app tries to restore the file in its original form (path, time stamp and so on) but the cases when the original directory no longer exists (or possibly, another file with the same name has appeared) are not handled properly. Reported at openrepos.net:
Actually, it does start but shows a white screen (which indicates some sort of QML syntax error, unknown property or whatever). Need to investigate what's going on and whether it's easy enough to fix.
When I type password and tap on generate button nothing happening.
Here you have output of journalctl:
ov 09 11:39:11 Sailfish systemd[1225]: Starting Transfer engine...
Nov 09 11:39:12 Sailfish dbus-daemon[1302]: dbus-daemon[1302]: [session uid=100000 pid=1302] Successfully activated service 'org.nemo.transferengine'
Nov 09 11:39:12 Sailfish systemd[1225]: Started Transfer engine.
Nov 09 11:39:13 Sailfish invoker[17895]: WARNING: An inactive plugin is misbehaving - tried to show a window!
Nov 09 11:39:13 Sailfish invoker[17895]: WARNING: requestActivate() called for QQuickView(0x1637808) which has Qt::WindowDoesNotAcceptFocus set.
Nov 09 11:39:13 Sailfish lipstick[17854]: [W] unknown:0 - WindowPixmapItem does not have a source texture, cover will be dropped..
Nov 09 11:39:13 Sailfish booster-silica-qt5[20828]: [D] unknown:0 - Using Wayland-EGL
Nov 09 11:39:13 Sailfish mapplauncherd[20828]: SilicaBooster: Initiate asynchronous preload.
Nov 09 11:39:18 Sailfish invoker[17895]: WARNING: requestActivate() called for QQuickView(0x1637808) which has Qt::WindowDoesNotAcceptFocus set.
Nov 09 11:39:26 Sailfish [20282]: [W] unknown:17 - file:///usr/share/harbour-foilpics/qml/GenerateKeyView.qml:17: ReferenceError: passphrase is not defined
It would be nice to have GIF or even video support in this app.
GIFs should be fairly simple because there is AnimatedImage as QML Element, which by itself is just a subclass from the Image Element.
Maybe you could just also use AnimatedImage for static image, which would be easy to implement or you switch based on the image type, which for gifs should be image/gif.
Hi. I was using FoilPics to encrypt images in my Sailfish phone. Unfortunately, I lost the display and I cannot see what's going on in the screen. Fortunately I can SSH into my phone and I got access to the private key which was stored in ~/.local/share/foil/foil.key as mentioned.
I also remember my password, I was looking for ways to decrypt the images. Is there a CLI to decrypt the images by providing the key, encrypted file and the password?
Steps to reproduce:
Tap on photo -> Tap on Bluetooth -> List of available devices overlays Bluetooth and MMS icons but background is transparent, so it looks bad.
Open app ->swipe to the left -> open image -> nchoose image details from pulley menu
Dec 03 11:04:54 Sailfish [23496]: [W] unknown:26 - file:///usr/share/harbour-foilpics/qml/GalleryDetailsPage.qml:26: ReferenceError: FileUtil is not defined
They get decrypted all right but then this shows up in the log (on Jolla C):
[D] CustomContext::HybrisTexture::bind:326 - Error after glEGLImageTargetTexture2DOES 501
and a black rectangle appears instead of the image. If the same picture is decrypted, the gallery view shows the image just fine.
Version 1.0.4
It won't be possible in Jolla Store any time soon but why not to do it in OpenRepos version...
lip 23 05:09:56 Sailfish [9634]: [W] unknown:14 - file:///usr/share/nemo-transferengine/plugins/MmsShare.qml:14:1: QML MmsShare: <Unknown File>:10: Cannot assign to non-existent property "accountId"
Cannot assign to non-existent property "accountName"
Cannot assign to non-existent property "content"
Cannot assign to non-existent property "displayName"
Cannot assign to non-existent property "emailSubject"
Cannot assign to non-existent property "emailTo"
Cannot assign to non-existent property "methodId"
Cannot assign to non-existent property "source"
lip 23 05:09:56 Sailfish [9634]: [W] unknown:18 - file:///usr/share/nemo-transferengine/plugins/MmsShare.qml:18: TypeError: Cannot call method 'replaceFileResourcesWithFileDescriptors' of undefined
lip 23 05:09:56 Sailfish [9634]: [W] unknown:776 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.qml:776: TypeError: Cannot read property 'a' of undefined
lip 23 05:09:56 Sailfish [9634]: [W] modifyPageStack:110 - Error while modifying page stack: TypeError: Cannot read property '_horizontalNavigationStyle' of null
lip 23 05:09:56 Sailfish [9634]: [W] unknown:988 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.qml:988: TypeError: Cannot read property '_horizontalNavigationStyle' of null
^C
After using foilpics heavily, I started to wonder if it wouldn't be a great idea to have a failcam.
Foilcam - a Camera application which will encrypt automatically every picture directly after taking it, that would avoid the user to manually encrypt the pictures, as e does right now when using foilpics.
The question would be if a passphrase would be a good option or a public key could be used alternatively. To make it easier to share the pictures within a group.
A full stack of encrypted pictures from creating, storing and viewing could be a handy feature. It's just my thought maybe you totally disagree.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.