# Mender artifact signing

**URL:** <https://hub.mender.io/t/mender-artifact-signing/1324>\
**Category:** General Discussions\
**Tags:** yocto, nxp\
**Created:** [December 5, 2019, 4:26am UTC](https://hub.mender.io/t/mender-artifact-signing/1324 "2019-12-05T04:26:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![itzSatz](https://avatars.discourse-cdn.com/v4/letter/i/65b543/32.png) [@itzSatz](https://hub.mender.io/u/itzSatz)\
**Post date:** [December 5, 2019, 4:26am UTC](https://hub.mender.io/t/mender-artifact-signing/1324/1 "2019-12-05T04:26:39Z")

</div>

If the mender artifact was signed with the wrong key, the mender application executing the states (fetch - install - verification failed - install Retry states) ten times. Is it any configuration to avoid this execution multiple times if the mender artifact signature is not a valid one

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [December 5, 2019, 8:13am UTC](https://hub.mender.io/t/mender-artifact-signing/1324/2 "2019-12-05T08:13:13Z")

</div>

Unfortunately at the moment there isn’t. This area could be improved, but Mender doesn’t treat errors differently, so all errors lead to retrying.

---

<div class="post-metadata">

**Author:** ![itzSatz](https://avatars.discourse-cdn.com/v4/letter/i/65b543/32.png) [@itzSatz](https://hub.mender.io/u/itzSatz)\
**Post date:** [December 18, 2019, 4:54am UTC](https://hub.mender.io/t/mender-artifact-signing/1324/3 "2019-12-18T04:54:47Z")

</div>

Thanks a lot
