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

Initial version with PKAM auth and simple data exchange #1

Merged
merged 23 commits into from
Jun 21, 2023

Conversation

Zambrella
Copy link
Collaborator

Description

This is an initial version of a Rust Client SDK working in std environments. This version of the SDK can do everything described here which includes:

  1. Lookup the address of an AtServer from the AtDirectory
  2. PKAM authenticate with AtServer
  3. Read .atKeys file and decrypt data contained within
  4. Send encrypted data to another AtSign
  5. Read encrypted data sent from another AtSign

How to verify

There are instructions on how to run the examples in the README. Alternatively, you can add it as a dependency in a new Rust project.

[dependencies]
at_rust = { git = "https://github.com/atsign-foundation/at_rust.git" }

@Zambrella Zambrella requested a review from cpswan June 19, 2023 16:02
Copy link
Member

@cpswan cpswan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tremendous work @Zambrella - I was able to get the examples working without too much trouble.

A few nits here and there to be tidied up before merging, but mostly LGTM :)

Cargo.lock Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
examples/fetch_data_example.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
src/at_chops/utils.rs Show resolved Hide resolved
@Zambrella
Copy link
Collaborator Author

@cpswan I have pushed changes that hopefully resolve all the issues.

@cpswan
Copy link
Member

cpswan commented Jun 21, 2023

LGTM @Zambrella over to you for the merge

@Zambrella Zambrella merged commit 7c87f7c into trunk Jun 21, 2023
@cpswan cpswan deleted the doug-first-version branch June 21, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants