Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • extract-cert.c
Find file BlameHistoryPermalink
  • David Woodhouse's avatar
    extract-cert: Cope with multiple X.509 certificates in a single file · 84706caa
    David Woodhouse authored Jul 20, 2015
    
    
    This is not required for the module signing key, although it doesn't do any
    harm — it just means that any additional certs in the PEM file are also
    trusted by the kernel.
    
    But it does allow us to use the extract-cert tool for processing the extra
    certs from CONFIG_SYSTEM_TRUSTED_KEYS, instead of that horrid awk|base64
    hack.
    
    Also cope with being invoked with no input file, creating an empty output
    file as a result.
    
    Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    84706caa
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7