# "Button press required" requires 3 presses

**URL:** <https://onlykey.discourse.group/t/button-press-required-requires-3-presses/530>\
**Category:** SSH, OpenPGP, GPG\
**Created:** [October 13, 2021, 4:59am UTC](https://onlykey.discourse.group/t/button-press-required-requires-3-presses/530 "2021-10-13T04:59:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaron](https://avatars.discourse-cdn.com/v4/letter/y/53a042/32.png) [@Yaron](https://onlykey.discourse.group/u/Yaron)\
**Post date:** [October 13, 2021, 4:59am UTC](https://onlykey.discourse.group/t/button-press-required-requires-3-presses/530/1 "2021-10-13T04:59:32Z")

</div>

I am using onlykey for the first time with GPG. In particular I’m using it with duplicity. Since duplicity is a GPG app I set the “Derived Key user Input Mode” to button press required because duplicity didn’t have the ability to show me a challenge code. But what I noticed is that when I hit return on the pass phrase and onlykey turns purple I have to hit the same button 3 times for things to work. I was expecting based on the docs that once I switched to “Button Press Required” mode I would only have to hit one key.

Also which button I press seems to matter. I just did tests where:

1. Three 1s worked
2. Hit 2 twice and then the duplicity returned an error while onlykey still showed purple
3. Hit 2 3 times and it worked (go figure)
4. Hit 3 4s and that worked
5. Hit 1 and then 2 and 3, that errored out

And so on. Basically it seems that I have to hit the same key (doesn’t seem to necessarily matter which one) 3 times.

But shouldn’t it be once?

Thanks.

---

<div class="post-metadata">

**Author:** ![t11](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@t11](https://onlykey.discourse.group/u/t11)\
**Post date:** [October 13, 2021, 4:42pm UTC](https://onlykey.discourse.group/t/button-press-required-requires-3-presses/530/2 "2021-10-13T16:42:18Z")

</div>

Yes, it should be once, press any button one time to authorize. Is it possible that duplicity is sending OnlyKey three sign requests? Each would require a button press. Can you test running this command:

echo “Hello World” | gpg2 --sign

This should flash purple and require one press.
