Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronous backups #166

Merged
merged 25 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d13a653
chore: wip
Jasonvdb Aug 8, 2023
ead2eeb
Merge branch 'master' into sync-backup
Jasonvdb Aug 21, 2023
3cbb82e
feat: ios remote backup sync
Jasonvdb Aug 22, 2023
32e9a1b
feat: ios backup encryption
Jasonvdb Aug 22, 2023
cd08d8c
feat: fastify server
Jasonvdb Aug 24, 2023
a3fe5fb
wip: slashauth
Jasonvdb Aug 24, 2023
0f9fc53
feat: list backed up files from server, full restore from server
Jasonvdb Aug 31, 2023
135127b
feat: slashauth used in backup server
Jasonvdb Sep 1, 2023
8829635
fix: using slashauth magic link
Jasonvdb Sep 4, 2023
9a5ce5e
wip: sodium
Jasonvdb Sep 6, 2023
71dd44f
feat: android backup encryption
Jasonvdb Sep 13, 2023
98df4c4
feat: android remote backup restore
Jasonvdb Sep 14, 2023
fb7111e
feat: ios signed backup uploads
Jasonvdb Sep 18, 2023
d25c176
Merge branch 'master' into sync-backup
Jasonvdb Sep 20, 2023
901d27b
feat: backup challenge/response for retrieval with node signing
Jasonvdb Sep 20, 2023
c3a9c8c
feat: backup server using storage-abstraction
Jasonvdb Sep 20, 2023
f3494da
feat: server signs client challenge
Jasonvdb Sep 21, 2023
f96e748
feat: ios validating server's signed challenge response
Jasonvdb Sep 22, 2023
467fcba
feat: use ln-verifymessagejs for server message signing
Jasonvdb Sep 25, 2023
9d9de90
feat: ios bearer token auth for restoring backups
Jasonvdb Sep 28, 2023
176497f
feat: android verifying server response on persist
Jasonvdb Sep 29, 2023
d3136e9
feat: android bearer token auth for restoring backups
Jasonvdb Sep 29, 2023
d8fb401
chore: backup documentation
Jasonvdb Oct 2, 2023
e5aa676
fix: clear previously cached bearer token on backup client setup
Jasonvdb Oct 4, 2023
ff9f5d4
Merge branch 'master' into sync-backup
Jasonvdb Oct 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: ios signed backup uploads
  • Loading branch information
Jasonvdb committed Sep 18, 2023
commit fb7111eb1d8a9c8164be175f93ac88383905d140
4 changes: 1 addition & 3 deletions backup-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ const start = require('./src/server');

const HOST = '0.0.0.0';
const PORT = 3003;
const AUTH_PORT = 3004;
const AUTH_SERVER_SEED = '09c2a8437fd9e6e2c7244a8f953270a168a428e903fdfb25b93ff2bec05353e0';

start({host: HOST, port: PORT, authPort: AUTH_PORT, seed: AUTH_SERVER_SEED}).then(() => {
start({host: HOST, port: PORT}).then(() => {
console.log("Server started");
}).catch((error) => {
process.exit(1);
Expand Down
Loading