<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Yubikey on iMil.net</title>
    <link>http://imil.net/blog/tags/yubikey/</link>
    <description>Recent content in Yubikey on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 25 Apr 2020 16:27:52 +0200</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/yubikey/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Yubikey, Suspend and Restore</title>
      <link>http://imil.net/blog/posts/2020/yubikey-suspend-and-restore/</link>
      <pubDate>Sat, 25 Apr 2020 16:27:52 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2020/yubikey-suspend-and-restore/</guid>
      <description>&lt;p&gt;Another one of those quickies that can save you some time. When my &lt;em&gt;Linux&lt;/em&gt; laptop resumed from sleep, I was annoyed that &lt;a href=&#34;https://github.com/drduh/YubiKey-Guide&#34;&gt;DrDuh&amp;rsquo;s perfect Yubikey setup&lt;/a&gt; would throw me the following when I tried to &lt;em&gt;SSH&lt;/em&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sign_and_send_pubkey: signing failed: agent refused operation&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Seems like the key doesn&amp;rsquo;t like being put to sleep and woken up. Another annoyance, for some reason, also when waking up, laptop&amp;rsquo;s touchpad was disabled.&#xA;So I put this little script in &lt;code&gt;/lib/systemd/system-sleep&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
