GithubHelp home page GithubHelp logo

Activity about end_to_end_encryption HOT 10 CLOSED

nextcloud avatar nextcloud commented on July 22, 2024 2
Activity

from end_to_end_encryption.

Comments (10)

tobiasKaminsky avatar tobiasKaminsky commented on July 22, 2024

@nickvergessen as the master of activities ;-)
The question is what to display instead? Maybe just some "encrypted File" placeholder?

from end_to_end_encryption.

nickvergessen avatar nickvergessen commented on July 22, 2024

Well there is no flag on the file for the activity app to detect this...

Also note that the activity app is bound to core atm, so mostlikely we can only fix it for 13.0.1

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on July 22, 2024

Ah right...We only have a flag for the top encrypted folder.
On client we just go up until either root or encrypted folder flag.
But this might be a bit heavy to do this on each file which is shown on activity app...

from end_to_end_encryption.

nickvergessen avatar nickvergessen commented on July 22, 2024

Also the thing is, this would need changing everywhere, also notifications when you are mentioned in a comment (shows the path to the file) etc.

Sad no one tested this earlier or notified me about this. Would have been nice to have a round feature when shipping.

from end_to_end_encryption.

nickvergessen avatar nickvergessen commented on July 22, 2024

I just realised, that on the server we have no way to recover the real-file path.
So things left would be: if name is [0-9a-f]{32} we try to find out if one of the parent folders is encrypted and in this case we try to display something like "an encrypted file" as file name instead.

from end_to_end_encryption.

marinofaggiana avatar marinofaggiana commented on July 22, 2024

@nickvergessen ,for me work

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on July 22, 2024

Do all encrypted files names follow the same pattern?
On android we use uuid: 2cb1a161-5f7c-4287-a419-2e160cc90c69

from end_to_end_encryption.

nickvergessen avatar nickvergessen commented on July 22, 2024

well on the server the files I stored are saved with md5 like results in the file cache and the activity table

from end_to_end_encryption.

marinofaggiana avatar marinofaggiana commented on July 22, 2024

Do all encrypted files names follow the same pattern?
On android we use uuid: 2cb1a161-5f7c-4287-a419-2e160cc90c69

was without "-" ... ?

we will have to use the same pattern

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on July 22, 2024

Right, sorry, we use:
9702f647197e42d991854361ed90e0a2
83f51a4e72a84c558eb18032cf4be331

but desktop seems to use:
P3sHabJlMdSDnHYo0kqH
re3gwioy2wHHFHr9KQEm

from end_to_end_encryption.

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.