Skip to content

Releases: NLnetLabs/rpki-rs

0.19.1

23 Sep 08:23
4fa8113

Choose a tag to compare

New

0.19.0

18 Sep 08:57
b487985

Choose a tag to compare

Breaking changes

  • Updated the format for SLURM v2 to the latest version of [draft-ietf-sidrops-aspa-slurm}(https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-aspa-slurm). (#331)

New

  • Implemented std::error::Error::source for xml::decode::Error and rrdp::ProcessError to provide access to underlying error. (#335);

  • Implemented updated requirements for signed objects from RFC 9589 making the Signing Time attribute mandatory and the Binary Signing Time attribute illegal. (#340)

  • Added more strict parsing of resource certificates:

    • correctly check the bits in the Key Usage extension (#337),
    • require the correct value of the critical flag in extensions (#339),

    These issues were reported by Zizhi Shang, Zhechao Lin, Jiahao Cao, Yangyang Wang, and Mingwei Xu of the Institute for Network Sciences and Cyberspace (INSC), Tsinghua University.

  • Disallow empty issuer and subject names in resource certificates.

    This issue was reported by Zhechao Lin, Zizhi Shang, Jiahao Cao, Yangyang Wang, and Mingwei Xu of the Institute for Network Sciences and Cyberspace, Tsinghua University.

  • Added a check for allowed characters in the file names of manifests according to the new rules introduced in section 4.2.2 of RFC 9286. (#342, #343)

Other changes

  • Added some basic scaffolding for fuzzing object parsing. (#313)

0.18.6

23 Apr 09:51
f18fede

Choose a tag to compare

New

  • Added support for ASPA to SLURM. (#325, #329)

Bug fixes

  • Fix access to flags in the ASPA and router key RTR PDUs. (#327)
  • Fix reported version in EndOfData RTR PDUs. (#328)
  • Fix an overflow in AddressRange::to_vX_prefixes for prefix length 0.
    (#323)

Other changes

  • The minimum supported Rust version is now 1.81. (#326)

0.18.5

22 Jan 14:57
3cbda55

Choose a tag to compare

New

  • ca::idexchange::Error now impls std::error::Error. (#297)
  • Re-export bcder as dep::bcder if it is enabled. (#299)
  • Added PublisherRequest::set_publisher_handle. (#300)
  • Added uri::{Rsync,Https}::path_into_dir (#302)
  • Added Ipv4Block and Ipv6Block and FromIterator impls for Ipv4Blocks and Ipv6Blocks. (#298)
  • Made AddressRange public and added methods to convert ranges into a set of prefixes. (#306)
  • Updated the ASPA RTR PDU to conform with version -14 of draft-ietf-sidrops-8210bis. (#309)
  • Enable ASPA version 2 in the RTR server. (#318)
  • The ASPA ProviderAsSet now keeps track of its length and exposes it via the new len method. (#315)
  • The ASPA Provider AS Set is now limited to 16380 entries when parsing from ASPA objects and creating RTR PDUs. (#316)
  • Exposed ca::idcert::TbsIdCert::validity. (#310);
  • Protect against maliciously large XML input to the RRDP parser. This will allow re-enabling GZIP support in RRDP clients. (#319)

Bug fixes

  • Do not allow backslashes in idexchange handles. (#304)
  • Check the content of file names in a manifest during parsing. This fixes a crash when later code assumes that the file names only contain ASCII characters and otherwise panics. (#320)

Other changes

  • The minimum supported Rust version is now 1.73. (#319)

0.18.4

21 Jun 10:02
0610e71

Choose a tag to compare

Bug fixes

  • Correctly encode a CRL with empty revokedCertificates. (#295)

0.18.3

10 Jun 12:43
85d3a41

Choose a tag to compare

New

  • Added rrdp::NotificationFile::parse_limited that allows parsing while limiting the length of the list of deltas. (#293)

0.18.2

29 May 13:48
ed80969

Choose a tag to compare

New

  • Serial can now be converted from and to [u8; 20]. (#285)
  • Added uri::Https::eq_authority and
    rrdp::NotificationFile::has_matching_origin to check for same origin
    rules in RRDP. (#287)

0.18.1

17 Jan 09:18
37a8d36

Choose a tag to compare

Bug fixes

  • The RTR server now returns the expected protocol version in the version negotiation error message rather than the requested version. (#280)
  • The RTR server does not accept protocol version 2 for now to avoid sending illegal ASPA PDUs. This is a workaround until the final format of the PDU is specified. (#281)
  • Fixed protocol version negotiation in the RTR client. It will now error out if the server responds with a version greater than the requested one rather just accepting it. (#282)

0.18.0

30 Nov 10:17
688e6eb

Choose a tag to compare

Breaking changes

  • Upgraded ring to 0.17 and quick-xml to 0.31. (#287)

0.17.2

21 Sep 10:57
53b3c3c

Choose a tag to compare

Bug fixes

  • Upgraded the dependency on bcder to at least 0.7.3 to avoid a number of decoding issues described in CVE-2023-39914. (#272)