Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.1] script/*: fix gpg usage wrt keyboxd #4316

Merged
merged 1 commit into from
Jun 11, 2024

Commits on Jun 9, 2024

  1. script/*: fix gpg usage wrt keyboxd

    I used script/keyring_validate.sh, which gave me this error:
    
    > [*] User cyphar in runc.keyring is not a maintainer!
    
    Apparently, when gnupg 2.4.1+ sees a fresh install (i.e. no ~/.gnupg
    directory), it configures itself to use keyboxd instead of keyring
    files, and when just silently ignores options like --keyring and
    --no-default-keyring, working with keyboxd all the time.
    
    The only way I found to make it not use keyboxd is to set --homedir.
    Let's do that when we explicitly want a separate keyring.
    
    Similar change is made to script/release_key.sh.
    
    Also, change "--import --import-options=show-only" to "--show-keys"
    which is a shortcut. When using this, there is no need to protect
    the default keyring since this command does not read or modify it.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    (cherry picked from commit 760105a)
    Signed-off-by: lifubang <[email protected]>
    kolyshkin authored and lifubang committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    0f7150a View commit details
    Browse the repository at this point in the history