User Tools

Site Tools


docs:tips_n_tricks:luks.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:luks.html [03.04.2022 21:36 CEST] – [Change default answer to LUKS password question (e.g.) in Thunar] peterdocs:tips_n_tricks:luks.html [21.08.2022 19:06 CEST] (current) – [Resize an encrypted LV managed by cryptsetup] peter
Line 39: Line 39:
 {{entry>resize2fs}} {{entry>resize2fs}}
 {{tag>Linux LVM LUKS cryptsetup resize2fs}} {{tag>Linux LVM LUKS cryptsetup resize2fs}}
 +===== Prepare for low memory systems =====
 +
 +Get current memory need:
 +
 +  cryptsetup luksDump /dev/<device> | fgrep Memory
 +
 +Set new memory need:
 +
 +  cryptsetup luksConvertKey --key-file /path/to/keyfile --pbkdf-memory=10240 /dev/<device>
 +
 +__References__:
 +
 +  * https://unix.stackexchange.com/a/687497
 ===== Gnome Keyring ===== ===== Gnome Keyring =====
 //Not exactly LUKS related, but shows up in the context// //Not exactly LUKS related, but shows up in the context//
Line 52: Line 65:
   * https://askubuntu.com/questions/509906/is-it-possible-to-make-forget-password-immediately-the-default-when-opening-lu   * https://askubuntu.com/questions/509906/is-it-possible-to-make-forget-password-immediately-the-default-when-opening-lu
   * https://bugzilla.gnome.org/show_bug.cgi?id=587909 (from https://superuser.com/questions/1625494/how-to-default-nemo-to-forget-luks-password)   * https://bugzilla.gnome.org/show_bug.cgi?id=587909 (from https://superuser.com/questions/1625494/how-to-default-nemo-to-forget-luks-password)
 +
 +==== List all available secrets ====
 +//Um .. aeh ... really 8-O//
 +
 +  apt install libsecret-1-dev
 +  git clone https://gitlab.com/GrantMoyer/lssecret.git
 +  cd lssecret
 +  make
 +  DESTDIR=/usr/local/lssecret make install
 +  ln -s ../lssecret/bin/lssecret /usr/local/bin
 +  lssecret -s
 +  
 +References:
 +
 +  * https://gitlab.gnome.org/GNOME/libsecret/-/issues/29
 +  * https://gitlab.com/GrantMoyer/lssecret
 +
docs/tips_n_tricks/luks.html.1649014598.txt.gz · Last modified: 03.04.2022 21:36 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki