pocket-id: 1.1.0 -> 1.2.0 (#413727)

This commit is contained in:
Marcus Ramberg
2025-06-03 23:45:53 +02:00
committed by GitHub
2 changed files with 9 additions and 8 deletions
@@ -174,12 +174,12 @@ in
CapabilityBoundingSet = "";
DeviceAllow = "";
DevicePolicy = "closed";
#IPAddressDeny = "any"; # communicates with the frontend
#IPAddressDeny = "any"; # provides the service through network
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateNetwork = false; # communicates with the frontend
PrivateNetwork = false; # provides the service through network
PrivateTmp = true;
PrivateUsers = true;
ProcSubset = "pid";
@@ -191,7 +191,8 @@ in
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "invisible";
ProtectSystem = "full"; # needs to write in cfg.dataDir
ProtectSystem = "strict";
ReadWritePaths = [ cfg.dataDir ];
RemoveIPC = true;
RestrictAddressFamilies = [
"AF_INET"
@@ -212,7 +213,7 @@ in
"@privileged"
"@raw-io"
"@reboot"
#"@resources" # vm test segfaults
"@resources"
"@swap"
];
UMask = "0077";
+4 -4
View File
@@ -9,18 +9,18 @@
buildGoModule (finalAttrs: {
pname = "pocket-id";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "pocket-id";
repo = "pocket-id";
tag = "v${finalAttrs.version}";
hash = "sha256-J/s8wpKAU7w8Djtd7rtamCzg/7176W0ybSoAB/vHOjs=";
hash = "sha256-LydP89zyqMGpWbC7nEAyPMx0ARDrYh4qL9sH1i8a88M=";
};
sourceRoot = "${finalAttrs.src.name}/backend";
vendorHash = "sha256-jLwuBYiFZhUDIvG5uk78vXmo+wuqkFmyC5lAUZ3vUxU=";
vendorHash = "sha256-U7FKU5WkU1EoXav+Q1i04uRSxBux/o4/9UzajT/hV/g=";
env.CGO_ENABLED = 0;
ldflags = [
@@ -42,7 +42,7 @@ buildGoModule (finalAttrs: {
sourceRoot = "${finalAttrs.src.name}/frontend";
npmDepsHash = "sha256-ykoyJtnqFK1fK60SbzrL7nhRcKYa3qYdHf9kFOC3EwE=";
npmDepsHash = "sha256-+KmNWKe5k/WuQL9B6XYZWDCLICyGWIg/vHLZr9T7SOc=";
npmFlags = [ "--legacy-peer-deps" ];
env.BUILD_OUTPUT_PATH = "dist";