Skip to content

Commit 6cc3549

Browse files
committed
docs(cargo-yank): clarify yank behavior with leaked credentials
1 parent 284eefc commit 6cc3549

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/doc/man/cargo-yank.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ them at <[email protected]>.
6868

6969
If credentials have been leaked, the recommended course of action is to revoke
7070
them immediately. Once a crate has been published, it is impossible to determine
71-
if the leaked credentials have been copied. Yanking the crate only prevents new
72-
users from downloading it, but cannot stop those who have already downloaded it
73-
from keeping or even spreading the leaked credentials.
71+
if the leaked credentials have been copied. Yanking only prevents Cargo from
72+
selecting this version when resolving dependencies by default. Existing lock
73+
files or direct downloads are not affected, so yanking cannot stop further
74+
spreading of the leaked credentials.
7475

7576
[RustSec]: https://rustsec.org/
7677
[policies]: https://crates.io/policies

0 commit comments

Comments
 (0)