YubikeyManagement.php
changeset 4 9fdc988ce46e
parent 3 6edb31919f0e
child 6 c1b4f69c187e
equal deleted inserted replaced
3:6edb31919f0e 4:9fdc988ce46e
    88                                       <p class="yms-copypara">Client ID: <span class="yms-copyfield">%client_id%</span><br />
    88                                       <p class="yms-copypara">Client ID: <span class="yms-copyfield">%client_id%</span><br />
    89                                          API key: <span class="yms-copyfield">%api_key%</span><br />
    89                                          API key: <span class="yms-copyfield">%api_key%</span><br />
    90                                          Validation API URL: <span class="yms-copyfield">%validate_url%</span></p>
    90                                          Validation API URL: <span class="yms-copyfield">%validate_url%</span></p>
    91                                     <p><b>Remember to secure your user account!</b> Your Enano login is used to administer your YMS account. For maximum security, use the Yubikey Settings page of the User Control Panel to require both a password and a Yubikey OTP to log in.</p>',
    91                                     <p><b>Remember to secure your user account!</b> Your Enano login is used to administer your YMS account. For maximum security, use the Yubikey Settings page of the User Control Panel to require both a password and a Yubikey OTP to log in.</p>',
    92         msg_no_yubikeys: 'No Yubikeys found',
    92         msg_no_yubikeys: 'No Yubikeys found',
       
    93         msg_editing_zero: '<b>Notice:</b> You are currently viewing the YMS profile for Client ID 0, the pool of claimable keys. By default, anybody can validate or claim these Yubikeys, but you can prevent validation of these keys by marking them inactive here. All key settings such as lifecycle state and notes are reset when a user claims a key here.',
    93         btn_add_key: 'Add Yubikey',
    94         btn_add_key: 'Add Yubikey',
    94         btn_add_key_preregistered: 'Claim a New Key',
    95         btn_add_key_preregistered: 'Claim a New Key',
       
    96         btn_switch_to_zero: 'Edit claimable pool',
       
    97         btn_switch_from_zero: 'Switch back to my client',
    95         state_active: 'Active',
    98         state_active: 'Active',
    96         state_inactive: 'Inactive',
    99         state_inactive: 'Inactive',
    97         
   100         
    98         th_id: 'ID#',
   101         th_id: 'ID#',
    99         th_publicid: 'OTP prefix',
   102         th_publicid: 'OTP prefix',
   113         lbl_addkey_field_notes: 'Notes about this key:',
   116         lbl_addkey_field_notes: 'Notes about this key:',
   114         lbl_addkey_field_state: 'Lifecycle state:',
   117         lbl_addkey_field_state: 'Lifecycle state:',
   115         lbl_addkey_field_any_client_name: 'Allow validation by any client:',
   118         lbl_addkey_field_any_client_name: 'Allow validation by any client:',
   116         lbl_addkey_field_any_client_hint: 'If unchecked, OTPs from this Yubikey can only be verified by someone using your client ID. Check this if you plan to use this Yubikey on websites you don\'t control.',
   119         lbl_addkey_field_any_client_hint: 'If unchecked, OTPs from this Yubikey can only be verified by someone using your client ID. Check this if you plan to use this Yubikey on websites you don\'t control.',
   117         lbl_addkey_field_any_client: 'Other clients can validate OTPs from this key',
   120         lbl_addkey_field_any_client: 'Other clients can validate OTPs from this key',
       
   121         lbl_addkey_field_allow_claim_name: 'Place key in claimable pool:',
       
   122         lbl_addkey_field_allow_claim_hint: 'After this key is added, YMS will release your ownership of this key so that other users may claim it.',
       
   123         lbl_addkey_field_allow_claim: 'Release this key and allow others to claim it',
   118         btn_addkey_submit: 'Register key',
   124         btn_addkey_submit: 'Register key',
   119         msg_addkey_success: 'This key has been successfully registered.',
   125         msg_addkey_success: 'This key has been successfully registered.',
   120         
   126         
   121         err_addkey_crc_failed: 'The CRC check on the OTP failed. This usually means that your AES key is wrong or could not be properly interpreted.',
   127         err_addkey_crc_failed: 'The CRC check on the OTP failed. This usually means that your AES key is wrong or could not be properly interpreted.',
   122         err_addkey_invalid_key: 'There was an error decoding your AES secret key. Please enter a 128-bit hex, ModHex, or base-64 value.',
   128         err_addkey_invalid_key: 'There was an error decoding your AES secret key. Please enter a 128-bit hex, ModHex, or base-64 value.',
   128         lbl_claimkey_desc: 'Attach a key you have not reprogrammed to your YMS account, so that you can see its AES secret key and keep track of it.',
   134         lbl_claimkey_desc: 'Attach a key you have not reprogrammed to your YMS account, so that you can see its AES secret key and keep track of it.',
   129         lbl_claimkey_field_otp: 'Enter an OTP from this Yubikey:',
   135         lbl_claimkey_field_otp: 'Enter an OTP from this Yubikey:',
   130         lbl_custom_hint: 'For your security, this is used to validate your ownership of this Yubikey.',
   136         lbl_custom_hint: 'For your security, this is used to validate your ownership of this Yubikey.',
   131         
   137         
   132         // AES key view interface
   138         // AES key view interface
       
   139         showaes_heading_main: 'View AES key and counters',
   133         showaes_th: 'AES secret key for key %public_id%',
   140         showaes_th: 'AES secret key for key %public_id%',
   134         showaes_lbl_hex: 'Hex:',
   141         showaes_lbl_hex: 'Hex:',
   135         showaes_lbl_modhex: 'ModHex:',
   142         showaes_lbl_modhex: 'ModHex:',
   136         showaes_lbl_base64: 'Base64:',
   143         showaes_lbl_base64: 'Base64:',
       
   144         showaes_th_counter: 'Counters',
       
   145         showaes_field_session_count: 'Session count:',
       
   146         showaes_field_session_count_hint: 'Incremented by 1 each time you insert this Yubikey into a USB port.',
       
   147         showaes_field_otp_count: 'OTP count:',
       
   148         showaes_field_otp_count_hint: 'Incremented by 1 each time you press the button on the Yubikey; reset when the Yubikey is plugged in.',
       
   149         
       
   150         err_expected_int: 'Expected an integer',
       
   151         msg_counter_update_success: 'The counters for this Yubikey have been updated.',
   137         
   152         
   138         // API key view interface
   153         // API key view interface
   139         th_client_id: 'Client ID',
   154         th_client_id: 'Client ID',
   140         lbl_client_id: 'Client ID:',
   155         lbl_client_id: 'Client ID:',
   141         th_api_key: 'API key',
   156         th_api_key: 'API key',
   159         
   174         
   160         // Key list
   175         // Key list
   161         btn_note_view: 'View or edit note',
   176         btn_note_view: 'View or edit note',
   162         btn_note_create: 'No note; click to create',
   177         btn_note_create: 'No note; click to create',
   163         btn_delete_key: 'Delete key',
   178         btn_delete_key: 'Delete key',
   164         btn_show_aes: 'Show AES secret',
   179         btn_show_aes: 'AES secret and counter information',
   165         btn_show_converter: 'Binary encoding converter',
   180         btn_show_converter: 'Binary encoding converter',
   166         btn_show_client_info: 'View client info',
   181         btn_show_client_info: 'View client info',
   167         
   182         
   168         // ADMIN
   183         // ADMIN
   169         acp_title: 'Yubikey Management Server',
   184         acp_title: 'Yubikey Management Server',
   170         acp_heading_main: 'YMS configuration',
   185         acp_heading_main: 'YMS configuration',
   171         acp_th_main: 'Yubikey Management Server options',
   186         acp_th_main: 'Yubikey Management Server options',
   172         acp_field_require_reauth_title: 'Require re-authentication to access YMS interface:',
   187         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.',
   188         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',
   189         acp_field_require_reauth: 'YMS pages require re-authentication',
       
   190         acp_field_claim_enable_title: 'Allow users to claim Yubikeys:',
       
   191         acp_field_claim_enable_hint: 'If you plan to program your own Yubikeys and give them to others, enable this to allow them to create YMS accounts and "claim" the keys so they can see AES secrets and control settings on their keys.<br />
       
   192                                       If you enable this, all Administrators will see an option when adding a new key to put it into the pool of unclaimed keys.<br />
       
   193                                       To claim a Yubikey, YMS requires users to enter a valid OTP, and optionally, an additional field you may configure below.',
       
   194         acp_field_claim_enable: 'Enable the claim system',
   175         acp_field_claimauth_enable_title: 'Use external authentication when claiming Yubikeys:',
   195         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.',
   196         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',
   197         acp_field_claimauth_enable: 'Require additional field to claim a Yubikey',
   178         acp_field_claimauth_url_title: 'URL to claim authentication server:',
   198         acp_field_claimauth_url_title: 'URL to claim authentication server:',
   179         acp_field_claimauth_url_hint: 'The following variables will be applied:
   199         acp_field_claimauth_url_hint: 'The following variables will be applied: