Tom Hacohen
132f63e2a6
Move all of the etesync context to a separate place.
...
This means that encryption key derivation and token access
are not called as often.
7 years ago
Tom Hacohen
6f9c783159
Cleanup the route resolver a bit.
7 years ago
Tom Hacohen
7dd8248aab
Added a hacky journal view.
...
A lot of code duplication.
7 years ago
Tom Hacohen
557e5ec0b4
Add basic routing.
7 years ago
Tom Hacohen
b9798f1b13
Switch to the hash router for security.
...
This is needed to avoid accidentally leaking urls to the server.
7 years ago
Tom Hacohen
bba3282def
Add a basic journal list view.
7 years ago
Tom Hacohen
9fd1b31299
Fix journal not having version set.
...
This commit also cleans up the sharing between the json from the API and
the internal state of the object.
7 years ago
Tom Hacohen
11aa1ffd94
API: first verify, then try to decrypt!
7 years ago
Tom Hacohen
778999861e
Add warning to TODO.
7 years ago
Tom Hacohen
cdbcf83791
Add license and update README.
7 years ago
Tom Hacohen
e0cc13cfd2
Initial code import of the etesync encryption and service module
...
This will be a small library in the end, but at the moment it's in this
repo for convenience. It includes the etesync service, crypto and tests
to cover them.
The tests require a running debug etesync server.
To create one, just create a server from:
https://github.com/etesync/server-skeleton/
Set DEBUG to True, and create a test user with the credentials that are
listed in the test files.
7 years ago
Tom Hacohen
2d6628038d
Adjust a few of the defaults.
7 years ago
Tom Hacohen
3a60a35a99
Initial commit.
7 years ago