Skip to content

Improve Documentation for minion_sign_messages configuration #52143

Closed as not planned

Description

@Church-

Description of Issue/Question

When turning on pub key signing for master and minions, the minion will execute the sent commands or apply sent states, however it fails to send a response back to the master correctly causing the master to return "Minion did not return. [No response]."

Setup

Master-config:
master_sign_pubkey: True
sign_pub_messages: True
require_minion_sign_messages: True
drop_messages_signature_fail: True


Minion-config:
verify_master_pubkey_sign: True
always_verify_signature: True
master_sign_key_name: master_sign

Steps to Reproduce Issue

Set the needed options in your master and minion configs and copy over the master_sign.pub key over from /etc/salt/pki/master/ on the master to /etc/salt/pki/minion/ on the minion before restarting both and trying to test a command.

Versions Report

Salt Version:
Salt: 2019.2.0

Dependency Versions:
cffi: 1.12.1
cherrypy: 2.3.0
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.3
gitpython: 2.1.8
ioflo: Not Installed
Jinja2: 2.10
libgit2: 0.26.0
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.7
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.17
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.26.2
Python: 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
python-gnupg: 0.4.1
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: Not Installed
smmap: 2.0.3
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.5

System Versions:
dist: Ubuntu 18.04 bionic
locale: UTF-8
machine: x86_64
release: 4.15.0-43-generic
system: Linux
version: Ubuntu 18.04 bionic

Activity

  1. Ch3LL commented on Mar 14, 2019

    @Ch3LL
    Contributor

    You need to set minion_sign_messages: True so your minions are signing messages since you are requiring this with: require_minion_sign_messages: True

    I tested this with your settings and after adding minion_sign_messages it worked.

  2. added
    needs-more-info
    on Mar 14, 2019
  3. added this to the Blocked milestone on Mar 14, 2019
  4. Church- commented on Mar 15, 2019

    @Church-
    Author

    Yeah that fixed it fully, thanks! Guess I must've missed it while reading the pki tutorial.

  5. Gunni commented on Aug 3, 2019

    @Gunni

    minion_sign_messages is missing from the default minion config file, maybe add it?

    And or add a reference to the master config file that it needs to be set?

    I had to google around until i found this ticket to get this working.

  6. reopened this on Aug 13, 2019
  7. Ch3LL commented on Aug 13, 2019

    @Ch3LL
    Contributor

    I went ahead and re-opened this and will label as a Documentation bug so we can improve here. Thanks @Gunni

  8. added
    bug
    documentation
    severity-low
    P4
    and removed
    needs-more-info
    on Aug 13, 2019
  9. modified the milestones: Blocked, Approved on Aug 13, 2019
  10. 7 remaining items

  11. dwoz commented on Oct 15, 2026

    @dwoz
    Contributor

    Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.

    Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.

    If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.

  12. dwoz commented on Oct 17, 2026

    @dwoz
    Contributor

    Reopening — there is an open PR tracking a fix for this: #69554.

  13. reopened this on Oct 17, 2026
  14. dwoz commented on Oct 24, 2026

    @dwoz
    Contributor

    Closing as part of a backlog cleanup — this bug was reported against a version that is no longer supported (pre-3005). The underlying code has moved through several major releases since, and in many cases been rewritten or extracted into a saltext extension.

    If you can still reproduce this on 3006.x LTS or 3008.x LTS, please comment with:

    • A fresh reproduction
    • The output of salt --versions-report

    and a maintainer will reopen. The original reporter can also reopen directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Confirmedbugdocumentationseverity-lowtime-estimate-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions