Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • F fedora-crypto-policies
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redhat-crypto
  • fedora-crypto-policies
  • Issues
  • #40

Can't disable non-EtM MACs

Originally reported by @sej7278 in #38 (closed):

Its generally accepted that EtM is better than E&M, and whilst we prioritise EtM hmacs here, there is a missing else or indent I suppose, that would allow mac_map_etm without mac_map.

Steps to reproduce (doesn't have to be DEFAULT):

echo 'mac = -HMAC-SHA1 -HMAC-SHA2-256' > /etc/crypto-policies/policies/modules/HMAC.pod
update-crypto-policies --set DEFAULT:HMAC
sshd -T | grep hmac

Returns macs hmac-sha2-512-etm@openssh.com,hmac-sha2-512, whereas macs hmac-sha2-512-etm@openssh.com alone is a > perfectly valid configuration (and can be achieved manually by editing sshd_config).

Assignee
Assign to
Time tracking