Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #264441
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | cen <imbacen@gmail.com> |
| Newsgroups | linux.debian.user |
| Subject | zfs load-key on boot randomly reports wrong password if I type too fast |
| Date | Fri, 08 Dec 2023 21:30:01 +0100 |
| Message-ID | <HIPDX-ceLd-9@gated-at.bofh.it> (permalink) |
| X-Original-To | Debian Users <debian-user@lists.debian.org> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Fri Dec 8 20:22:44 2023 |
| Old-Return-Path | <imbacen@gmail.com> |
| X-Amavis-Spam-Status | No, score=-5.209 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Gm-Message-State | AOJu0YyDA8duuCKVQ0BKOIqMJICXLGyjqsdcgS1ShYKVctbKJWh7LI4T 4PbOQsim4Hi0pvL0WANv63sAd0tdXNk= |
| X-Google-SMTP-Source | AGHT+IE3vAbFZ8IUgnFdPNh+WrGwTJMESnDAF2ge8nsXC539djYtVHfUa8zM74xQtB8q8CKcliFwqQ== |
| X-Received | by 2002:a05:600c:3d8b:b0:40b:5e4a:406b with SMTP id bi11-20020a05600c3d8b00b0040b5e4a406bmr249998wmb.139.1702066944418; Fri, 08 Dec 2023 12:22:24 -0800 (PST) |
| Content-Type | multipart/alternative; boundary="------------TVYGJ3b30I4MujD9HFEpgb0O" |
| MIME-Version | 1.0 |
| User-Agent | Mozilla Thunderbird |
| Content-Language | en-US |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/806234 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/b9a9051f-81bb-44ab-ad17-27b3a33d836c@gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 113 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 8 Dec 2023 21:22:23 +0100 |
| X-Original-Message-ID | <b9a9051f-81bb-44ab-ad17-27b3a33d836c@gmail.com> |
| Xref | csiph.com linux.debian.user:264441 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi I have an encrypted ZFS volume which I unlock at boot time using this systemd service: [Unit] DefaultDependencies=no After=zfs-import.target Before=zfs-mount.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/zfs load-key -a StandardInput=tty-force [Install] WantedBy=zfs-mount.service I have a very weird issue that.. if I type too fast the password is wrong. I know this sounds weird but it's true.. I can type the same password fast and it is wrong, then I type it very slowly the third time and it works. I feel like it must be some weird thing with the boot terminal input rate or key detection but I have no clue where to start looking. Unfortunately the prompt has no *** char masking so I am not even sure if keys are being registered or what is happening below. I also have encrypted boot drive which unlocks first but that terminal looks different and has no issues. I also tried a few other ways to load but I can't get either to work: #ExecStart=/usr/bin/bash -c 'systemd-ask-password "ZFS password" --no-tty | zfs load-key -a' #ExecStart=plymouth ask-for-password --prompt="Password for zfs" --number-of-tries=5 --command="/usr/sbin/zfs load-key -a" Any clues welcome
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
zfs load-key on boot randomly reports wrong password if I type too fast cen <imbacen@gmail.com> - 2023-12-08 21:30 +0100
Re: zfs load-key on boot randomly reports wrong password if I type too fast David <bouncingcats@gmail.com> - 2023-12-08 22:00 +0100
Re: zfs load-key on boot randomly reports wrong password if I type too fast cen <imbacen@gmail.com> - 2023-12-11 22:00 +0100
Re: zfs load-key on boot randomly reports wrong password if I type too fast David Wright <deblis@lionunicorn.co.uk> - 2023-12-08 22:20 +0100
csiph-web