Commit Graph

14 Commits

Author SHA1 Message Date
Tony Arcieri
ac125ee29a Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all
advisories into the new "V3" advisory format, which is based on Markdown
with leading TOML front matter.

This format makes it easier to see rendered Markdown syntax
descriptions, whether rendered by an IDE or GitHub. This should help
with both crafting advisories initially as well as review, and ideally
encourages more lengthy descriptions.

Support for this format shipped in `cargo-audit` v0.12.0 on
May 6th, 2020.
2020-10-01 18:29:11 -07:00
Tony Arcieri
64c17acfe3 Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2
format, which splits version information into a separate section, and
now has a structure which corresponds to the internal code structure of
the `rustsec` crate.

This is a breaking change for users of `cargo-audit` < 0.9, and anyone
who has written a 3rd party advisory format parser.
2020-03-01 10:46:35 -08:00
Roman Proskuryakov
73c772d878 Update RUSTSEC-2019-0026.toml 2019-10-20 02:04:21 +03:00
Tony Arcieri
38a7158626 Assign RUSTSEC-2019-0026 to sodiumoxide
Original PR: https://github.com/RustSec/advisory-db/pull/192
2019-10-11 11:43:47 -07:00
Roman Proskuryakov
fd955ac4a2 PartialEq implementation for sodiumoxide::crypto::generichash::Digest has compared itself to itself 2019-10-11 20:38:01 +03:00
Tony Arcieri
2d9a2632a7 Keywords
Documents the new `keywords` attribute and adds keywords to all current
advisories. These can be consumed by the web UI.
2018-07-24 16:02:35 -07:00
Tony Arcieri
cb81d3ceaa Rename "dwf" TOML tag to "aliases" (closes #36)
Nobody knows what "dwf" is, and the data isn't presently consumed or
surfaced by the `rustsec` crate, so we (hopefully) can rename it without
breaking anything.
2018-07-21 19:47:30 -07:00
Tony Arcieri
79fd13ac6f crates: Add 'id' attribute to all advisories
This is needed to parse them with serde directly from these files (as
opposed to using Advisories.toml)
2018-07-21 15:22:39 -07:00
Tony Arcieri
ce29282ad4 RUSTSEC-2017-0001 is also known as CVE-2017-1000168 2017-08-24 08:45:54 -07:00
Tony Arcieri
05af1866b1 Revert "Merge pull request #8 from RustSec/rename-package-to-crate-name"
Cargo uses "package" in Cargo.lock, so there is wisdom to using "package"
instead of "crate_name"

This reverts commit 986c090c06, reversing
changes made to 9556f0fdee.
2017-02-26 00:26:22 -08:00
Tony Arcieri
f4dbb0d82c Rename package TOML attribute to crate_name
The correct name for a Rust package is a "crate", so something with "crate" is
less ambiguous than "package".

However, "crate" itself is a Rust keyword. To avoid clashes in Rust code which
uses this same attribute name, "crate_name" can be used instead unambigously.
2017-02-25 23:13:36 -08:00
Tony Arcieri
dc3301d1e4 Add date to RUSTSEC-2017-0001 2017-02-25 16:47:52 -08:00
Tony Arcieri
6f3b266664 Assign RUSTSEC-2017-0001 to sodiumoxide
Original PR:

https://github.com/RustSec/advisory-db/pull/4
2017-02-25 16:46:26 -08:00
Tony Arcieri
1a18a429fc Advisory: sodiumoxide degenerate public keys
Fixed in sodiumoxide 0.0.14.

See: https://github.com/dnaq/sodiumoxide/issues/154
2017-02-25 16:28:44 -08:00