From bc4fa6f2fe8535cbb87b3ed4d383d90e660ca3ff Mon Sep 17 00:00:00 2001 From: Stuart Stock Date: Sat, 16 Mar 2024 16:09:47 -0500 Subject: [PATCH] Update version to draft 8 --- Cargo.toml | 2 +- README.md | 15 +++++---------- src/lib.rs | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1451468..38e4bcf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roughenough" -version = "1.2.1-draft5" +version = "1.2.1-draft8" repository = "https://github.com/int08h/roughenough" authors = ["Stuart Stock ", "Aaron Hill "] license = "Apache-2.0" diff --git a/README.md b/README.md index 306feb7..d17c510 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,10 @@ Requires latest stable Rust to compile. Contributions welcome, see ## RFC Work-In-Progress -Roughenough implements the Roughtime protocol as specified in [the draft-5 RFC](https://www.ietf.org/archive/id/draft-ietf-ntp-roughtime-05.html). +Roughenough implements the Roughtime protocol as specified in [the draft-8 RFC](https://www.ietf.org/archive/id/draft-ietf-ntp-roughtime-08.html). **Important differences from the draft RFC** -1. Roughenough uses SHA-512/256 to compute the Merkle tree. Draft-5 of the RFC uses a - bespoke 32-byte SHA-512 prefix without rationale or justification. Given that - standardized 32-byte SHA-512/256 exists and is already implemented widely, I'm - sticking with it while I advocate for the RFC to move away from the custom prefix - and adopt SHA-512/256. -2. The server and client send/expect RFC protocol version `1` (VER tag is `0x00000001`) +1. The server and client send/expect RFC protocol version `1` (VER tag is `0x00000001`) instead of the draft's suggested `0x80000000 + version`. The Roughenough server operates both the "classic" protocol **and** the RFC compliant @@ -51,8 +46,8 @@ $ roughenough-client -p 1 roughtime.int08h.com 2002 ### Minimum Supported Rust Version (MSRV) -Roughenough uses [2018 edition](https://rust-lang-nursery.github.io/edition-guide/rust-2018/index.html) -features and requires Rust 1.31 or newer to build. +Roughenough uses [2021 edition](https://doc.rust-lang.org/edition-guide/rust-2021/index.html) +features and requires Rust 1.72 or newer to build. ### Building @@ -237,7 +232,7 @@ created by Adam Langley and Robert Obryk. * Eric Swanson (github.com/lachesis) ## Copyright and License -Roughenough is copyright (c) 2017-2021 int08h LLC. All rights reserved. +Roughenough is copyright (c) 2017-2024 int08h LLC. All rights reserved. int08h LLC licenses Roughenough (the "Software") to you under the Apache License, version 2.0 (the "License"); you may not use this Software except in compliance with the License. You may obtain diff --git a/src/lib.rs b/src/lib.rs index 11f512f..9407c04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,7 +79,7 @@ pub mod stats; pub mod version; /// Version of Roughenough -pub const VERSION: &str = "1.2.1-draft5"; +pub const VERSION: &str = "1.2.1-draft8"; /// Roughenough version string enriched with any compile-time optional features pub fn roughenough_version() -> String {