mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
Enable the feature to chnage min pin length when a pin is defined
This commit is contained in:
@@ -15,6 +15,7 @@ let
|
||||
webkitgtk_4_1
|
||||
pcsclite
|
||||
hidapi
|
||||
mesa
|
||||
];
|
||||
|
||||
packages = with pkgs; [
|
||||
@@ -58,6 +59,10 @@ pkgs.mkShell {
|
||||
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH
|
||||
export XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS
|
||||
|
||||
# Try to uncomment the following lines if you encounter EGL_BAD_PARAMETER errors:
|
||||
# export LIBGL_ALWAYS_SOFTWARE=1
|
||||
# export WEBKIT_DISABLE_COMPOSITING_MODE=1
|
||||
|
||||
echo "Nix development environment loaded!"
|
||||
echo "Available tools: rustc, cargo, deno, node, tauri"
|
||||
'';
|
||||
|
||||
@@ -49,14 +49,14 @@
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between p-4 border rounded-lg opacity-60">
|
||||
<div class="flex items-center justify-between p-4 border rounded-lg">
|
||||
<div class="space-y-1">
|
||||
<p class="font-medium">Minimum PIN Length</p>
|
||||
<p class="text-sm text-muted-foreground">
|
||||
Current: {device.fidoInfo?.minPinLength || 4} characters
|
||||
</p>
|
||||
</div>
|
||||
<Button variant="outline" disabled={true}>Update Minimum Length</Button>
|
||||
<Button variant="outline" disabled={!device.fidoInfo?.options?.clientPin} onclick={() => state.openMinPinDialog()}>Update Minimum Length</Button>
|
||||
</div>
|
||||
</Card.Content>
|
||||
</Card.Root>
|
||||
|
||||
Reference in New Issue
Block a user