Skip to content

Commit

Permalink
doc: mention unstable flag -Z asymmetric-token
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Sep 20, 2023
1 parent e3f2e8f commit 80c9254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ timeout = 300 # in seconds
* Tracking Issue: [10519](https://github.com/rust-lang/cargo/issues/10519)
* RFC: [#3231](https://github.com/rust-lang/rfcs/pull/3231)

Add support for Cargo to authenticate the user to registries without sending secrets over the network.
The `-Z asymmetric-token` flag tells Cargo to authenticate the user to registries without sending secrets over the network.

In [`config.toml`](config.md) and `credentials.toml` files there is a field called `private-key`, which is a private key formatted in the secret [subset of `PASERK`](https://github.com/paseto-standard/paserk/blob/master/types/secret.md) and is used to sign asymmetric tokens

Expand Down

0 comments on commit 80c9254

Please sign in to comment.