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

read_topic API #288

Merged
merged 32 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
db813ba
Add key_store table and generate
richardhuaaa Oct 24, 2023
f9c6ec8
Implement store/fetch/delete traits
richardhuaaa Oct 24, 2023
257d5b6
Add SQL key store
richardhuaaa Oct 24, 2023
6af1384
Use SQL key store for provider, remove in-memory key store
richardhuaaa Oct 25, 2023
a404c20
Use reference to encrypted store to allow multiple consumers
richardhuaaa Oct 25, 2023
acd42b8
Tidy identity
richardhuaaa Oct 25, 2023
0a53a11
Add identity table, queries, and unit tests
richardhuaaa Oct 26, 2023
4fb1059
Persist and retrieve identity from storage inside builder
richardhuaaa Oct 26, 2023
598b5ea
Tidy up names and types
richardhuaaa Oct 26, 2023
c8780f0
Merge branch 'main' into rich/sqlite-store
neekolas Oct 27, 2023
9dad361
Update Diesel
neekolas Oct 27, 2023
b1f411b
Hard code ciphersuite
neekolas Oct 27, 2023
091afdb
Add tests and fix bugs
richardhuaaa Oct 27, 2023
18c6aa4
Fix lints
richardhuaaa Oct 27, 2023
dae1c74
Update xmtp_mls/src/storage/encrypted_store/mod.rs
richardhuaaa Oct 27, 2023
77aa94b
Dont use the word Error in error names
richardhuaaa Oct 27, 2023
5278d13
Move identity initialization to identity strategy
richardhuaaa Oct 28, 2023
a6c5095
Merge remote-tracking branch 'origin/main' into rich/sqlite-store
richardhuaaa Oct 28, 2023
04f5dd9
Add create key packages methods
neekolas Oct 28, 2023
7a27e56
Merge branch 'main' into create-key-packages
neekolas Oct 28, 2023
7000fb4
Merge branch 'rich/sqlite-store' of github.com:xmtp/libxmtp into rich…
neekolas Oct 28, 2023
2b4b0be
Merge branch 'rich/sqlite-store' into create-key-packages
neekolas Oct 28, 2023
34d42f0
Add verified key package handling
neekolas Oct 29, 2023
249daba
Add comment
neekolas Oct 29, 2023
49f8332
Add read_topic API
neekolas Oct 29, 2023
23fc060
Remove unused lifetime
neekolas Oct 29, 2023
c632b9f
Merge branch 'create-key-packages' into nmolnar/read-topic-api
neekolas Oct 29, 2023
77f1829
Add times check
neekolas Oct 29, 2023
ddd91af
Merge branch 'main' into nmolnar/read-topic-api
neekolas Oct 30, 2023
1a26d8f
Merge branch 'main' into nmolnar/read-topic-api
neekolas Oct 31, 2023
c58ed28
Tidy up cursor extraction
neekolas Oct 31, 2023
292a55d
Avoid unnecessary clones
neekolas Nov 1, 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
134 changes: 121 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions xmtp_mls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ native = ["libsqlite3-sys/bundled-sqlcipher-vendored-openssl"]
[dependencies]
anyhow = "1.0.71"
async-trait = "0.1.68"
diesel = { version = "2.0.4", features = ["sqlite", "r2d2", "returning_clauses_for_sqlite_3_35"] }
diesel_migrations = { version = "2.0.0", features = ["sqlite"] }
diesel = { version = "2.1.3", features = ["sqlite", "r2d2", "returning_clauses_for_sqlite_3_35"] }
diesel_migrations = { version = "2.1.0", features = ["sqlite"] }
ethers = "2.0.4"
ethers-core = "2.0.4"
futures = "0.3.28"
Expand All @@ -40,8 +40,10 @@ tokio = { version = "1.28.1", features = ["macros"] }
toml = "0.7.4"
xmtp_cryptography = { path = "../xmtp_cryptography"}
xmtp_proto = { path = "../xmtp_proto", features = ["proto_full"] }
tls_codec = "0.3.0"

[dev-dependencies]
mockall = "0.11.4"
rand = "0.8.5"
tempfile = "3.5.0"
xmtp_api_grpc = { path = "../xmtp_api_grpc" }
Loading
Loading