=$title2?>
+ if($_SESSION['_config']['errmsg'] != "") { ?> +echo $_SESSION['_config']['errmsg']; $_SESSION['_config']['errmsg'] = ""; ?>
+ } ?> + + } + + function showfooter() + { +?> +diff --git a/3.php b/3.php new file mode 100644 index 00000000..f52b8e32 --- /dev/null +++ b/3.php @@ -0,0 +1,101 @@ + /* + LibreSSL - CAcert web application + Copyright (C) 2004-2008 CAcert Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ ?> + +
=sprintf(_("You are bound by the %s Root Distribution Licence %s for any re-distributions of CAcert's roots."),"","")?>
+ ++-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +For most software, the fingerprint is reported as (SHA1): +DD:FC:DA:54:1E:75:77:AD:DC:A8:7E:88:27:A9:8A:50:60:32:52:A5 +(and/or SHA256): +07:ED:BD:82:4A:49:88:CF:EF:42:15:DA:20:D4:8C:2B: +41:D7:15:29:D7:C9:00:F5:70:92:6F:27:7C:C2:30:C5 + +Under MS MMC-Certificates and MS browsers the thumbprint is reported as: +ddfc da54 1e75 77ad dca8 7e88 27a9 8a50 6032 52a5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.2 (GNU/Linux) + +iD8DBQE/VtRZ0rsNAWXQ/VgRAphfAJ9jh6TKBDexG0NTTUHvdNuf6O9RuQCdE5kD +Mch2LMZhK4h/SBIft5ROzVU= +=R/pJ +-----END PGP SIGNATURE----- ++ + +
+-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +pub 1024D/65D0FD58 2003-07-11 CA Cert Signing Authority (Root CA) + Key fingerprint = A31D 4F81 EF4E BD07 B456 FA04 D2BB 0D01 65D0 FD58 +sub 2048g/113ED0F2 2003-07-11 [expires: 2033-07-03] +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.5 (GNU/Linux) + +iD8DBQFCEDLN0rsNAWXQ/VgRArhhAJ9EY1TJOzsVVuy2lL98CoKL0vnJjQCfbdBk +TG1yj+lkktROGGyn0hJ5SbM= +=tXoj +-----END PGP SIGNATURE----- ++ +
+ printf(_('An overview over all CA certificates ever issued can be found in '. + '%sthe wiki%s.'), + '', + '') ?> +
diff --git a/CommModule/client.pl b/CommModule/client.pl index 0874477a..5bc54ed7 100755 --- a/CommModule/client.pl +++ b/CommModule/client.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # CommModule - CAcert Communication Module -# Copyright (C) 2006-2009 CAcert Inc. +# Copyright (C) 2006-2021 CAcert Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -896,8 +896,8 @@ ($$) $body .= "https://www.cacert.org/account.php?id=".($server?"15":"6")."&cert=$row{id}\n\n"; $body .= _("If you have not imported CAcert's root certificate, please go to:")."\n"; $body .= "https://www.cacert.org/index.php?id=3\n"; - $body .= "Root cert fingerprint = A6:1B:37:5E:39:0D:9C:36:54:EE:BD:20:31:46:1F:6B\n"; - $body .= "Root cert fingerprint = 135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33\n\n"; + $body .= "Root cert fingerprint SHA1 = DDFC DA54 1E75 77AD DCA8 7E88 27A9 8A50 6032 52A5\n\n"; + $body .= "Root cert fingerprint SHA256 = 07ED BD82 4A49 88CF EF42 15DA 20D4 8C2B 41D7 1529 D7C9 00F5 7092 6F27 7CC2 30C5\n"; $body .= _("Best regards")."\n"._("CAcert.org Support!")."\n\n"; sendmail($user{email}, "[CAcert.org] "._("Your certificate"), $body, "support\@cacert.org", "", "", "CAcert Support"); } diff --git a/CommModule/usbclient.pl b/CommModule/usbclient.pl index 6cbc1110..2acb0f8b 100755 --- a/CommModule/usbclient.pl +++ b/CommModule/usbclient.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # CommModule - CAcert Communication module -# Copyright (C) 2004-2008 CAcert Inc. +# Copyright (C) 2004-2021 CAcert Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -820,8 +820,8 @@ ($$) $body .= "https://www.cacert.org/account.php?id=".($server?"15":"6")."&cert=$row{id}\n\n"; $body .= _("If you havent imported CAcert´s root certificate, please go to:")."\n"; $body .= "https://www.cacert.org/index.php?id=3\n"; - $body .= "Root cert fingerprint = A6:1B:37:5E:39:0D:9C:36:54:EE:BD:20:31:46:1F:6B\n"; - $body .= "Root cert fingerprint = 135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33\n\n"; + $body .= "Root cert fingerprint SHA1 = DDFC DA54 1E75 77AD DCA8 7E88 27A9 8A50 6032 52A5\n\n"; + $body .= "Root cert fingerprint SHA256 = 07ED BD82 4A49 88CF EF42 15DA 20D4 8C2B 41D7 1529 D7C9 00F5 7092 6F27 7CC2 30C5\n"; $body .= _("Best regards")."\n"._("CAcert.org Support!")."\n\n"; sendmail($user{email}, "[CAcert.org] "._("Your certificate"), $body, "support\@cacert.org", "", "", "CAcert Support"); } else { diff --git a/account_stuff.php b/account_stuff.php new file mode 100644 index 00000000..529741f1 --- /dev/null +++ b/account_stuff.php @@ -0,0 +1,294 @@ + /* + LibreSSL - CAcert web application + Copyright (C) 2004-2008 CAcert Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + $id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']); + $expand=""; + + function showheader($title = "CAcert.org", $title2 = "") + { + global $id, $PHP_SELF; + $PHP_SELF = &$_SERVER['PHP_SELF']; + $expand=""; + $tmpid = $id; + if($PHP_SELF == "/wot.php") + $tmpid = $id + 500; + if($PHP_SELF == "/gpg.php") + $tmpid = $id + 1000; + if($PHP_SELF == "/disputes.php") + $tmpid = $id + 1500; + if($PHP_SELF == "/advertising.php") + $tmpid = $id + 2000; + + switch($tmpid) + { + case 1: // Add email address + case 2: $expand = " explode('emailacc');"; break; // View email addresses + case 3: // Add Client certificate + case 4: // Confirm Client Certificate Request + case 5: // View Client Certificates + case 6: $expand = " explode('clicerts');"; break; // Client Certificate page + case 7: // Add new domain + case 8: // Confirm Domain page + case 9: $expand = " explode('domains');"; break; // View Domains + case 10: // Add Server Certifiacte + case 11: // Confirm Server Certificate Rewust + case 12: // View Server Cerificate + case 15: $expand = " explode('servercert');"; break; // Server Certificate page + case 13: // ViewEdit + case 14: // Change password + case 36: // My Alert settings + case 41: // Language Settings + case 55: // Trainings + case 59: // Account History + case 507: + case 508: // My Listing + case 510: // Old points calculation + case 515: // New points calculation + case 513: $expand = " explode('mydetails');"; break; // My Location + case 16: // Add Org Client Cert + case 17: // Confirm Org Client Certificate Request + case 18: // View Org Client Certificate + case 19: $expand = " explode('clientorg');"; break; // Org Cleint Cert page + case 20: // Add Org Server Cert + case 21: // Conform Org Server Cert Request + case 22: // View Org Server Certs + case 23: $expand = " explode('serverorg');"; break; // Org Server Certificate page + case 24: // Add new Organisation + case 25: // View Organisation List + case 26: // View Organisation Domains + case 27: // Edit Org Account + case 28: // View Add Org Domain + case 29: // Edit Org Domain + case 30: // Delete Org Domain + case 31: + case 32: // View Org Admin + case 33: // Add Org Admin + case 34: // Delete Org Admin + case 60: // View Organisation Account History + case 35: $expand = " explode('orgadmin');"; break; // View Org Admin Organisation List + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 54: + case 53: $expand = " explode('sysadmin');"; break; + case 500: // CAcert Web of Trust + case 501: + case 502: // Become an Assurer + case 503: // CAcert Web of Trust Roles + case 504: // TTP + case 505: // Assurer Some one + case 506: + case 509: + case 511: + case 512: $expand = " explode('WoT');"; break; // Find Assurer + case 1000: + case 1001: + case 1002: // View GPG key + case 1003: + case 1004: + case 1005: + case 1006: + case 1007: + case 1008: + case 1009: + case 1010: $expand = " explode('gpg');"; break; + case 1500: // Dipute + case 1501: // Dispute Email Request + case 1502: // ViewEdit + case 1503: + case 1504: + case 1505: + case 1506: + case 1507: + case 1508: + case 1509: + case 1510: $expand = " explode('disputes');"; break; + case 2000: + case 2001: + case 2002: + case 2003: + case 2004: + case 2005: + case 2006: + case 2007: + case 2008: + case 2009: $expand = " explode('advertising');"; break; + } + +?> + + +echo $_SESSION['_config']['errmsg']; $_SESSION['_config']['errmsg'] = ""; ?>
+ } ?> + + } + + function showfooter() + { +?> +