summaryrefslogtreecommitdiff
path: root/includes/lib
AgeCommit message (Collapse)Author
2014-11-23Merge branch 'bug-28' into releaseBenny Baumann
Conflicts: includes/account.php scripts/cron/warning.php www/disputes.php www/wot.php
2014-08-20Merge branch 'bug-1297' into releaseBenny Baumann
2014-08-09bug-1297: update openssl regexes to openssl 1.0.1bug-1297Felix Dörre
Some keywords in the "req"-output have changed.
2014-07-27bug-1292: prohibit keys with public exponent smaller than 65536bug-1292Felix Dörre
This is in accordance to what is recommended on the referenced wiki page: http://wiki.cacert.org/WeakKeys#SmallExponent
2014-07-15Merge branch 'bug-1280' into releaseBenny Baumann
2014-06-21bug 1280: Implement normalisation in of language codes in the L10n classbug-1280Michael Tänzer
and use it (in set_translation() and the Assurer contact form) Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-06-21bug 1280: Remove trailing white spaceMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-06-21Revert "bug-1280: Handle more different types of "languages":"Michael Tänzer
This reverts commit 0730c9df3eb440205d7963e3c0762765d9b47031.
2014-06-13Merge branch 'release' into bug-807Benny Baumann
Conflicts: includes/account.php includes/lib/account.php pages/account/16.php
2014-06-11bug-1280: Handle more different types of "languages":Felix Dörre
- zh_CN => zh-cn (in various cases: ZH_cn, zh_cn, ...) - de => de (what the current GUI produces) - de_DE => de, en_AU => en, EN_AU => en (what may be left in the database) ... and more creative upper/lower-cases
2014-04-30bug 1138: Whitespace changes and code formattingBenny Baumann
2014-03-21Merge branch 'release' into bug-1221Michael Tänzer
2014-03-21bug 1221: make formatting consistent with the surrounding codeMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-21bug 807: Apparently one should write SHA algorithms with a hyphenMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-20bug 807: Avoid redundant dataMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-20bug 807: PHP doesn't allow arrays in constants, let's use a class insteadMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-20bug 807: Allow changing the hash algorithm used in signingMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-09bug 1255: Use if blocks instead of switch because big switches are easy tobug-1255Michael Tänzer
break in maintenance Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-09bug 1255: Mixed up variable names for pub/Y, don't calculate the bit sizeMichael Tänzer
of all variables Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-09bug 1255: Fix syntax error (bracketing)Michael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-03-09bug 1255: Check for other algorithms than RSA in check_weak_keys()Michael Tänzer
Implemented a check for DSA but is currently disable because the OpenSSL on the signer would fail anyway. Unknown algorithms are now blocked. Signed-off-by: Michael Tänzer <neo@nhng.de>
2013-11-19bug 1221: WhitespaceBenny Baumann
2013-11-19bug 1221: added `deleted` = 0Benny Baumann
2013-05-08bug 28: Yet another missed referencebug-28Benny Baumann
2013-05-08bug 28: Fix self-references in this bugBenny Baumann
2013-05-08bug 28: add changes for l10n classBenny Baumann
2013-05-01bug 28: Fix a syntax error in newly included fileBenny Baumann
2013-05-01bug 28: Moved function from temp_function1.php to includes/lib/l10n.php and ↵INOPIAE
changed the reference
2013-03-19bug 918: Raise the limit for RSA keys to 2048 bits now that we have fixedMichael Tänzer
the key generation in IE (bug #964) Signed-off-by: Michael Tänzer <neo@nhng.de>
2012-11-28bug 512:Moved get_assurer_status from includes/general.php to ↵INOPIAE
includes/lib/general.php to make the function available for the scripting. Changed script to includes/lib/general.php
2012-10-31Merge branch 'bug-978' into releaseBenny Baumann
Signed-off-by: Benny Baumann <BenBE@geshi.org>
2012-03-28bug 1024: now for the interesting stuff: implement the optional parameterbug-1024Michael Tänzer
for fix_assurer_flag() and use it Signed-off-by: Michael Tänzer <neo@nhng.de>
2012-03-28Merge branch 'release' into bug-1024Michael Tänzer
Conflicts: includes/lib/account.php Signed-off-by: Michael Tänzer <neo@nhng.de>
2012-03-22bug 1024: extract the SQL from the mysql_query() callMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2012-03-22bug 1024: Put the SQL query into a single string literalMichael Tänzer
Makes editing and reading easier Signed-off-by: Michael Tänzer <neo@nhng.de>
2012-03-18Code proposal to sync assurer flagBernhard Froehlich
2011-10-21bug 978: fix typos/copy & paste errors that were also present in the #918bug-978Michael Tänzer
version Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-21bug 978: Log more details if something fails so debugging becomes easierMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-21bug 978: New helper function runCommand() -> reduce boilerplate codeMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-20bug 978: Move things around (common functions moved to a lib file)Michael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-18bug 985: Doh, never copy and paste codeMichael Tänzer
I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: move binding to a gettext domain into a separate method andMichael Tänzer
update some more legacy language handling removed screenshot() as it's never used and language dependent still open: translation in PDFs Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: doh, actually return somethingMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: Factor out language handling into a separate class, also fixMichael Tänzer
language handling for Internet Explorer. TODO: - replace all uses of $_SESSION['_config']['language'] and $_SESSION['_config']['translations'] with the appropriate calls to the new class - adjust character handling in the PDF generation routines - probably more Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-09-06Merge remote-tracking branch 'origin/bug-841' into releaseMichael Tänzer
2011-08-21Source code taken from cacert-20110820.tar.bz2Michael Tänzer
2011-07-27bug 841: actually return the member id not the id of the certificatebug-841Michael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-07-27bug 841: extract the whole cert-login into a functionMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-07-06bug 841: not only check for serial number but for serial number and issuerMichael Tänzer
in combination when checking login Fix provided by Uli60 Signed-off-by: Michael Tänzer <neo@nhng.de>