Code Monkey home page Code Monkey logo

Comments (8)

bauerj avatar bauerj commented on May 18, 2024

Hey,

thank you for sharing this idea! This seems like a useful feature, especially with all the sensitive documents that may be stored in Paperless.

I'm currently working on the document editing feature and improvements to the in-app scanner so I'm not able to work on this now. I'd be happy to accept a pull-request with this implemented.

To promote usage of client certificates, it would be nice if this could be integrated into the Paperless-NG documentation for the default Docker setup. Could you open an issue there as well?

from paperless_app.

MuratovAS avatar MuratovAS commented on May 18, 2024

Good afternoon.
I am also worried about the issue of https certificates.
I am using paperless + nginx proxy manager with self signed certificate using openssl.
That is, my certificate is not certified by the CA. For this reason, the system does not allow me to use paperless_app with my server.

from paperless_app.

bauerj avatar bauerj commented on May 18, 2024

One thing we could try is using a native Android HTTP client instead of using dio.

However, this has the disadvantage of making it harder to maintain compatibility with iOS and also means we have to rewrite a big part of the app. I would really prefer if this could be fixed in Flutter/Dart.

from paperless_app.

knilde avatar knilde commented on May 18, 2024

I'm another user and admin for friends, running instances of Paperless ng.
An option to accept a self-signed certificate stop me and others from using the app.

from paperless_app.

MuratovAS avatar MuratovAS commented on May 18, 2024

I'm another user and admin for friends, running instances of Paperless ng.
An option to accept a self-signed certificate stop me and others from using the app.

I spent a very long time trying to get the application to work with a self signed certificate.
I tried:

  1. Decompile the APK and add "network_security_config.xml"
  2. Created my own CA and added the CA certificate to the custom store
  3. I also tried adding my CA to the system trusted store

Neither option worked. As I understand it, this is the specifics of "dart" and the "dio" used.
As I understand it, this can only be solved by modifying the "dio" itself. But I'm not good at mobile development, so I didn't.

I found a way out for myself. I'm using HTTP over a VPN tunnel. I do not know how safe it is, I would like to know the opinion of experts in this matter.

from paperless_app.

bauerj avatar bauerj commented on May 18, 2024

Thanks for testing this so thoroughly. At least we know now that we didn't miss anything obvious!

Your setup should be secure if you trust everyone in your VPN. However, I would still recommend using HTTPS.

What's stopping you from using a certificate from a trusted CA?

from paperless_app.

MuratovAS avatar MuratovAS commented on May 18, 2024

I was planning to use "paperless" only on the local network anyway, behind the VPN.
I think not one certification authority will sign me a certificate for the local network.
Using HTTPS is an additional layer of protection in case of unauthorized intrusion into my network.

It seems to me that VPN will be more reliable in comparison with public paperless + HTTPS

from paperless_app.

bauerj avatar bauerj commented on May 18, 2024

I think not one certification authority will sign me a certificate for the local network.

Sure, you can just use DNS validation, then you don't need a public IP. Let's Encrypt and ZeroSSL both offer that for free.

It seems to me that VPN will be more reliable in comparison with public paperless + HTTPS

Unlikely, but it will certainly be more secure!

from paperless_app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.