liam-linux-account-manager/templates/pubkeys_json.php

8 lines
198 B
PHP
Raw Permalink Normal View History

2021-11-16 15:11:32 +01:00
<?php
$json = new StdClass;
$json->public_keys = array();
foreach($this->get('pubkeys') as $pubkey) {
$json->public_keys[] = pubkey_json($pubkey, false, true);
}
out(json_encode($json), ESC_NONE);