Skip to content
Snippets Groups Projects
C

cryptsetup

Project ID: 195655
Select Git revision
0 results Searching
  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Ondrej Kozina's avatar
    Ondrej Kozina authored
    The test was wrongly expecting results based on a mistake
    in keyring utilities. The internal function extracting
    volume key from kernel keyring was by mistake returning
    -ENOENT (error code internaly used to signal the keyslot
    context can not be used for unlocking key) even though
    the kernel key was in fact unreachable and therefor
    the volume key could not be read.
    
    In short never expect device activation will pass
    when one of passed keyslot contexts is invalid. The fact
    that sometimes only one keyslot context is needed and
    the invalid second context should not be needed is not
    good practice.
    ca7c4c8b
    History
    Name Last commit Last update