13 Commits

Author SHA1 Message Date
Neil Movva
9604fd30e1 [BLY-66] direct upload pparams (#28)
* bucket check and async setup
clients perform direct setup by default

* (python) more consistent json for internal api

all requests and response are JSON.
all binary payloads are explicitly encoded as base64
within api.py, and decoded back to bytes before leaving api.py.
User-facing code, e.g. bucket.py and bucket_service.py,
should not see base64 wrangling.

* Support async for all ops

refactor api.py to be async-first
use new asyncio loops to support non-async interface;
cannot call non-async methods from async context

* [js] update client to work with unified service
bump both versions to 0.2.1
disable npm/pypi publish except on manual workflow run

* disable request compression

* fix workflow tests

update standalone Spiral test server to use new JSON interface
2023-09-11 16:55:35 -07:00
Neil Movva
7740f75ec2 [BLY-64] Python Spiral v1, and docs
Python client: use spiral v1, add basic docs
Unify client versions at 0.2.0
Add min rustc version to all crates
2023-08-29 13:19:27 -07:00
Neil Movva
3b28c30d89 Clients: add modify and clear (#23)
* add modify and clear

* test blyss service via python client
2023-04-20 13:31:59 -07:00
menonsamir
1f5c056c4a Bump default Spiral version (#22)
* Bump Spiral PIR version

* 0.1.8

* Fix lock
2023-04-11 15:39:52 -07:00
menonsamir
dc5366d6d5 Reduce public params, release crates (#20)
* add noise estimation

* add pub param dedup

* fix noise estimates

* add better paramset

* Make backwards compatible

* Fix CI and server

* Prepare for spiral-server crate

* update lock

* Deps

* Do prerelease

* Update dependency

* Fix version

* Deps

* More fixes

* Bump ver

* Prepare for release
2023-04-11 14:05:29 -07:00
menonsamir
7b655623c0 Fix Node example (#15)
* 0.1.7

* update examples (fix #14)

* Fix build

* Add crypto to bloom tests
2023-03-14 20:59:41 -07:00
menonsamir
aea24b9156 Fix local server example (#13)
* update npmignore

* 0.1.7-alpha.1

* Update local example
2023-03-14 02:03:56 -07:00
menonsamir
20e5900ed7 Add local server (#12)
* Add local server

* Fix node-local example

* Fix build
2023-03-13 16:30:21 -07:00
Samir Menon
e80590c0e9 Remove debug logging 2023-02-24 13:57:20 -08:00
menonsamir
1cd8d24b27 Add DoublePIR support (#10)
* initial add

* fix bucket

* small fixes

* prepare for wasm

* fix derivation

* Fully working doublepir implementation

* Cleanup

* 0.1.4-alpha.0

* Fix node support and url config

* 0.1.4-alpha.1

* 0.1.4-alpha.2

* fix url fetch

* 0.1.4-alpha.3

* Start avoiding materializing pseudorandom matrices

* cleanup
2023-02-19 13:25:51 -08:00
Neil Movva
b2968962e7 Private Valentines demo (#9)
JS Client changes:
Gracefully return null if key is not found in bucket (instead of throwing)
Support single and multi-key lookups in a unified privateRead function
2023-02-15 00:53:54 -08:00
Samir Menon
b4fa467e3e Fix package names 2023-02-07 18:55:38 -08:00
Samir Menon
48e4792ca2 Initial version of homomorphic encryption SDK 2023-02-07 15:21:24 -08:00