<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=Achievo%2FHowto%2FUsers%2FYubikey_authentication</id>
	<title>Achievo/Howto/Users/Yubikey authentication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=Achievo%2FHowto%2FUsers%2FYubikey_authentication"/>
	<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=Achievo/Howto/Users/Yubikey_authentication&amp;action=history"/>
	<updated>2026-09-20T19:25:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://atk-framework.com/index.php?title=Achievo/Howto/Users/Yubikey_authentication&amp;diff=11021&amp;oldid=prev</id>
		<title>Sandy: Achievo/Howto/User/Yubikey authentication moved to Achievo/Howto/Users/Yubikey authentication</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=Achievo/Howto/Users/Yubikey_authentication&amp;diff=11021&amp;oldid=prev"/>
		<updated>2008-06-07T21:26:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/Achievo/Howto/User/Yubikey_authentication&quot; class=&quot;mw-redirect&quot; title=&quot;Achievo/Howto/User/Yubikey authentication&quot;&gt;Achievo/Howto/User/Yubikey authentication&lt;/a&gt; moved to &lt;a href=&quot;/Achievo/Howto/Users/Yubikey_authentication&quot; title=&quot;Achievo/Howto/Users/Yubikey authentication&quot;&gt;Achievo/Howto/Users/Yubikey authentication&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:26, 7 June 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Sandy</name></author>
	</entry>
	<entry>
		<id>https://atk-framework.com/index.php?title=Achievo/Howto/Users/Yubikey_authentication&amp;diff=10971&amp;oldid=prev</id>
		<title>Sandy: New page: {{Achievo_Howto|Easy|Sandy Pleyte &lt;sandy@achievo.org}}  This howto explains how you can turn on authenciation with [http://www.yubico.com/products/yubikey/ Yubikey].  &#039;&#039;&#039;Important:&#039;&#039;&#039; Only...</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=Achievo/Howto/Users/Yubikey_authentication&amp;diff=10971&amp;oldid=prev"/>
		<updated>2008-06-07T21:18:46Z</updated>

		<summary type="html">&lt;p&gt;New page: {{Achievo_Howto|Easy|Sandy Pleyte &amp;lt;sandy@achievo.org}}  This howto explains how you can turn on authenciation with [http://www.yubico.com/products/yubikey/ Yubikey].  &amp;#039;&amp;#039;&amp;#039;Important:&amp;#039;&amp;#039;&amp;#039; Only...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Achievo_Howto|Easy|Sandy Pleyte &amp;lt;sandy@achievo.org}}&lt;br /&gt;
&lt;br /&gt;
This howto explains how you can turn on authenciation with [http://www.yubico.com/products/yubikey/ Yubikey].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important:&amp;#039;&amp;#039;&amp;#039; Only the key itself is implemented now. For maximum security, you will need to add a password to the Yubikey to make it true multi-factor authentication.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Database ==&lt;br /&gt;
For enabling yubikey support we need to extend the table &amp;#039;person&amp;#039; with a field that can hold the yubikey. You can add the field with [http://www.phpmyadmin.net phpMyAdmin] or execute this query:&lt;br /&gt;
&lt;br /&gt;
  ALTER TABLE `person` ADD `yubikey` VARCHAR( 12 ) NULL ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
After changing the database you need to change some configuration settings in the config.inc.php file:&lt;br /&gt;
&lt;br /&gt;
   $config_authentication = &amp;quot;yubikey&amp;quot;; &lt;br /&gt;
 &lt;br /&gt;
   $config_auth_yubikey_id = &amp;lt;Yubico API ID&amp;gt;; &lt;br /&gt;
   $config_auth_yubikey_key = &amp;#039;&amp;lt;Yubico API key&amp;gt;&amp;#039;; &lt;br /&gt;
   $config_auth_yubikeyfield = &amp;#039;yubikey&amp;#039;; &lt;br /&gt;
 &lt;br /&gt;
== Alter the employee class ==  &lt;br /&gt;
In the employee class (modules/employee/class.employee.inc) search for the following lines:&lt;br /&gt;
&lt;br /&gt;
     if (in_array(&amp;quot;db&amp;quot;,explode(&amp;quot;,&amp;quot;,strtolower(atkconfig(&amp;#039;authentication&amp;#039;)))))&lt;br /&gt;
       $this-&amp;gt;addPasswordAttribute();&lt;br /&gt;
&lt;br /&gt;
And before these lines you need to add:&lt;br /&gt;
&lt;br /&gt;
  // If authentication method yubikey is active:&lt;br /&gt;
  if (in_array(&amp;quot;yubikey&amp;quot;,explode(&amp;quot;,&amp;quot;,strtolower(atkconfig(&amp;#039;authentication&amp;#039;)))))&lt;br /&gt;
    $this-&amp;gt;add(new atkAttribute(atkconfig(&amp;quot;auth_yubikeyfield&amp;quot;), AF_HIDE_LIST, 12));&lt;br /&gt;
&lt;br /&gt;
== Finalize ==&lt;br /&gt;
Now log in as a user that has the admin rights for employees and set a yubikey identity (the first 12 characters of any OTP from your device) for each Employee in the new &amp;quot;yubikey&amp;quot; field and you can authenticate using the [http://www.yubico.com/products/yubikey/ Yubikey].&lt;/div&gt;</summary>
		<author><name>Sandy</name></author>
	</entry>
</feed>