Commit graph

1249 commits

Author SHA1 Message Date
pjcreath
64def39282 Add changelog. 2023-05-15 20:46:34 +00:00
jeanluc
7ca76a8bea Rename changelog files to .md 2023-05-15 20:45:48 +00:00
jeanluc
0873ece26c Add match runner 2023-05-15 20:45:48 +00:00
jeanluc
4d617dd44a
Add signed_by_[any|all] parameters to gpg.verify (#63168)
* Add test for issue 63145

* Make gpg.verify respect gnupghome

* Add `signed_by_any`/`signed_by_all` params to gpg.verify

* Reconsider status check

* Fix tests

* Plug verification issue after status check reconsideration

Since missing pubkeys also cause the previous signature's
fingerprint to be overwritten, this would have led to
situations where the check could have passed when it
should not have.

* Cleanup logic

* Workaround python-gnupg issue

https://github.com/vsajip/python-gnupg/issues/214

* Adapt offical fix for workaround

ee94a7ecc1
That was very fast.

* Backport more meaningful test

* Update versionadded

* Avoid exception on import w/ missing gnupg lib

* Do not apply workaround on fixed versions

* Correct bool comparison

* Account for subkeys

sig_info["fingerprint"] contains the actual signing key's fingerprint,
which might be a subkey. The primary key's fingerprint is always found in
sig_info["pubkey_fingerprint"]. In cases where a signing subkey was
used, the intended behavior is still comparison with the primary key.

* Bump versionadded

* Rename changelog files to .md
2023-05-09 13:24:48 -06:00
Pedro Algarvio
dfa273bc5e
Merge 3006.x into master 2023-05-06 08:37:41 +01:00
Salt Project Packaging
4e8b77df67
Release v3006.1 2023-05-05 17:53:34 +00:00
Pedro Algarvio
6531a388ab Bump to relenv 0.12.3
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Daniel A. Wozniak
ac906c49f8 Update relenv version to 0.12.0 2023-05-05 10:11:18 +01:00
Pedro Algarvio
3584921fc6 Add a .pth to the onedir env to ensure packages in extras are importable
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
42d3eaa6e6 HTTPS is also valid. Switch to parametrized test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-04 10:32:13 +01:00
cmcmarrow
841f5ca18a change log 2023-05-04 10:32:13 +01:00
Twangboy
66e085740c make lgpo_reg enforce registry changes 2023-05-03 20:51:28 -07:00
Daniel A. Wozniak
58b6f8c369 Add changelog for #64204 2023-05-03 16:42:19 -07:00
Daniel A. Wozniak
3365a55c56 Update changelog entry 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
28d87c1333 Add chahgelogs for #64141 and #64158 2023-05-03 12:35:08 -07:00
Pedro Algarvio
87074deea0 Stop using the deprecated salt.transport.client imports.
Fixes #64186

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-03 08:24:36 +01:00
Shea Craig
4fc4450bf0
[master] Fix issue 63779: Handle xattr.read unicode errors by mimicking builtin xattr (#64039)
* Handle xattr.read unicode errors by mimicking builtin xattr.

Uses `bytes.decode` argument `errors="replace"`

* Add changelog

* Add newline

* Add test for xattr.read and non-UTF-8 bytes.

* Fix line break
2023-05-02 18:32:51 -07:00
Charles McMarrow
bae0321af9
[3006.x] saltutil.refresh_grains(clean_pillar_cache=False) (#64176)
* flacky jail most have label

* add clean_pillar_cache arg

* add docs

* Revert "flacky jail most have label"

This reverts commit 0888b84fd0.

* add clean pillar cache refresh util

* dont clear unless refresh_pillar

* tests

* changelong
2023-05-02 18:18:48 -07:00
Gareth J. Greenaway
6a859de92a fixing the changelog files. 2023-05-02 19:57:38 +00:00
Gareth J. Greenaway
dae7ccb7df Adding changelog files 2023-05-02 19:57:38 +00:00
Twangboy
8a1a0577aa Add changelog 2023-05-02 08:22:37 -07:00
nicholasmhughes
8f0f4f1d3b fixes saltstack/salt#64122 state_queue type checking does not allow int values 2023-05-02 07:14:09 +01:00
MKLeb
6b926b70e8 changelog 2023-05-01 18:16:13 -07:00
Twangboy
3448a6c990 Add support for test=True to file.cached 2023-04-29 09:18:30 +01:00
Gareth J. Greenaway
34f2ed4b4e Check that the return data from the cloud create function is a dictionary before attempting to pull values out. 2023-04-29 09:15:52 +01:00
Pedro Algarvio
6766db4114 Add test case to assert that salt.client.ssh.SSH.fsclient.destroy() is called.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 14:35:17 +00:00
Pedro Algarvio
dbc2158646 Add missing changelog entries for the work done in #64113
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 14:35:17 +00:00
Pedro Algarvio
c33b56281b
Merge 3006.x into master
Conflicts:
* doc/ref/configuration/minion.rst
2023-04-28 10:20:04 +01:00
Pedro Algarvio
1a63beb506 Add changelog file
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
MKLeb
89c858b854 changelog 2023-04-27 21:27:50 +01:00
Thomas Phipps
a099e92bdc fix #63589 2023-04-27 21:19:48 +01:00
Twangboy
54be72064d Don't fail when registry.pol missing 2023-04-27 09:28:25 +01:00
Twangboy
4d52af1336 Join masters if it is a list 2023-04-27 09:25:45 +01:00
nicholasmhughes
98ecf8d45c fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode 2023-04-27 09:20:59 +01:00
David Murphy
fdf905da6b Updated changelog to reflect reviewer changes 2023-04-26 09:50:47 -07:00
David Murphy
25e9a5c706 Updated check and return if obj.value() if dict else empty dictionary 2023-04-26 09:50:47 -07:00
David Murphy
8c60ddb291 Updated as per reviewers comments 2023-04-26 09:50:47 -07:00
David Murphy
a1f54d9f27 Check NamedLoaderContext obj is not None, before creating a dictionary 2023-04-26 09:50:47 -07:00
Thomas Phipps
196023a086 fix #64082 2023-04-26 13:03:55 +01:00
Charles McMarrow
f0df597691
Merge branch '3006.x' into pick_nichol_cmd_fix 2023-04-25 21:52:58 -05:00
nicholasmhughes
62e438a4b6 fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode 2023-04-25 21:47:40 -05:00
cmcmarrow
13437829fc Merge remote-tracking branch 'upstream/3006.x' into merge-forward/3006.x/master 2023-04-20 17:39:55 -05:00
Megan Wilhite
b35db04826 Fix setup.py called with salt args 2023-04-20 13:39:44 +00:00
Salt Project Packaging
86bb64dde2
Release v3006.0 2023-04-18 21:05:02 +00:00
MKLeb
5c7c1396f2 Revert "Release v3006.0"
This reverts commit e5209410c3.
2023-04-18 13:43:28 -07:00
Salt Project Packaging
e5209410c3
Release v3006.0 2023-04-18 16:28:01 +00:00
Charles McMarrow
8dc6dd61d2
[3006.x] rebase test labels (#64053)
* changelog

* add actions

* add tools

* typo

* add some debug

* pulls vs push

* fire on pullr only

* test port part 1

* part 2

* part 3

* part 4

* fix double run slow

* clean up

* update types

* reg workflow

* reg workflow
2023-04-15 18:19:58 -07:00
Daniel A. Wozniak
58b02266de Add docs and changelog for #63747 2023-04-13 12:30:40 +01:00
Shea Craig
b8a55ee873 Add changelog 2023-04-12 19:03:52 -07:00
Thomas Phipps
a367d6a49e add changelog 2023-04-12 12:31:57 -07:00