1
0
mirror of https://github.com/Yubico/yubiadmin.git synced 2024-12-01 16:24:13 +01:00

Use --urandom when creating API Clients.

This commit is contained in:
Dain Nilsson 2013-05-24 14:38:35 +02:00
parent 5887047f8e
commit fba0632a30
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ class YubikeyValClients(CollectionApp):
return self._data[offset:limit]
def create(self, request):
status, output = run('ykval-gen-clients')
status, output = run('ykval-gen-clients --urandom')
print 'STATUS: %r' % status
if status == 0:
parts = [x.strip() for x in output.split(',')]

View File

@ -1,7 +1,7 @@
<legend>API Client created</legend>
<p>An API Client with the following ID and API key has been created, and is ready for use.</p>
<dl>
<dl class="dl-horizontal">
<dt>Client ID</dt>
<dd>{{ client_id }}</dd>
<dt>API Key</dt>