YubikeyManagement.php
changeset 3 6edb31919f0e
parent 2 bbdd428926b9
child 4 9fdc988ce46e
equal deleted inserted replaced
2:bbdd428926b9 3:6edb31919f0e
    31 require(ENANO_ROOT . '/plugins/yms/libotp.php');
    31 require(ENANO_ROOT . '/plugins/yms/libotp.php');
    32 require(ENANO_ROOT . '/plugins/yms/transcode.php');
    32 require(ENANO_ROOT . '/plugins/yms/transcode.php');
    33 require(ENANO_ROOT . '/plugins/yms/backend.php');
    33 require(ENANO_ROOT . '/plugins/yms/backend.php');
    34 require(ENANO_ROOT . '/plugins/yms/validate.php');
    34 require(ENANO_ROOT . '/plugins/yms/validate.php');
    35 require(ENANO_ROOT . '/plugins/yms/validate-functions.php');
    35 require(ENANO_ROOT . '/plugins/yms/validate-functions.php');
       
    36 require(ENANO_ROOT . '/plugins/yms/admincp.php');
    36 
    37 
    37 /**!language**
    38 /**!language**
    38 
    39 
    39 The following text up to the closing comment tag is JSON language data.
    40 The following text up to the closing comment tag is JSON language data.
    40 It is not PHP code but your editor or IDE may highlight it as such. This
    41 It is not PHP code but your editor or IDE may highlight it as such. This
   160         btn_note_view: 'View or edit note',
   161         btn_note_view: 'View or edit note',
   161         btn_note_create: 'No note; click to create',
   162         btn_note_create: 'No note; click to create',
   162         btn_delete_key: 'Delete key',
   163         btn_delete_key: 'Delete key',
   163         btn_show_aes: 'Show AES secret',
   164         btn_show_aes: 'Show AES secret',
   164         btn_show_converter: 'Binary encoding converter',
   165         btn_show_converter: 'Binary encoding converter',
   165         btn_show_client_info: 'View client info'
   166         btn_show_client_info: 'View client info',
       
   167         
       
   168         // ADMIN
       
   169         acp_title: 'Yubikey Management Server',
       
   170         acp_heading_main: 'YMS configuration',
       
   171         acp_th_main: 'Yubikey Management Server options',
       
   172         acp_field_require_reauth_title: 'Require re-authentication to access YMS interface:',
       
   173         acp_field_require_reauth_hint: 'This can be redundant and unnecessary if the sole purpose of your Enano installation is for YMS purposes.',
       
   174         acp_field_require_reauth: 'YMS pages require re-authentication',
       
   175         acp_field_claimauth_enable_title: 'Use external authentication when claiming Yubikeys:',
       
   176         acp_field_claimauth_enable_hint: 'This allows you to require an additional value - for example, the receipt number from the user\'s Yubikey order - when Yubikeys are claimed.',
       
   177         acp_field_claimauth_enable: 'Require additional field to claim a Yubikey',
       
   178         acp_field_claimauth_url_title: 'URL to claim authentication server:',
       
   179         acp_field_claimauth_url_hint: 'The following variables will be applied:
       
   180                                        <ul>
       
   181                                          <li>%c = The value the user entered in your custom field</li>
       
   182                                          <li>%o = The Yubikey OTP from the form</li>
       
   183                                          <li>%h = The HMAC signature of the request</li>
       
   184                                        </ul>
       
   185                                        This authentication uses the same protocol as other Yubikey authentication servers. See the <a href="http://enanocms.org/plugin/yms" onclick="window.opeh(this.href); return false;">YMS plugin page on enanocms.org</a> for information on how to write an authentication server.<br />
       
   186                                        <b>Example URL:</b> <tt>http://10.4.27.3/wsapi/validateclaim?id=1&amp;tid=%c&amp;otp=%o&amp;h=%h</tt>',
       
   187         acp_field_claimauth_key_title: 'API key for authentication server:',
       
   188         acp_field_claimauth_key_hint: 'If provided, YMS will sign the requests it makes to your authentication server. Leave blank to disable signature support.',
       
   189         
       
   190         acp_msg_saved: 'Your changes to the YMS configuration have been saved.',
   166       }
   191       }
   167     }
   192     }
   168   }
   193   }
   169 }
   194 }
   170 </code>
   195 </code>