# Issue with key verification using Directory Update Module

**URL:** <https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074>\
**Category:** General Discussions\
**Created:** [May 31, 2019, 1:47pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074 "2019-05-31T13:47:23Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![mterwoord](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mterwoord/32/100_2.png) [@mterwoord](https://hub.mender.io/u/mterwoord)\
**Post date:** [June 18, 2019, 1:29pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/21 "2019-06-18T13:29:47Z")

</div>

Is there a way to have my yocto build include mender-artifact? To see if I have settings wrong somewhere?

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [June 18, 2019, 1:43pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/22 "2019-06-18T13:43:48Z")

</div>

To include it on target? You otherwise have the tool somewhere in the build directory as part of your generated host rootfs.

To install on target just add the following in e.g local.conf,

```auto
IMAGE_INSTALL_append = "mender-artifact"

```

---

<div class="post-metadata">

**Author:** ![mterwoord](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mterwoord/32/100_2.png) [@mterwoord](https://hub.mender.io/u/mterwoord)\
**Post date:** [June 18, 2019, 2:19pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/23 "2019-06-18T14:19:13Z")

</div>

When I do that, my yocto build errors on the mender-artifact-3.0.0-r0 do\_install step. It seems it cnanot find mender-artifact binary.

Maybe I shuld clear out my cache and rebuild things?

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [June 19, 2019, 7:44am UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/24 "2019-06-19T07:44:20Z")

</div>

Maybe you can start a different topic with more details about the error. I have never actually tried installing on target and is not a “normal case”, and might be something in the recipe that needs updating.

---

<div class="post-metadata">

**Author:** ![mterwoord](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mterwoord/32/100_2.png) [@mterwoord](https://hub.mender.io/u/mterwoord)\
**Post date:** [June 28, 2019, 3:47pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/25 "2019-06-28T15:47:55Z")

</div>

I feel like an idiot now.

Somehow I was using the wrong private key for signing my directory artifact.

It works like a charm now!

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [June 28, 2019, 6:37pm UTC](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074/26 "2019-06-28T18:37:14Z")

</div>

> [@Directory](https://hub.mender.io/t/directory/325/32):
>
> It works like a charm now!

Thanks for the update

[Previous page](https://hub.mender.io/t/issue-with-key-verification-using-directory-update-module/1074.md?page=1)
