Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
Call show-provides with sudo
(MEN-8382) (f92cc16) by @michalkopczan
Add validation rules for validating string parameters
(MEN-8513) (ddd821f) by @alfrunes
Artifact name and group must no more than 256 characters and contain
printable characters. Only characters from the following Unicode
categories are allowed: L, M, N, P, S and ASCII white space.
Creating artifact violating these conditions will result in an error.
Reading an existing artifact will print a warning.
Mender-artifact hangs when ssh connection fails silently
(MEN-8429) (9db4a2b) by @michalkopczan
Mender-artifact does not reenable echo on ssh error
(MEN-8428) (15921d6) by @michalkopczan
Original idea was to handle reenabling echo thanks to EchoSigHandler, but it was failing sometimes.
The issue was that EchoSigHandler, when finishing its execution, sends an error to errChan. We need
to wait on errChan until we get something on it - meaning that the EchoSigHandler finished,
and we can safely exit the application.
However, before my changes, if there was an error returned before reaching
if s.sigChan != nil { signal.Stop(s.sigChan) s.cancel() if err := <-s.errChan; err != nil { return err } }
So, for example, here:
_, err = recvSnapshot(f, command.Stdout) if err != nil { _ = command.Cmd.Process.Kill() return "", err }
Then we never waitied on errChan. Application was closed, EchoSigHandler never got the chance to
reenable echo (sometimes it did, sometimes it didn't), and we were left with echo disabled.
Adding a separate function that waits for errChan, and deferring it, we have the problem solved.
Split token into fixed number of parts
(SEC-1676) (0cce29b) by @lluiscampos
Fixes CVE-2025-22868. Fix ported from
https://go-review.googlesource.com/c/oauth2/+/652155
Documentation
(MEN-8588) (879f89d) by @michalkopczan
View the full release notes at https://github.com/mendersoftware/mender-artifact/releases/tag/4.1.1.