Compare commits

...

2 commits

Author SHA1 Message Date
tuxcoder 1030aa4946 update to 24.05 2024-06-22 13:18:17 +02:00
tuxcoder c2422030f8 flake.lock: Update
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)
2024-05-24 08:33:05 +02:00
3 changed files with 16 additions and 16 deletions

View file

@ -21,11 +21,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1701680307, "lastModified": 1710146030,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725", "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -37,11 +37,11 @@
"nix-node-package": { "nix-node-package": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1694372307, "lastModified": 1706303050,
"narHash": "sha256-18dhHWJfa0QB0fPsaYvRwGd86BVn6xMkN6mDmiDKack=", "narHash": "sha256-LCELgjzunxEsZQNRYJmVJ6FRVVurEsffed9aB8kPheE=",
"owner": "mkg20001", "owner": "mkg20001",
"repo": "nix-node-package", "repo": "nix-node-package",
"rev": "97ac59276f12f768062e4eb336fc77079d5fb6a0", "rev": "90f6ad8de81e3b75c2b0e6e3f9711bb094a5072b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -52,16 +52,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1703200384, "lastModified": 1718835956,
"narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=", "narHash": "sha256-wM9v2yIxClRYsGHut5vHICZTK7xdrUGfrLkXvSuv6s4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0b3d618173114c64ab666f557504d6982665d328", "rev": "dd457de7e08c6d06789b1f5b88fc9327f4d96309",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-23.11", "ref": "nixos-24.05",
"type": "indirect" "type": "indirect"
} }
}, },
@ -99,11 +99,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702764954, "lastModified": 1716159373,
"narHash": "sha256-+1z/0NJ/8c0d6Um1y9wpVO8CPXHd9/psOJF9GqFS/38=", "narHash": "sha256-3bO2jIWypYPzA9ezst55QyzIVErNt3tB+asi1ZJedPw=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "dcea3067863899ee23950670e7fed2a4feccc20e", "rev": "93f8a1b6a48e2b8f1daf784f7499a4651cac778c",
"revCount": 13, "revCount": 23,
"type": "git", "type": "git",
"url": "ssh://git@git.o-g.at/nixpkg/tuxpkgs.git" "url": "ssh://git@git.o-g.at/nixpkg/tuxpkgs.git"
}, },

View file

@ -1,7 +1,7 @@
{ {
description = "Lenticular cloud interface"; description = "Lenticular cloud interface";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11"; nixpkgs.url = "nixpkgs/nixos-24.05";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
flake-compat = { # for shell.nix flake-compat = { # for shell.nix
url = "github:edolstra/flake-compat"; url = "github:edolstra/flake-compat";

View file

@ -113,7 +113,7 @@ async def login() -> ResponseReturnValue:
options = webauthn.generate_authentication_options( options = webauthn.generate_authentication_options(
rp_id = public_url.hostname, rp_id = public_url.hostname,
user_verification = UserVerificationRequirement.REQUIRED, user_verification = UserVerificationRequirement.REQUIRED,
challenge=webauthn.helpers.generate_challenge(32) challenge=webauthn.helpers.generate_challenge()
) )
token = jwt.encode({ token = jwt.encode({
'challenge': b64encode(options.challenge).decode(), 'challenge': b64encode(options.challenge).decode(),