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 [17.12.2015 11:45 CET] – [Resize an encrypted LV managed by cryptsetup] 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 =====
 +//Not exactly LUKS related, but shows up in the context//
 +==== Reset LUKS password accidently stored "forever" ====
 +  gnome-keyring-daemon -r
 +Reference:
 +  * https://askubuntu.com/questions/1059797/ubuntu-16-04-encrypted-usb-disk-key-not-showing-up-in-seahorse
 +==== Change default answer to LUKS password question (e.g.) in Thunar ====
 +
 +Reference article seems to be out of date.
 +
 +Reference
 +  * 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)
 +
 +==== 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.1450349144.txt.gz · Last modified: 17.12.2015 11:45 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki