Skip to content

Commit

Permalink
simple instructions for using command-line
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Apr 24, 2024
1 parent 8fa216d commit e8e8fce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@
[![crates.io](https://img.shields.io/crates/v/s2id)](https://crates.io/crates/s2id)
[![Docs](https://docs.rs/s2id/badge.svg)](https://docs.rs/s2id)
[![Apache-2 licensed](https://img.shields.io/crates/l/s2id)](./LICENSE)

## Installation

```console
$ cargo install s2id --all-features
```

## Use

```console
$ ssi help
$ ssi new --no-expiry --uid "My Name <mailto:[email protected]>"
$ ssi list
$ SIG=`ssi sign [email protected] -t "Test message"`
$ ssi verify $SIG
```
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn main() {
let signer = runtime
.find_signer(ssi, &passwd)
.expect("unknown signing identity");
eprintln!("Using key {signer})");
eprintln!("Using key {signer}");
let cert = signer.sign(msg);
println!("{cert}");
}
Expand Down

0 comments on commit e8e8fce

Please sign in to comment.