From 34a0c7fc0c74bc0ca8ead92e689af3511001d21f Mon Sep 17 00:00:00 2001 From: buianhhuy96 Date: Fri, 13 Dec 2024 15:35:04 +0200 Subject: [PATCH] Update registration agent v1.1.0-2 - Add new environment ENCRYPTED_SECRETS and set to false Signed-off-by: Anh Huy Bui --- .../registration-agent/registration-agent-laptop.nix | 4 ++-- modules/registration-agent-laptop/default.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/custom-packages/registration-agent/registration-agent-laptop.nix b/modules/custom-packages/registration-agent/registration-agent-laptop.nix index 23a3749..46f3141 100644 --- a/modules/custom-packages/registration-agent/registration-agent-laptop.nix +++ b/modules/custom-packages/registration-agent/registration-agent-laptop.nix @@ -16,12 +16,12 @@ buildGo121Module { name = "registration-agent-laptop"; src = builtins.fetchGit { url = "git@github.com:tiiuae/registration-agent-laptop.git"; - rev = "2f904867b98c65d38561e2447183109a7c68ba0d"; + rev = "7a58d7017d97000b8d7748762ca921418e5cd3c8"; ref = "refs/heads/main"; }; tags = [ "prod" ]; patches = [./remove-test.patch]; - vendorSha256 = "sha256-9/twQyt6SVXWTRypt1FIWsRQxQEWFBkdi8eR+/xYNqg=="; + vendorSha256 = "sha256-tfGNLjWTHMNntPgGOwVHAzt6C89BLOMyo4UZrCJD9+M="; proxyVendor=true; diff --git a/modules/registration-agent-laptop/default.nix b/modules/registration-agent-laptop/default.nix index 94099d0..8c92566 100644 --- a/modules/registration-agent-laptop/default.nix +++ b/modules/registration-agent-laptop/default.nix @@ -85,6 +85,7 @@ in source = pkgs.writeTextDir ".env" '' AUTOMATIC_PROVISIONING=false TLS=true + ENCRYPTED_SECRETS=false PROVISIONING_URL= DEVICE_ALIAS= DEVICE_IDENTITY_FILE=${cfg.certs_path}/identity.txt