Comments (8)
About which endpoint do you talk about?
Store API says:
409 conflict: if a private key for the user already exists
from end_to_end_encryption.
Ah, my bad. I overlooked that one. I realize now that perhaps the issue was with the Android app but I tried the following:
- Post a new keypair to the E2E app.
- Delete the public key
- Re-install the Android app. It will then prompt you to generate a new pass phrase. After which it posts the keypair to the server again where the E2E app seemingly ignores the private key (seemingly because it already exists) and then accepts the public key. The end result is a keypair mismatch.
Hope this made sense.
From the API point of view it makes sense that the behavior is this way. But the end-result is flawed. Im thinking the Android app should probably not upload the public key if the private key was rejected.
from end_to_end_encryption.
UPDATE: Looking through the Android app code I see that it does in fact check the return value when posting the private key. That means that the server seemingly returned 200 OK even though a private key already existed.
from end_to_end_encryption.
We first generate/use the public key and only if the public was stored correctly on server, we continue with private key.
Isn't this solved via nextcloud/android#2153?
from end_to_end_encryption.
Yes, though in my testing the server returned 200 OK even though a private key already existed. I will do some more testing and see if I can reproduce the issue.
from end_to_end_encryption.
@ardevd Were you ever able to reproduce the issue?
from end_to_end_encryption.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from end_to_end_encryption.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from end_to_end_encryption.
Related Issues (20)
- Inconsistent type of version in metadata causing client issues
- Latest version on nextcloud 28 cant use file drop links HOT 1
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Transition to using CHANGELOG.md (again?) so that app store picks it up
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to encrypt folder: Server replied 404 Not Found HOT 2
- Failed to update nextcloud/ocp package on branch stable27
- [Bug]: No option to share E2EE folder with other users HOT 2
- Typo on `<script>` tag of `AdminSection` causes all buttons to look misplaced
- Add required check for NPM build back HOT 1
- e2e encrypted folder shared among NC users/group
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from end_to_end_encryption.