:file:`.gitignore` contains file patterns to be ignored by Git.
..sourcefile:: includes/about_menu.php
:links:
www/policy/
www/index.php?id=47
www/logos.php
www/stats.php
www/index.php?id=7
www/src-lic.php
:file:`about_menu.php` is a part (<div>) of a PHP-Page, containing most of
the CAcert-related links.
It uses hardcoded links to some CAcert-sites :samp:`http://blog.cacert.org`, :samp:`http://wiki.CAcert.org/`, :samp:`http://wiki.cacert.org/FAQ/Privileges`, :samp:`http://blog.CAcert.org/feed/`, :samp:`http://wiki.cacert.org/Board`, :samp:`https://lists.cacert.org/wws`
:links:
"http://blog.cacert.org/"
"http://blog.CAcert.org/feed/"
"http://bugs.CAcert.org/"
"https://lists.cacert.org/wws"
"http://wiki.CAcert.org/"
"http://wiki.cacert.org/Board"
"http://wiki.cacert.org/FAQ/Privileges"
"www/policy/"
"www/src-lic.php"
:file:`about_menu.php` is a part (<div>) of a PHP-Page, containing most of
the CAcert-related links. It uses :php:global:`$_SESSION['mconn']`
..sourcefile:: includes/account_stuff.php
:file:`includes/account_stuff.php` provides two procedures to be used for building the output of some HTML-pages.
The template defines the MySQL connection as a session variable :php:global:`$_SESSION['mconn']` while connecting to that database. It also defines the session variables
:php:global:`$_SESSION['_config']['normalhostname']`, :php:global:`$_SESSION['_config']['securehostname']` and :php:global:`$_SESSION['_config']['tverify']`.
..php:global:: $_SESSION['mconn']
This global variable defines the status of the database connection
:file:`includes/notary.inc.php` provides a set of funktions; here listed in the given order:
:file:`includes/notary.inc.php`defines the global constants :php:const:`NULL_DATETIME` and :php:const:`THAWTE_REVOCATION_DATETIME`. It also provides a set of funktions; here listed in the given order:
..php:function:: query_init ($query)
@ -986,7 +986,7 @@ Directory :file:`includes/lib`
:php:func:`checkWeakKeyText`,
:php:func:`failWithId`,
:php:func:`runCommand`
:param string $csr:The CSR to be checked
:param string [optional] $encoding:The encoding the CSR is in (for the "-inform" parameter of OpenSSL, currently only "PEM" (default) or "DER" allowed)
:returns:* (string) - containing the reason if the key is considered weak, empty string otherwise
Reimplement the functionality of the openssl-vulnkey tool
Reimplement the functionality of the openssl-vulnkey tool.
It triggers the exeptions:
:php:exc:`E_USER_NOTICE`,
:php:exc:`E_USER_WARNING`,
:php:exc:`E_USER_ERROR`
:param string $text:The text representation of a key as output by the "openssl <foo> -text -noout" commands
:param int [optional] $keysize:If the key size is already known it can be provided so it doesn't have to be parsed again. This also skips the check whether the key is an RSA key => use wisely.