Unverified Commit 62771e5f authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

age-plugin-sss: init at 0.2.5 (#387262)

parents d8b4f033 96b18b09
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1825,6 +1825,13 @@
    githubId = 8436007;
    name = "Aria Edmonds";
  };
  arbel-arad = {
    email = "arbel@spacetime.technology";
    github = "arbel-arad";
    githubId = 65590498;
    matrix = "@arbel:matrix.spacetime.technology";
    name = "Arbel Arad";
  };
  arcadio = {
    email = "arc@well.ox.ac.uk";
    github = "arcadio";
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "age-plugin-sss";
  version = "0.2.5";

  src = fetchFromGitHub {
    owner = "olastor";
    repo = "age-plugin-sss";
    tag = "v${version}";
    hash = "sha256-4cLQRG4Al1C3x/D385kb/aYTlQqe/5bS9oMLJmHOJ1I=";
  };

  vendorHash = "sha256-HQavX6X2k/oABnHXAnOwHNkGpCTr539zRk0xwO8zS9o=";

  ldflags = [
    "-s"
    "-w"
    "-X main.version=v${version}"
  ];

  meta = {
    description = "Age plugin to split keys and wrap them with different recipients using Shamir's Secret Sharing";
    homepage = "https://github.com/olastor/age-plugin-sss/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ arbel-arad ];
    mainProgram = "age-plugin-sss";
  };
}