/usr/share/doc/klone/examples/setkey.klone is in klone 2.1.0~rc1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <html>
<head><title>KLone example page: set decryption key</title></head>
<body>
<h4>Set decryption pass phrase:</h4>
<blockquote><table width="750" cellpadding="5"><tr><td bgcolor="#e0e0ff">
<form action="<%= SCRIPT_NAME %>" method="post">
key: <input type="text" name="pp"><br>
<input type="submit" value="save"><br>
</form>
</td></tr>
<tr><td>
<% /* form submit handling */
vars_t *args = request_get_args(request); /* shortcut */
char *pp = NULL;
if((pp = vars_get_value(args, "pp")) != NULL)
{
session_set(session, "KLONE_CIPHER_KEY", pp);
io_printf(out, "Pass phrase saved.<p>");
}
%>
</td></tr>
</table></blockquote>
</body>
</html>
|