a4d0c4 cryptsetup: Add LUKS2 token support.

1 file Authored by Milan Broz 4 years ago, Committed by Packit Service 4 years ago,
    cryptsetup: Add LUKS2 token support.
    
    LUKS2 supports so-called tokens. The libcryptsetup internally
    support keyring token (it tries to open device using specified
    keyring entry).
    Only if all token fails (or are not available), it uses a passphrase.
    
    This patch aligns the functionality with the cryptsetup utility
    (cryptsetup luksOpen tries tokens first) but does not replace
    the systemd native ask-password function (can be used the same in
    combination with this patch).
    
    (cherry picked from commit 894bb3ca4c730cc9e9d46ef5004ba4ca5e201d8d)
    
    Resolves: #1719153
    
    patch_name: 0206-cryptsetup-Add-LUKS2-token-support.patch
    present_in_specfile: true
    location_in_specfile: 206
    squash_commits: true
    
        
file modified
+12 -0