/trunk/signtool/sign |
---|
1,6 → 1,14 |
#!/usr/bin/php |
<?php |
/* |
* VNag - Nagios Framework for PHP |
* Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
* Licensed under the terms of the Apache 2.0 license |
* |
* Revision 2018-11-06 |
*/ |
// Generate keypair with: |
// openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:8192 |
// openssl rsa -pubout -in private.pem -out public.pem |
/trunk/signtool/verify |
---|
1,6 → 1,14 |
#!/usr/bin/php |
<?php |
/* |
* VNag - Nagios Framework for PHP |
* Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
* Licensed under the terms of the Apache 2.0 license |
* |
* Revision 2018-07-11 |
*/ |
$file = $argv[1]; |
$cont = file_get_contents($file); |