From c2422030f88471f1d79905e5183752cbb1a5a4a9 Mon Sep 17 00:00:00 2001 From: tuxcoder Date: Fri, 24 May 2024 08:33:05 +0200 Subject: [PATCH 1/2] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'nix-node-package': 'github:mkg20001/nix-node-package/97ac59276f12f768062e4eb336fc77079d5fb6a0' (2023-09-10) → 'github:mkg20001/nix-node-package/90f6ad8de81e3b75c2b0e6e3f9711bb094a5072b' (2024-01-26) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0b3d618173114c64ab666f557504d6982665d328' (2023-12-21) → 'github:NixOS/nixpkgs/46397778ef1f73414b03ed553a3368f0e7e33c2f' (2024-05-22) • Updated input 'tuxpkgs': 'git+ssh://git@git.o-g.at/nixpkg/tuxpkgs.git?ref=refs/heads/master&rev=dcea3067863899ee23950670e7fed2a4feccc20e' (2023-12-16) → 'git+ssh://git@git.o-g.at/nixpkg/tuxpkgs.git?ref=refs/heads/master&rev=93f8a1b6a48e2b8f1daf784f7499a4651cac778c' (2024-05-19) --- flake.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 094a98d..8b88a15 100644 --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -37,11 +37,11 @@ "nix-node-package": { "flake": false, "locked": { - "lastModified": 1694372307, - "narHash": "sha256-18dhHWJfa0QB0fPsaYvRwGd86BVn6xMkN6mDmiDKack=", + "lastModified": 1706303050, + "narHash": "sha256-LCELgjzunxEsZQNRYJmVJ6FRVVurEsffed9aB8kPheE=", "owner": "mkg20001", "repo": "nix-node-package", - "rev": "97ac59276f12f768062e4eb336fc77079d5fb6a0", + "rev": "90f6ad8de81e3b75c2b0e6e3f9711bb094a5072b", "type": "github" }, "original": { @@ -52,11 +52,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1703200384, - "narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=", + "lastModified": 1716361217, + "narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0b3d618173114c64ab666f557504d6982665d328", + "rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f", "type": "github" }, "original": { @@ -99,11 +99,11 @@ ] }, "locked": { - "lastModified": 1702764954, - "narHash": "sha256-+1z/0NJ/8c0d6Um1y9wpVO8CPXHd9/psOJF9GqFS/38=", + "lastModified": 1716159373, + "narHash": "sha256-3bO2jIWypYPzA9ezst55QyzIVErNt3tB+asi1ZJedPw=", "ref": "refs/heads/master", - "rev": "dcea3067863899ee23950670e7fed2a4feccc20e", - "revCount": 13, + "rev": "93f8a1b6a48e2b8f1daf784f7499a4651cac778c", + "revCount": 23, "type": "git", "url": "ssh://git@git.o-g.at/nixpkg/tuxpkgs.git" }, From 1030aa4946b91c4a28a4da2eca2903f867aef882 Mon Sep 17 00:00:00 2001 From: tuxcoder Date: Sat, 22 Jun 2024 13:18:17 +0200 Subject: [PATCH 2/2] update to 24.05 --- flake.lock | 8 ++++---- flake.nix | 2 +- lenticular_cloud/views/auth.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 8b88a15..32c4dd7 100644 --- a/flake.lock +++ b/flake.lock @@ -52,16 +52,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1716361217, - "narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=", + "lastModified": 1718835956, + "narHash": "sha256-wM9v2yIxClRYsGHut5vHICZTK7xdrUGfrLkXvSuv6s4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f", + "rev": "dd457de7e08c6d06789b1f5b88fc9327f4d96309", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-23.11", + "ref": "nixos-24.05", "type": "indirect" } }, diff --git a/flake.nix b/flake.nix index f0e0199..478e95b 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "Lenticular cloud interface"; inputs = { - nixpkgs.url = "nixpkgs/nixos-23.11"; + nixpkgs.url = "nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils"; flake-compat = { # for shell.nix url = "github:edolstra/flake-compat"; diff --git a/lenticular_cloud/views/auth.py b/lenticular_cloud/views/auth.py index 160aadd..2752d5b 100644 --- a/lenticular_cloud/views/auth.py +++ b/lenticular_cloud/views/auth.py @@ -113,7 +113,7 @@ async def login() -> ResponseReturnValue: options = webauthn.generate_authentication_options( rp_id = public_url.hostname, user_verification = UserVerificationRequirement.REQUIRED, - challenge=webauthn.helpers.generate_challenge(32) + challenge=webauthn.helpers.generate_challenge() ) token = jwt.encode({ 'challenge': b64encode(options.challenge).decode(),