Commit Graph

320 Commits

Author SHA1 Message Date
voidlizard 8846bfdc7e sigil convenience functions 2024-10-07 06:22:35 +03:00
Dmitry Zuikov 835c01bfaa ghc-9.6.6 + updated db-pipe 2024-09-25 11:28:17 +03:00
Dmitry Zuikov c240b8ad9e fixme-new 2024-09-25 11:19:41 +03:00
Dmitry Zuikov ff9ef2ddec merged refchan notifications and fixme-new (wip) 2024-09-15 10:20:14 +03:00
Dmitry Zuikov 58fecd442b indexed keys, hbs2-keyman and hbs2-sync updated 2024-08-27 09:16:10 +03:00
Vladimir Krutkin f7119564fb Added the manifest update command, fixed bugs 2024-08-26 17:15:13 +03:00
Dmitry Zuikov 9bab121743 merged hbs2-cli ans hbs2-sync 2024-08-07 15:20:19 +03:00
Dmitry Zuikov 26a023d60d hbs2-peer refchan cat && hbs2-peer reflog cat 2024-04-09 12:04:13 +03:00
Dmitry Zuikov da6bb6bcb4 0.24.1 2024-03-20 08:17:22 +03:00
Dmitry Zuikov e9c7c9dbae merged new download and some intermediate changes 2024-03-06 16:10:24 +03:00
Dmitry Zuikov 83b4d8bff8 boosted download 2024-02-14 12:02:03 +03:00
Dmitry Zuikov f049f36d42 tuning tree params 2024-02-07 17:13:29 +03:00
Dmitry Zuikov 656933720b tree parameters optimization 2024-02-07 13:52:21 +03:00
Dmitry Zuikov 00a316b786 basic hbs2-share 2024-01-07 10:01:12 +03:00
Dmitry Zuikov 835a0322e0 refchan refactoring 2023-12-28 06:21:57 +03:00
Dmitry Zuikov 5820b808c5 refactor: removing Proxy in HasDeferred 2023-12-27 06:48:18 +03:00
Dmitry Zuikov f0d469766e small-encrypted-block wip 2023-12-26 07:34:23 +03:00
Dmitry Zuikov 09f9eed01f basic key manager 2023-12-23 07:25:54 +03:00
Dmitry Zuikov 2ef2bb493c collect own messages in rechannotify log 2023-12-20 06:48:29 +03:00
Dmitry Zuikov 24272ad4d9 refchannotify log 2023-12-20 05:54:13 +03:00
Dmitry Zuikov 18bb821dfd timestamp-to-refchan-accept 2023-12-16 07:28:51 +03:00
Dmitry Zuikov f3a4082099 new encryption format 2023-12-01 10:59:07 +03:00
Dmitry Zuikov be55aa55e7 fixme 2023-11-28 07:00:17 +03:00
Dmitry Zuikov cd1b6ddf77 minor fix 2023-11-24 06:19:01 +03:00
Dmitry Zuikov 79efb093bf refchan head with reades
- added readers field into refchan  head

 - introduced "sigil" PUBLIC artefact (sign-pk, (encrypt-pk, metadata))

 - partial ccompatibility (new version reads older heads,
   old version wan't read new heads with readers (but will read new heads
   without readers)

 - RefChanHeadBlockSmall is to delete in nearest future

 - RefChanHeadBlock1 is to be a single RefChanHeadBlock

 - Yes, absense of readers initially was a fuckup

 - Object's versioning approaches are in their way of
   tries and failes
2023-11-24 05:35:47 +03:00
Dmitry Zuikov 002ecf7b3e merged notify-proto-debug fixes 2023-11-06 08:56:10 +03:00
Dmitry Zuikov 35905b94bd Notify proto + wiping resource-t in Messaging/Unix 2023-11-03 16:49:29 +03:00
Dmitry Zuikov 41ace9c87b Notify protocol 2023-10-31 07:33:29 +03:00
Dmitry Zuikov eab3175d52 fixed minor possible leak on callService 2023-10-29 07:46:15 +03:00
Dmitry Zuikov 9440b20753 fixme 2023-10-26 16:51:03 +03:00
Dmitry Zuikov 93a3be5a1f process-only-subscribed-reflogs 2023-10-26 10:30:29 +03:00
Dmitry Zuikov 58d0e9d256 experimental SOCKS5 support
- no authorization supported (bad for network-tcp-simple)
2023-10-26 09:10:41 +03:00
Dmitry Zuikov 0a55f1a732 optional messagings (TCP, UDP) + watchdog 2023-10-26 06:18:27 +03:00
Dmitry Zuikov 6ba53303f5 todo 2023-10-25 09:53:11 +03:00
Dmitry Zuikov f4c35c5f59 todo 2023-10-25 09:45:19 +03:00
Dmitry Zuikov de3000e1ae misc debug info 2023-10-25 09:39:33 +03:00
Dmitry Zuikov 67d2de563a misc debug info 2023-10-25 09:23:38 +03:00
Dmitry Zuikov c44a6b997b new protocol encryption + minor tuning 2023-10-25 09:01:23 +03:00
Dmitry Zuikov 0f69757813 multiple PEX fixes 2023-10-21 08:58:31 +03:00
Dmitry Zuikov 66ce6a659d Revert "faster-download-start"
This reverts commit 351ac97d44.
2023-10-20 21:28:18 +03:00
Dmitry Zuikov 351ac97d44 faster-download-start 2023-10-20 15:53:37 +03:00
Dmitry Zuikov 6336a69252 minor fix + todo 2023-10-19 10:57:39 +03:00
Dmitry Zuikov a1bbc634f4 QBLF regression fixed
Multi-client unix socket failure
2023-10-18 15:14:32 +03:00
Dmitry Zuikov 29fdd23602 fixed reflog sync bug 2023-10-18 10:16:11 +03:00
Dmitry Zuikov d3c63ab8e4 accept reflogupdate only for subcribed refs or from friendly peers 2023-10-15 09:26:49 +03:00
Dmitry Zuikov 3bccfa2e98 minor refactoring 2023-10-15 09:01:45 +03:00
Dmitry Zuikov c829a6d37c group-keys / repository-encryption to test 2023-10-12 09:58:13 +03:00
Dmitry Zuikov 8842843ffb hbs2-git-to-new-rpc 2023-10-07 14:29:40 +03:00
Dmitry Zuikov 5cd40a17dd StorageClient
... for RPC
2023-10-05 13:53:53 +03:00
Dmitry Zuikov 15d6a1d06f modular-rpc-api
1. Making the API modular
2. Running all via single socket, including storage
2023-10-05 11:54:36 +03:00
Dmitry Zuikov 613f26e418 moved to RPC2
New RPC works over a Unix socket and assumes synchronous
requests with callService.

A new protocol, 'ServiceProto,' is introduced.

New RPC operates over a Unix socket.

Note the setting: (rpc2 unix "/tmp/hbs2-rpc2.socket").

The default rpc2 socket is located at /tmp/hbs2-rpc2.socket.

In the future, TCP RPC may be introduced, requiring only:

1. Authorization/Authentication

This might be accomplished through another wrapped protocol, for instance.

"Dialog"-associated elements are commented out for now,
as they will likely require their own Unix socket.
2023-10-04 10:54:39 +03:00
Dmitry Zuikov 3c545b01fa service-protocol-proof-of-concept 2023-10-02 17:03:48 +03:00
Dmitry Zuikov 902125da75 unix sockets to support multiple clients 2023-10-01 09:51:27 +03:00
Dmitry Zuikov 9eff409b66 group-key-update 2023-09-27 12:43:16 +03:00
Dmitry Zuikov e22834f0f2 minor speedup 2023-09-27 11:24:56 +03:00
Dmitry Zuikov a3a5cf8f7f symm-group-encryption, schema changed
Accordingly to vulnerabilities review made by rblaze
2023-09-27 09:12:15 +03:00
Dmitry Zuikov 7572b3ffe9 symmetric, deterministic merkle-tree encryption
suckless-conf bumped
2023-09-26 18:19:33 +03:00
Dmitry Zuikov 09e070e38f merged 2023-09-21 08:40:05 +03:00
Dmitry Zuikov a980569ce4 qblf merged
- Requires testing and bugfixing
- Needs high CPU usage investigation (polling/packet flood?)
- Bundles are downloading repeatedly, that is weird
2023-09-21 08:40:05 +03:00
Dmitry Zuikov a5628a19ed bundle-basic-implementation 2023-09-21 08:39:59 +03:00
Dmitry Zuikov 51597c58cb Revert "merged"
This reverts commit eeb2735c4dc10409ba996b37cf83ba2fb178d392.
2023-09-21 08:10:16 +03:00
Sergey Ivanov 08c95bc9a9 Typelevel dialog server spec 2023-09-15 20:18:15 +04:00
Sergey Ivanov b22dc35283 Move encryption keys to ProxyMessaging
Change key for encryption key map from PeerData to EncryptionKeyIDKey

Test for quasidistributiveness of the encodeFrames

Move Dialog to HBS2.Net

Fixes with hlint:   hbs2-peer/app/PeerMain/DialogCliCommand.hs
2023-09-15 18:43:21 +04:00
Dmitry Zuikov 80278834b8 minor-fix: extracted SignedBox and code sweeped 2023-09-15 10:59:54 +03:00
Dmitry Zuikov 93137d8f4c minor-fix: extracted SignedBox and code sweeped 2023-09-15 09:43:05 +03:00
Sergey Ivanov b7079c2915 Revert "PR CG2C18TK8v "account asyncs, respawn node on errors""
This reverts commit 8904704edc.
2023-08-16 16:50:16 +04:00
Dmitry Zuikov 8904704edc PR CG2C18TK8v "account asyncs, respawn node on errors" 2023-08-11 06:10:09 +03:00
Dmitry Zuikov 40ba5fca68 RefLogKey moved to HBS2.Net.Proto.RefLog...
... since it is just one of many possible refs
2023-08-10 05:50:39 +03:00
Dmitry Zuikov 7274c6ceeb current refchan-notify and multiple fixes 2023-07-31 13:56:33 +03:00
Dmitry Zuikov 71e325f8bc PR 3nmxU5Ro8b dialog-proto 2023-07-28 15:36:50 +03:00
Dmitry Zuikov 8c9ea8408c wip, refchans+encryption, dev 2023-07-27 08:35:35 +03:00
Dmitry Zuikov 97f1bd2f8a added refchan-notify skeleton 2023-07-27 07:14:07 +03:00
Sergey Ivanov c60a0b4696 update after merge 2023-07-26 21:14:41 +04:00
Sergey Ivanov 75f03b9c95 Merge iv/integrate-encryption-test-dev2 into refchan-merge-2 (using imerge) 2023-07-25 16:11:47 +04:00
Dmitry Zuikov 23500ed822 ip, log merging, debug-30 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 29d12e7b4d wip, log merging, debug-23 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 308a0ce833 wip, log merging, debug-22 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 40f05a0051 wip, log merging, debug-21 2023-07-25 12:27:43 +03:00
Dmitry Zuikov a73c2c4659 wip, log merging, debug-20 2023-07-25 12:27:43 +03:00
Dmitry Zuikov baf0d6e3b6 wip, log merging, debug-18 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 9981d457e0 wip, log merging, debug-17 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 796a5a6f54 wip, log merging, debug-16 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e1725987c9 wip, log merging, debug-14 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 003fc43cc1 wip, log merging, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 84c74c3b4f wip, log merging 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 126994720f wip, refchanrequest events 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 819cec6402 wip, refchanget proto skeleton, no log merge 2023-07-25 12:27:43 +03:00
Dmitry Zuikov d2141c304b wip, minor refactoring, before refchanget proto 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 204de9afc6 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 6dc3fc91f5 wip, wtf 2 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 6e690d038e wip, wtf 2023-07-25 12:27:43 +03:00
Dmitry Zuikov c28f5dee50 wip, cleanup round data 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 01c435ac5f wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 54da5a6530 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 55679307f7 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 3c46a14aa5 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov d7a4d5cdf2 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov a1f16efec3 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 73d0fc6162 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 7e1c115056 wip, debug 2023-07-25 12:27:43 +03:00