Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198205
| From | Carles Pina i Estany <carles@pina.cat> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: luks, crypttab: why 3 partition only 2 passphrases entered |
| Date | 2018-08-03 00:50 +0200 |
| Message-ID | <wiuzT-4qV-3@gated-at.bofh.it> (permalink) |
| References | <wi8g2-7zg-3@gated-at.bofh.it> <wiaBb-Hr-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On Aug/01/2018, David Christensen wrote: > On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: > > The question is: > > "Please unlock disk m2_root_crypt:" > > > > I expcted to write the password three times. > > Given your crypttab, above, I agree that you should have to enter three > passphrases. I've been investigating and I'm still puzzled. The findings can be resumed: a) If I boot the kernel with break=premount and then execute /scripts/local-top/cryptroot: I need to enter the passphrase three times as expected instead of two. Last one I see the prompt a bit different in bold (probably comes from systemd?). b) If I boot the kernel with the parameter "debug" and then I execute journalctl I can see: """ ago 02 23:30:05 pinux systemd-cryptsetup[498]: Added key to keyring as 604875905. """ And if I execute keyctl show: root@pinux:~# keyctl show Session Keyring 935647640 --alswrv 0 65534 keyring: _uid_ses.0 575581655 --alswrv 0 65534 \_ keyring: _uid.0 604875905 --alswrv 0 0 \_ user: cryptsetup root@pinux:~# If I wait a bit (more than 90 seconds was the default timeout?): root@pinux:~# keyctl show Session Keyring 935647640 --alswrv 0 65534 keyring: _uid_ses.0 575581655 --alswrv 0 65534 \_ keyring: _uid.0 root@pinux:~# But I thought that keyrings were only used by decrypt_keyctl in /etc/crypttab? where is this added? My initrd doesn't have keyctl installed. All of this might be a red herring... Any more ideas please let me know, -- Carles Pina i Estany Web: http://pinux.info || Blog: http://pintant.cat GPG Key 0x8CD5C157
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-02 01:00 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Matthew Crews <mailinglists@mattcrews.com> - 2018-08-02 03:10 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-02 09:20 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Jonathan Dowland <jmtd@debian.org> - 2018-08-07 13:20 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered David Christensen <dpchrist@holgerdanske.com> - 2018-08-02 03:30 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-02 09:10 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered David Christensen <dpchrist@holgerdanske.com> - 2018-08-04 19:30 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-04 22:10 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered David Christensen <dpchrist@holgerdanske.com> - 2018-08-05 00:20 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-05 00:50 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-03 00:50 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered deloptes <deloptes@gmail.com> - 2018-08-03 10:10 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-05 00:00 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Jonathan Dowland <jmtd@debian.org> - 2018-08-07 13:20 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Carles Pina i Estany <carles@pina.cat> - 2018-08-08 00:20 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Jonathan Dowland <jmtd@debian.org> - 2018-08-08 10:00 +0200
Re: luks, crypttab: why 3 partition only 2 passphrases entered Celejar <celejar@gmail.com> - 2018-08-08 14:10 +0200
csiph-web