This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated test and basic_scenario * fixed issue with inconsistent nonce size * generate random nonce and session key * cargo fmt
- Loading branch information
1 parent
6ea3b40
commit 3edda0e
Showing
25 changed files
with
724 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[package] | ||
name = "iota-streams-app-channel" | ||
version = "0.1.0" | ||
name = "iota-streams-app-channels" | ||
version = "0.1.1" | ||
authors = ["Vlad Semenov <[email protected]>"] | ||
edition = "2018" | ||
license = "Apache-2.0/MIT" | ||
readme = "README.md" | ||
keywords = ["iota", "streams", "app", "channel"] | ||
description = "A rust implementation of the IOTA Streams Channel Application" | ||
keywords = ["iota", "streams", "app", "channels"] | ||
description = "A rust implementation of the IOTA Streams Channels Application" | ||
|
||
[lib] | ||
name = "iota_streams_app_channel" | ||
name = "iota_streams_app_channels" | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
|
@@ -19,3 +19,6 @@ iota-streams-core-mss = { version = "0.1.0", path = "../iota-streams-core-mss" } | |
iota-streams-protobuf3 = { version = "0.1.0", path = "../iota-streams-protobuf3" } | ||
iota-streams-app = { version = "0.1.0", path = "../iota-streams-app" } | ||
failure = "0.1" | ||
|
||
[dev-dependencies] | ||
iota-lib-rs = { version = "^0.4.1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# IOTA Streams Application layer: core definitions and Channels Application. | ||
|
||
## Streams Application | ||
|
||
Streams Application is a message-oriented cryptographic protocol. Application defines protocol parties, their roles, syntax and semantic of protocol messages. Messages are declared in Protobuf3 syntax and are processed according to Protobuf3 rules. Streams Message consists of Header and Application-specific Content. | ||
|
||
## Channels Application | ||
|
||
Channels Application has evolved from previous versions of Streams. There are two roles: Author and Subscriber. Author is a channel instance owner capable of proving her identity by signing messages. Subscribers in this sense are anonymous as their public identity (NTRU public key) is not revealed publicly. Author can share session key information (Keyload) with a set of Subscribers. Author as well as allowed Subscribers can then interact privately and securely. | ||
|
||
## Customization | ||
|
||
There are a few known issues that araise in practice. Streams makes an attempt at tackling them by tweaking run-time and compile-time parameters. If Channels Application is not suitable for your needs you can implement your own Application, and Protobuf3 implementation as a EDSL allows you to easily wrap and unwrap messages of your Application. And when Protobuf3 is not powerful enough, it can be extended with custom commands. |
Oops, something went wrong.