Skip to content

Commit

Permalink
Bump copyright, MSRV and cargo-deny-action (#371)
Browse files Browse the repository at this point in the history
* Update copyright year to 2024

* Bump MSRV to 1.74.0

* Bump cargo-deny-actions
  • Loading branch information
brycx authored Feb 20, 2024
1 parent 8685e9e commit 71f0b34
Show file tree
Hide file tree
Showing 51 changed files with 60 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@5def368d93be6684ad20a0fdec5f23c8ea11e022
- uses: EmbarkStudios/cargo-deny-action@68cd9c5e3e16328a430a37c743167572e3243e7e
with:
command: check ${{ matrix.checks }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- stable
- beta
- nightly
- 1.70.0 # MSRV
- 1.74.0 # MSRV
os:
- ubuntu-latest
- macos-latest
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 0.17.7

__Date:__ TBD.

__Changelog:__
- Bump copyright year to 2024.
- Bump MSRV to `1.74.0`.
- Update CI dependencies.

### 0.17.6

__Date:__ September 19, 2023.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Usable, easy and safe pure-Rust crypto"
keywords = [ "cryptography", "crypto", "aead", "hash", "mac" ]
categories = [ "cryptography", "no-std" ]
edition = "2021"
rust-version = "1.70" # Update CI (MSRV) test along with this.
rust-version = "1.74" # Update CI (MSRV) test along with this.
readme = "README.md"
repository = "https://github.com/orion-rs/orion"
documentation = "https://docs.rs/orion"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2023 The orion Developers
Copyright (c) 2018-2024 The orion Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# orion
[![Tests](https://github.com/orion-rs/orion/workflows/Tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![Daily tests](https://github.com/orion-rs/orion/workflows/Daily%20tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![dudect](https://github.com/orion-rs/orion-dudect/workflows/dudect/badge.svg)](https://github.com/orion-rs/orion-dudect/actions) [![Audit](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml/badge.svg)](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml) [![codecov](https://codecov.io/gh/orion-rs/orion/branch/master/graph/badge.svg)](https://codecov.io/gh/orion-rs/orion) [![Documentation](https://docs.rs/orion/badge.svg)](https://docs.rs/orion/) [![Crates.io](https://img.shields.io/crates/v/orion.svg)](https://crates.io/crates/orion) [![Safety Dance](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![MSRV](https://img.shields.io/badge/MSRV-1.70-informational.svg)](https://img.shields.io/badge/MSRV-1.70-informational) [![Matrix](https://img.shields.io/matrix/orion-rs:matrix.org.svg?logo=matrix)](https://matrix.to/#/#orion-rs:matrix.org)
[![Tests](https://github.com/orion-rs/orion/workflows/Tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![Daily tests](https://github.com/orion-rs/orion/workflows/Daily%20tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![dudect](https://github.com/orion-rs/orion-dudect/workflows/dudect/badge.svg)](https://github.com/orion-rs/orion-dudect/actions) [![Audit](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml/badge.svg)](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml) [![codecov](https://codecov.io/gh/orion-rs/orion/branch/master/graph/badge.svg)](https://codecov.io/gh/orion-rs/orion) [![Documentation](https://docs.rs/orion/badge.svg)](https://docs.rs/orion/) [![Crates.io](https://img.shields.io/crates/v/orion.svg)](https://crates.io/crates/orion) [![Safety Dance](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![MSRV](https://img.shields.io/badge/MSRV-1.74-informational.svg)](https://img.shields.io/badge/MSRV-1.74-informational) [![Matrix](https://img.shields.io/matrix/orion-rs:matrix.org.svg?logo=matrix)](https://matrix.to/#/#orion-rs:matrix.org)

### About
Orion is a cryptography library written in pure Rust. It aims to provide easy and usable crypto while trying to minimize the use of unsafe code. You can read more about Orion in the [wiki](https://github.com/orion-rs/orion/wiki).
Expand All @@ -24,7 +24,7 @@ Orion uses formally verified arithmetic, generated by Fiat Crypto, for the X2551
See the [SECURITY.md](https://github.com/orion-rs/orion/blob/master/SECURITY.md) regarding recommendations on correct use, reporting security issues and more. Additional information about security regarding Orion is available in the [wiki](https://github.com/orion-rs/orion/wiki/Security).

### Minimum Supported Rust Version
Rust 1.70 or later is supported however, the majority of testing happens with latest stable Rust.
Rust 1.74 or later is supported however, the majority of testing happens with latest stable Rust.

MSRV may be changed at any point and will not be considered a SemVer breaking change.

Expand Down
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/aead/chacha20poly1305.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/aead/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/aead/streaming.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/aead/xchacha20poly1305.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/ecc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2021-2023 The orion Developers
// Copyright (c) 2021-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/ecc/x25519.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2021-2023 The orion Developers
// Copyright (c) 2021-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/blake2/blake2b.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/blake2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha256.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha384.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha512.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/kdf/argon2i.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/kdf/hkdf.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/kdf/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/kdf/pbkdf2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/mac/blake2b.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/mac/hmac.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/mac/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/mac/poly1305.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers
// Based on the algorithm from https://github.com/floodyberry/poly1305-donna

// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/stream/chacha20.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/stream/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/stream/xchacha20.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/aead.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/auth.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/hash.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/hltypes.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/kdf.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/kex.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2021-2023 The orion Developers
// Copyright (c) 2021-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/high_level/pwhash.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2020-2023 The orion Developers
// Copyright (c) 2020-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/test_framework/aead_interface.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/test_framework/incremental_interface.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/test_framework/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/test_framework/streamcipher_interface.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/typedefs.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2018-2023 The orion Developers
// Copyright (c) 2018-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/util/endianness.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License

// Copyright (c) 2019-2023 The orion Developers
// Copyright (c) 2019-2024 The orion Developers

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 71f0b34

Please sign in to comment.