diff --git a/Cargo.toml b/Cargo.toml index 5267093..c3f7ad2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "zipsign" -description = "Sign a file with an ed25519 signing key" +description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key" version = "0.1.0-a.0" edition = "2021" authors = ["René Kijewski "] -license = "MIT OR Apache-2.0 WITH LLVM-exception" +repository = "https://github.com/Kijewski/zipsign" +license = "Apache-2.0 WITH LLVM-exception" [workspace] resolver = "2" diff --git a/LICENSE.mit b/LICENSE.mit deleted file mode 100644 index 39a9539..0000000 --- a/LICENSE.mit +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2023 René Kijewski - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 30d25ad..68ba3b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -## zipsign: Sign a file with an ed25519ph signing key +## zipsign + +A tool to sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key. + +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Kijewski/zipsign/ci.yml?branch=main)](https://github.com/Kijewski/zipsign/actions/workflows/ci.yml) +[![Crates.io](https://img.shields.io/crates/v/zipsign?logo=rust)](https://crates.io/crates/zipsign-api) +![License: License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-informational?logo=apache) ### Install diff --git a/api/Cargo.toml b/api/Cargo.toml index 4a23b1d..af0d949 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "zipsign-api" -description = "Verify files signed with `zipsign`" +description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key" version = "0.1.0-a.0" edition = "2021" authors = ["René Kijewski "] -license = "MIT OR Apache-2.0 WITH LLVM-exception" +repository = "https://github.com/Kijewski/zipsign" +license = "Apache-2.0 WITH LLVM-exception" [dependencies] base64 = { workspace = true, optional = true } diff --git a/api/LICENSE.mit b/api/LICENSE.mit deleted file mode 120000 index dcca524..0000000 --- a/api/LICENSE.mit +++ /dev/null @@ -1 +0,0 @@ -../LICENSE.mit \ No newline at end of file diff --git a/api/README.md b/api/README.md index f0c1718..c55b3bb 100644 --- a/api/README.md +++ b/api/README.md @@ -1 +1,11 @@ -## zipsign-api: Verify ed25519ph signed files +## zipsign-api + +Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key. + +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Kijewski/zipsign/ci.yml?branch=main)](https://github.com/Kijewski/zipsign/actions/workflows/ci.yml) +[![Crates.io](https://img.shields.io/crates/v/zipsign?logo=rust)](https://crates.io/crates/zipsign) +![License: License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-informational?logo=apache) + +This library contains the brains of [`zipsign`](https://github.com/Kijewski/zipsign). +You can use it in your projects to verify and sign `.zip` and `.tar.gz` files +without running a separate application, e.g. to verify a self-update.