Merge pull request #225134 from laalsaas/sss-cli

sss-cli: init at 0.1.1
This commit is contained in:
Thomas Gerbet 2023-12-04 22:41:18 +01:00 committed by GitHub
commit cc8f80e618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "sss-cli";
version = "0.1.1";
src = fetchFromGitHub {
owner = "dsprenkels";
repo = "sss-cli";
rev = "v${version}";
hash = "sha256-9Wht+t48SsWpj1z2yY6P7G+h9StmuqfMdODtyPffhak=";
};
cargoPatches = [ ./fix-cargo-lock.patch ];
cargoHash = "sha256-nKb0J9ym3ZYC80KemwQwT5vVtQUngYD4/091hAIYAiU=";
meta = with lib; {
homepage = "https://github.com/dsprenkels/sss-cli";
description = "Command line program for secret-sharing strings";
license = licenses.mit;
maintainers = with maintainers; [ laalsaas ];
};
}

View file

@ -0,0 +1,21 @@
diff --git a/Cargo.lock b/Cargo.lock
index a57c5d8..27278d9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "aho-corasick"
version = "0.7.15"
@@ -253,7 +255,7 @@ dependencies = [
[[package]]
name = "shamirsecretsharing-cli"
-version = "0.1.0"
+version = "0.1.1"
dependencies = [
"atty",
"clap",

View file

@ -13596,6 +13596,8 @@ with pkgs;
ssocr = callPackage ../applications/misc/ssocr { };
sss-cli = callPackage ../tools/security/sss-cli { };
ssss = callPackage ../tools/security/ssss { };
stabber = callPackage ../misc/stabber { };