18 lines
580 B
PHP
18 lines
580 B
PHP
|
<?php
|
||
|
?>
|
||
|
<h1>Public keys for <a href="<?php outurl('/users/'.urlencode($this->get('user')->uid))?>"><?php out($this->get('user')->name)?></a></h1>
|
||
|
<?php foreach($this->get('pubkeys') as $pubkey) { ?>
|
||
|
<div class="panel panel-default">
|
||
|
<dl class="panel-body">
|
||
|
<dt>Key data</dt>
|
||
|
<dd><pre><?php out($pubkey->export())?></pre></dd>
|
||
|
<dt>Key size</dt>
|
||
|
<dd><?php out($pubkey->keysize)?></dd>
|
||
|
<dt>Fingerprint (MD5)</dt>
|
||
|
<dd><?php out($pubkey->fingerprint_md5)?></dd>
|
||
|
<dt>Fingerprint (SHA256)</dt>
|
||
|
<dd><?php out($pubkey->fingerprint_sha256)?></dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<?php } ?>
|