Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198275
| 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-05 00:50 +0200 |
| Message-ID | <wjdwZ-6qB-5@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <wiaBb-Hr-3@gated-at.bofh.it> <wifUe-4d5-5@gated-at.bofh.it> <wj8xj-3oX-1@gated-at.bofh.it> <wjb29-51E-3@gated-at.bofh.it> <wjd3X-6fu-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
On Aug/04/2018, David Christensen wrote:
> On 08/04/2018 02:54 PM, Carles Pina i Estany wrote:
> > And I'm now 99% sure that the culprit of all this confusion is...
> > plymouth! It has a password caching facility and systemd seems to use
> > it to get the cached password.
>
> You seem to have found complexities above dm-crypt. I know very little
> about systemd or the various desktop environments, so I'll wish you good
> luck in pursuing answers to your questions.
I've just confirmed it. In plymouth, file src/ply-boot-server.c, I've
added the ply_trace line:
ply_buffer_append_bytes (buffer,
password,
strlen (password) + 1);
ply_trace("Carles password: %s", password);
Then I can see in the Debug logs the previously entered passwords when systemd
requests them (which then systemd uses them to decypher the partition and add
the correct one in the Linux keyring, etc. etc.).
Thanks for all the help and checks,
--
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