diff options
98 files changed, 10239 insertions, 8154 deletions
diff --git a/CommModule/.gitignore b/CommModule/.gitignore new file mode 100644 index 0000000..40a9309 --- /dev/null +++ b/CommModule/.gitignore @@ -0,0 +1,19 @@ +# Ignore autogenerated serial conf file +/serial.conf +/serialserver.conf + +# Ignore *-active files +/client.pl-active +/server.pl-active + +# Ignore log files +/logfile20??-??-??.txt +/nohup.out +/oldlogs/ + +# Ignore working files generated by the signer +/currentcrls/ +/delta?.diff +/revoke-root?.crl +/timesync.sh +/work/ diff --git a/CommModule/client.pl b/CommModule/client.pl index bf92b27..002b661 100755 --- a/CommModule/client.pl +++ b/CommModule/client.pl @@ -40,8 +40,8 @@ my $paranoid=1; my $debug=0; -#my $serialport="/dev/ttyS0"; -my $serialport="/dev/ttyUSB0"; +my $serialport="/dev/ttyS1"; +#my $serialport="/dev/ttyUSB0"; my $gpgbin="/usr/bin/gpg"; @@ -444,9 +444,9 @@ sub calculateDays($) my @sum = $dbh->selectrow_array("select sum(`points`) as `total` from `notary` where `to`='".$_[0]."' group by `to`"); SysLog("Summe: $sum[0]\n") if($debug); - return ($sum[0]>=50)?730:180; + return ($sum[0]>=50)?30:3; } - return 180; + return 3; } sub X509extractSAN($) @@ -832,7 +832,7 @@ sub HandleCerts($$) SysLog "SAN: --$SAN--\n" if($debug); SysLog "memid: $row{'memid'}\n" if($debug); - my $days=$org?($server?(365*2):365):calculateDays($row{"memid"}); + my $days=$org?($server?(30):7):calculateDays($row{"memid"}); $crt=Request($ver,1,1,$row{'rootcert'}-1,$profile,$row{'md'}eq"sha1"?2:0,$days,$row{'keytype'}eq"NS"?1:0,$content,$SAN,$subject); diff --git a/CommModule/serial.conf b/CommModule/serial.conf deleted file mode 100755 index bd9980c..0000000 --- a/CommModule/serial.conf +++ /dev/null @@ -1,32 +0,0 @@ -Device::SerialPort_Configuration_File -- DO NOT EDIT -- -/dev/ttyUSB0 - -C_CFLAG,7346 -C_IFLAG,0 -C_ISPEED,4098 -C_LFLAG,2608 -C_OFLAG,4 -C_OSPEED,4098 -C_VERASE,127 -C_VQUIT,28 -C_VSUSP,26 -C_VINTR,3 -C_VSTOP,19 -C_VSTART,17 -C_VKILL,21 -C_VMIN,0 -C_VEOF,4 -C_VEOL,0 -C_VTIME,0 -CFG_1,none -RCONST,0 -CFG_2,none -HNAME,localhost -ALIAS,/dev/ttyUSB0 -CFG_3,none -U_MSG,0 -DATYPE,raw -E_MSG,0 -HADDR,0 -RTOT,0 -DVTYPE,none @@ -0,0 +1 @@ +# This directory has to be writeable by the web server @@ -0,0 +1 @@ +# This directory has to be writeable by the web server diff --git a/includes/account.php b/includes/account.php index 4faa0e5..8b61597 100644 --- a/includes/account.php +++ b/includes/account.php @@ -10,7 +10,7 @@ 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 @@ -18,6 +18,7 @@ require_once("../includes/loggedin.php"); require_once("../includes/lib/l10n.php"); require_once('lib/check_weak_key.php'); + require_once("../includes/temp_functions.php"); loadem("account"); @@ -70,9 +71,7 @@ } $oldid=0; $_REQUEST['email'] = trim(mysql_real_escape_string(stripslashes($_REQUEST['newemail']))); - $query = "select * from `email` where `email`='".$_REQUEST['email']."' and `deleted`=0"; - $res = mysql_query($query); - if(mysql_num_rows($res) > 0) + if(check_email_exists($_REQUEST['email'])==true) { showheader(_("My CAcert.org Account!")); printf(_("The email address '%s' is already in a different account. Can't continue."), sanitizeHTML($_REQUEST['email'])); @@ -83,7 +82,7 @@ if($checkemail != "OK") { showheader(_("My CAcert.org Account!")); - if (substr($checkemail, 0, 1) == "4") + if (substr($checkemail, 0, 1) == "4") { echo "<p>"._("The mail server responsible for your domain indicated a temporary failure. This may be due to anti-SPAM measures, such as greylisting. Please try again in a few minutes.")."</p>\n"; } else { @@ -152,6 +151,9 @@ { foreach($_REQUEST['delid'] as $id) { + if (0==$delcount) { + echo _('The following email addresses have been removed:')."<br>\n"; + } $id = intval($id); $query = "select * from `email` where `id`='$id' and `memid`='".intval($_SESSION['profile']['id'])."' and `email`!='".$_SESSION['profile']['email']."'"; @@ -160,17 +162,7 @@ { $row = mysql_fetch_assoc($res); echo $row['email']."<br>\n"; - $query = "select `emailcerts`.`id` - from `emaillink`,`emailcerts` where - `emailid`='$id' and `emaillink`.`emailcertsid`=`emailcerts`.`id` and - `revoked`=0 and UNIX_TIMESTAMP(`expire`)-UNIX_TIMESTAMP() > 0 - group by `emailcerts`.`id`"; - $dres = mysql_query($query); - while($drow = mysql_fetch_assoc($dres)) - mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='".$drow['id']."'"); - - $query = "update `email` set `deleted`=NOW() where `id`='$id'"; - mysql_query($query); + account_email_delete($row['id']); $delcount++; } } @@ -179,10 +171,8 @@ { echo _("You did not select any email accounts for removal."); } - if($delcount > 0) + if(0 == $delcount) { - echo _("The following accounts have been removed:")."<br>\n"; - } else { echo _("You failed to select any accounts to be removed, or you attempted to remove the default account. No action was taken."); } @@ -315,9 +305,9 @@ showfooter(); exit; } - + $query = "insert into emailcerts set - `CN`='$defaultemail', + `CN`='$defaultemail', `keytype`='NS', `memid`='".intval($_SESSION['profile']['id'])."', `created`=FROM_UNIXTIME(UNIX_TIMESTAMP()), @@ -347,7 +337,7 @@ } else if($_REQUEST['keytype'] == "MS" || $_REQUEST['keytype'] == "VI") { if($csr == "") $csr = "-----BEGIN CERTIFICATE REQUEST-----\n".clean_csr($_REQUEST['CSR'])."\n-----END CERTIFICATE REQUEST-----\n"; - + if (($weakKey = checkWeakKeyCSR($csr)) !== "") { $id = 4; @@ -356,7 +346,7 @@ showfooter(); exit; } - + $tmpfname = tempnam("/tmp", "id4CSR"); $fp = fopen($tmpfname, "w"); fputs($fp, $csr); @@ -415,13 +405,14 @@ showfooter(); exit; } - $query = "insert into emailcerts set - `CN`='$defaultemail', + $query = "insert into emailcerts set + `CN`='$defaultemail', `keytype`='".sanitizeHTML($_REQUEST['keytype'])."', `memid`='".$_SESSION['profile']['id']."', `created`=FROM_UNIXTIME(UNIX_TIMESTAMP()), `subject`='".mysql_real_escape_string($csrsubject)."', `codesign`='".$_SESSION['_config']['codesign']."', + `disablelogin`='".($_SESSION['_config']['disablelogin']?1:0)."', `rootcert`='".$_SESSION['_config']['rootcert']."'"; mysql_query($query); $emailid = mysql_insert_id(); @@ -574,7 +565,7 @@ { showheader(_("My CAcert.org Account!")); //echo "<p>"._("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."</p>\n"; - if (substr($checkemail, 0, 1) == "4") + if (substr($checkemail, 0, 1) == "4") { echo "<p>"._("The mail server responsible for your domain indicated a temporary failure. This may be due to anti-SPAM measures, such as greylisting. Please try again in a few minutes.")."</p>\n"; } else { @@ -621,15 +612,16 @@ { $row = mysql_fetch_assoc($res); echo $row['domain']."<br>\n"; - + $dres = mysql_query( - "select distinct `domaincerts`.`id` - from `domaincerts`, `domlink` + "select `domaincerts`.`id` + from `domaincerts` where `domaincerts`.`domid` = '$id' - or ( - `domaincerts`.`id` = `domlink`.`certid` - and `domlink`.`domid` = '$id' - )"); + union distinct + select `domaincerts`.`id` + from `domaincerts`, `domlink` + where `domaincerts`.`id` = `domlink`.`certid` + and `domlink`.`domid` = '$id'"); while($drow = mysql_fetch_assoc($dres)) { mysql_query( @@ -640,12 +632,13 @@ and UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() > 0"); } - + mysql_query( "update `domains` set `deleted`=NOW() where `id` = '$id'"); } + } } else @@ -665,7 +658,7 @@ // In case the CSR is missing the ---BEGIN lines, add them automatically: $CSR = "-----BEGIN CERTIFICATE REQUEST-----\n".$CSR."\n-----END CERTIFICATE REQUEST-----\n"; } - + if (($weakKey = checkWeakKeyCSR($CSR)) !== "") { showheader(_("My CAcert.org Account!")); @@ -673,7 +666,7 @@ showfooter(); exit; } - + $_SESSION['_config']['tmpfname'] = tempnam("/tmp", "id10CSR"); $fp = fopen($_SESSION['_config']['tmpfname'], "w"); fputs($fp, $CSR); @@ -718,7 +711,7 @@ showfooter(); exit; } - + if (($weakKey = checkWeakKeyCSR(file_get_contents( $_SESSION['_config']['tmpfname']))) !== "") { @@ -727,7 +720,7 @@ showfooter(); exit; } - + $id = 11; if($_SESSION['_config']['0.CN'] == "" && $_SESSION['_config']['0.subjectAltName'] == "") { @@ -771,13 +764,13 @@ if(array_key_exists('0',$_SESSION['_config']['rowid']) && $_SESSION['_config']['rowid']['0'] > 0) { - $query = "insert into `domaincerts` set + $query = "insert into `domaincerts` set `CN`='".mysql_real_escape_string($_SESSION['_config']['rows']['0'])."', `domid`='".mysql_real_escape_string($_SESSION['_config']['rowid']['0'])."', `created`=NOW(),`subject`='".mysql_real_escape_string($subject)."', `rootcert`='".mysql_real_escape_string($_SESSION['_config']['rootcert'])."'"; } elseif(array_key_exists('0',$_SESSION['_config']['altid']) && $_SESSION['_config']['altid']['0'] > 0) { - $query = "insert into `domaincerts` set + $query = "insert into `domaincerts` set `CN`='".mysql_real_escape_string($_SESSION['_config']['altrows']['0'])."', `domid`='".mysql_real_escape_string($_SESSION['_config']['altid']['0'])."', `created`=NOW(),`subject`='".mysql_real_escape_string($subject)."', @@ -843,24 +836,24 @@ printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br/>\n", $id); continue; } - + $row = mysql_fetch_assoc($res); - + if (($weakKey = checkWeakKeyX509(file_get_contents( $row['crt_name']))) !== "") { echo $weakKey, "<br/>\n"; continue; } - + mysql_query("update `domaincerts` set `renewed`='1' where `id`='$id'"); - $query = "insert into `domaincerts` set - `domid`='".$row['domid']."', + $query = "insert into `domaincerts` set + `domid`='".$row['domid']."', `CN`='".mysql_real_escape_string($row['CN'])."', `subject`='".mysql_real_escape_string($row['subject'])."',". //`csr_name`='".$row['csr_name']."', // RACE CONDITION "`created`='".$row['created']."', - `modified`=NOW(), + `modified`=NOW(), `rootcert`='".$row['rootcert']."', `type`='".$row['type']."', `pkhash`='".$row['pkhash']."'"; @@ -944,7 +937,7 @@ foreach($_REQUEST['revokeid'] as $id) { $id = intval($id); - $query = "select *,UNIX_TIMESTAMP(`domaincerts`.`revoked`) as `revoke` from `domaincerts`,`domains` + $query = "select *,UNIX_TIMESTAMP(`domaincerts`.`revoked`) as `revoke` from `domaincerts`,`domains` where `domaincerts`.`id`='$id' and `domaincerts`.`domid`=`domains`.`id` and `domains`.`memid`='".$_SESSION['profile']['id']."'"; @@ -975,7 +968,7 @@ foreach($_REQUEST['delid'] as $id) { $id = intval($id); - $query = "select *,UNIX_TIMESTAMP(`domaincerts`.`expire`) as `expired` from `domaincerts`,`domains` + $query = "select *,UNIX_TIMESTAMP(`domaincerts`.`expire`) as `expired` from `domaincerts`,`domains` where `domaincerts`.`id`='$id' and `domaincerts`.`domid`=`domains`.`id` and `domains`.`memid`='".$_SESSION['profile']['id']."'"; @@ -1010,7 +1003,7 @@ foreach($_REQUEST['revokeid'] as $id) { $id = intval($id); - $query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts` + $query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts` where `id`='$id' and `memid`='".$_SESSION['profile']['id']."'"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) @@ -1018,24 +1011,24 @@ printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br>\n", $id); continue; } - + $row = mysql_fetch_assoc($res); - + if (($weakKey = checkWeakKeyX509(file_get_contents( $row['crt_name']))) !== "") { echo $weakKey, "<br/>\n"; continue; } - + mysql_query("update `emailcerts` set `renewed`='1' where `id`='$id'"); - $query = "insert into emailcerts set - `memid`='".$row['memid']."', + $query = "insert into emailcerts set + `memid`='".$row['memid']."', `CN`='".mysql_real_escape_string($row['CN'])."', `subject`='".mysql_real_escape_string($row['subject'])."', - `keytype`='".$row['keytype']."', - `csr_name`='".$row['csr_name']."', - `created`='".$row['created']."', + `keytype`='".$row['keytype']."', + `csr_name`='".$row['csr_name']."', + `created`='".$row['created']."', `modified`=NOW(), `disablelogin`='".$row['disablelogin']."', `codesign`='".$row['codesign']."', @@ -1083,7 +1076,7 @@ foreach($_REQUEST['revokeid'] as $id) { $id = intval($id); - $query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts` + $query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts` where `id`='$id' and `memid`='".$_SESSION['profile']['id']."'"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) @@ -1112,7 +1105,7 @@ foreach($_REQUEST['delid'] as $id) { $id = intval($id); - $query = "select *,UNIX_TIMESTAMP(`expire`) as `expired` from `emailcerts` + $query = "select *,UNIX_TIMESTAMP(`expire`) as `expired` from `emailcerts` where `id`='$id' and `memid`='".$_SESSION['profile']['id']."'"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) @@ -1227,7 +1220,7 @@ $ddres = mysql_query($ddquery); $ddrow = mysql_fetch_assoc($ddres); $_SESSION['profile']['points'] = $ddrow['total']; - + if($_SESSION['profile']['points'] == 0) { $_SESSION['_config']['user']['fname'] = trim(mysql_real_escape_string(stripslashes(strip_tags($_REQUEST['fname'])))); @@ -1279,7 +1272,7 @@ where `id`='".$_SESSION['profile']['id']."'"; mysql_query($query); - //!!!Should be rewritten + //!!!Should be rewritten $_SESSION['_config']['user']['otphash'] = trim(mysql_real_escape_string(stripslashes(strip_tags($_REQUEST['otphash'])))); $_SESSION['_config']['user']['otppin'] = trim(mysql_real_escape_string(stripslashes(strip_tags($_REQUEST['otppin'])))); if($_SESSION['_config']['user']['otphash'] != "" && $_SESSION['_config']['user']['otppin'] != "") @@ -1476,9 +1469,9 @@ showfooter(); exit; } - - $query = "insert into `orgemailcerts` set - `CN`='$defaultemail', + + $query = "insert into `orgemailcerts` set + `CN`='$defaultemail', `keytype`='NS', `orgid`='".$org['orgid']."', `created`=FROM_UNIXTIME(UNIX_TIMESTAMP()), @@ -1507,7 +1500,7 @@ mysql_query("update `orgemailcerts` set `csr_name`='$CSRname' where `id`='$emailid'"); } else if($_REQUEST['keytype'] == "MS" || $_REQUEST['keytype']=="VI") { $csr = "-----BEGIN CERTIFICATE REQUEST-----\n".clean_csr($_REQUEST['CSR'])."-----END CERTIFICATE REQUEST-----\n"; - + if (($weakKey = checkWeakKeyCSR($csr)) !== "") { $id = 17; @@ -1516,7 +1509,7 @@ showfooter(); exit; } - + $tmpfname = tempnam("/tmp", "id17CSR"); $fp = fopen($tmpfname, "w"); fputs($fp, $csr); @@ -1566,8 +1559,8 @@ if($_SESSION['_config']['rootcert'] < 1 || $_SESSION['_config']['rootcert'] > 2) $_SESSION['_config']['rootcert'] = 1; - $query = "insert into `orgemailcerts` set - `CN`='$defaultemail', + $query = "insert into `orgemailcerts` set + `CN`='$defaultemail', `keytype`='" . sanitizeHTML($_REQUEST['keytype']) . "', `orgid`='".$org['orgid']."', `created`=FROM_UNIXTIME(UNIX_TIMESTAMP()), @@ -1623,29 +1616,29 @@ printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br>\n", $id); continue; } - + $row = mysql_fetch_assoc($res); - + if (($weakKey = checkWeakKeyX509(file_get_contents( $row['crt_name']))) !== "") { echo $weakKey, "<br/>\n"; continue; } - + mysql_query("update `orgemailcerts` set `renewed`='1' where `id`='$id'"); if($row['revoke'] > 0) { printf(_("It would seem '%s' has already been revoked. I'll skip this for now.")."<br>\n", $row['CN']); continue; } - $query = "insert into `orgemailcerts` set - `orgid`='".$row['orgid']."', + $query = "insert into `orgemailcerts` set + `orgid`='".$row['orgid']."', `CN`='".$row['CN']."', `subject`='".$row['subject']."', - `keytype`='".$row['keytype']."', - `csr_name`='".$row['csr_name']."', - `created`='".$row['created']."', + `keytype`='".$row['keytype']."', + `csr_name`='".$row['csr_name']."', + `created`='".$row['created']."', `modified`=NOW(), `codesign`='".$row['codesign']."', `rootcert`='".$row['rootcert']."'"; @@ -1743,7 +1736,7 @@ if($process != "" && $oldid == 20) { $CSR = clean_csr($_REQUEST['CSR']); - + if (($weakKey = checkWeakKeyCSR($CSR)) !== "") { $id = 20; @@ -1752,7 +1745,7 @@ showfooter(); exit; } - + $_SESSION['_config']['tmpfname'] = tempnam("/tmp", "id20CSR"); $fp = fopen($_SESSION['_config']['tmpfname'], "w"); fputs($fp, $CSR); @@ -1802,7 +1795,7 @@ if($process != "" && $oldid == 21) { $id = 21; - + if(!file_exists($_SESSION['_config']['tmpfname'])) { showheader(_("My CAcert.org Account!")); @@ -1810,7 +1803,7 @@ showfooter(); exit; } - + if (($weakKey = checkWeakKeyCSR(file_get_contents( $_SESSION['_config']['tmpfname']))) !== "") { @@ -1859,7 +1852,7 @@ if(is_array($_SESSION['_config']['rows'])) foreach($_SESSION['_config']['rows'] as $row) $csrsubject .= "/commonName=$row"; - $SAN=""; + $SAN=""; if(is_array($_SESSION['_config']['altrows'])) foreach($_SESSION['_config']['altrows'] as $subalt) { @@ -1878,7 +1871,7 @@ if($_SESSION['_config']['rowid']['0'] > 0) { - $query = "insert into `orgdomaincerts` set + $query = "insert into `orgdomaincerts` set `CN`='".$_SESSION['_config']['rows']['0']."', `orgid`='".$org['id']."', `created`=NOW(), @@ -1886,7 +1879,7 @@ `rootcert`='".$_SESSION['_config']['rootcert']."', `type`='$type'"; } else { - $query = "insert into `orgdomaincerts` set + $query = "insert into `orgdomaincerts` set `CN`='".$_SESSION['_config']['altrows']['0']."', `orgid`='".$org['id']."', `created`=NOW(), @@ -1944,29 +1937,29 @@ printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br>\n", $id); continue; } - + $row = mysql_fetch_assoc($res); - + if (($weakKey = checkWeakKeyX509(file_get_contents( $row['crt_name']))) !== "") { echo $weakKey, "<br/>\n"; continue; } - + mysql_query("update `orgdomaincerts` set `renewed`='1' where `id`='$id'"); if($row['revoke'] > 0) { printf(_("It would seem '%s' has already been revoked. I'll skip this for now.")."<br>\n", $row['CN']); continue; } - $query = "insert into `orgdomaincerts` set - `orgid`='".$row['orgid']."', + $query = "insert into `orgdomaincerts` set + `orgid`='".$row['orgid']."', `CN`='".$row['CN']."', - `csr_name`='".$row['csr_name']."', + `csr_name`='".$row['csr_name']."', `created`='".$row['created']."', - `modified`=NOW(), - `subject`='".$row['subject']."', + `modified`=NOW(), + `subject`='".$row['subject']."', `type`='".$row['type']."', `rootcert`='".$row['rootcert']."'"; mysql_query($query); @@ -2180,7 +2173,7 @@ if(($oldid == 29 || $oldid == 30) && $process != "") // _("Cancel") is handled in front of account.php { - $query = "select `orgdomaincerts`.`id` as `id` from `orgdomlink`, `orgdomaincerts`, `orgdomains` where + $query = "select `orgdomaincerts`.`id` as `id` from `orgdomlink`, `orgdomaincerts`, `orgdomains` where `orgdomlink`.`orgdomid`=`orgdomains`.`id` and `orgdomaincerts`.`id`=`orgdomlink`.`orgcertid` and `orgdomains`.`id`='".intval($domid)."'"; @@ -2188,7 +2181,7 @@ while($row = mysql_fetch_assoc($res)) mysql_query("update `orgdomaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='".$row['id']."'"); - $query = "select `orgemailcerts`.`id` as `id` from `orgemailcerts`, `orgemaillink`, `orgdomains` where + $query = "select `orgemailcerts`.`id` as `id` from `orgemailcerts`, `orgemaillink`, `orgdomains` where `orgemaillink`.`domid`=`orgdomains`.`id` and `orgemailcerts`.`id`=`orgemaillink`.`emailcertsid` and `orgdomains`.`id`='".intval($domid)."'"; @@ -2232,7 +2225,7 @@ $dres = mysql_query($query); while($drow = mysql_fetch_assoc($dres)) { - $query = "select `orgdomaincerts`.`id` as `id` from `orgdomlink`, `orgdomaincerts`, `orgdomains` where + $query = "select `orgdomaincerts`.`id` as `id` from `orgdomlink`, `orgdomaincerts`, `orgdomains` where `orgdomlink`.`orgdomid`=`orgdomains`.`id` and `orgdomaincerts`.`id`=`orgdomlink`.`orgcertid` and `orgdomains`.`id`='".intval($drow['id'])."'"; @@ -2244,7 +2237,7 @@ mysql_query("delete from `orgdomlink` where `domid`='".intval($row['id'])."'"); } - $query = "select `orgemailcerts`.`id` as `id` from `orgemailcerts`, `orgemaillink`, `orgdomains` where + $query = "select `orgemailcerts`.`id` as `id` from `orgemailcerts`, `orgemaillink`, `orgdomains` where `orgemaillink`.`domid`=`orgdomains`.`id` and `orgemailcerts`.`id`=`orgemaillink`.`emailcertsid` and `orgdomains`.`id`='".intval($drow['id'])."'"; @@ -2324,8 +2317,8 @@ $row = mysql_fetch_assoc($res); if ( !is_assurer(intval($row['id'])) ) { - $id = $oldid;
- $oldid=0;
+ $id = $oldid; + $oldid=0; $_SESSION['_config']['errmsg'] = _("The user is not an Assurer yet"); } else { @@ -2459,7 +2452,7 @@ exit; } - if($oldid == 54 || ($id == 53 && array_key_exists('action',$_REQUEST) && $_REQUEST['action'] != "") || + if($oldid == 54 || ($id == 53 && array_key_exists('action',$_REQUEST) && $_REQUEST['action'] != "") || ($id == 54 && array_key_exists('action',$_REQUEST) && $_REQUEST['action'] != "" && $_REQUEST['action'] != "aliases" && $_REQUEST['action'] != "edit" && $_REQUEST['action'] != "add")) { @@ -2578,6 +2571,12 @@ mysql_query($query); } + if($oldid == 43 && $_REQUEST['action'] == 'revokecert') + { + $userid = intval($_REQUEST['userid']); + revoke_all_private_cert($userid); + } + if($oldid == 48 && $_REQUEST['domain'] == "") { $id = $oldid; @@ -2676,7 +2675,7 @@ showfooter(); exit; } - + if (($weakKey = checkWeakKeyCSR($CSR)) !== "") { showheader(_("My CAcert.org Account!")); @@ -2685,7 +2684,7 @@ exit; } - $query = "insert into `domaincerts` set + $query = "insert into `domaincerts` set `CN`='".$_SESSION['_config']['0.CN']."', `domid`='".$_SESSION['_config']['row']['id']."', `created`=NOW()"; @@ -2749,7 +2748,7 @@ if($id == 43 && array_key_exists('locked',$_REQUEST) && $_REQUEST['locked'] > 0) { - csrf_check('admactlock'); + csrf_check('admactlock'); $memid = $_REQUEST['userid'] = intval($_REQUEST['locked']); $query = "select * from `users` where `id`='$memid'"; $row = mysql_fetch_assoc(mysql_query($query)); @@ -2874,23 +2873,33 @@ if($oldid == 50 && $process != "") { $_REQUEST['userid'] = intval($_REQUEST['userid']); - $res = mysql_query("select * from `users` where `id`='".intval($_REQUEST['userid'])."'"); - if(mysql_num_rows($res) > 0) - { - $query = "update `domaincerts`,`domains` SET `domaincerts`.`revoked`='1970-01-01 10:00:01' - WHERE `domaincerts`.`domid` = `domains`.`id` AND `domains`.`memid`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); - $query = "update `domains` SET `deleted`=NOW() WHERE `domains`.`memid`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); - $query = "update `emailcerts` SET `revoked`='1970-01-01 10:00:01' WHERE `memid`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); - $query = "update `email` SET `deleted`=NOW() WHERE `memid`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); - $query = "delete from `org` WHERE `memid`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); - $query = "update `users` SET `deleted`=NOW() WHERE `id`='".intval($_REQUEST['userid'])."'"; - mysql_query($query); + if (trim($_REQUEST['arbitrationno'])==""){ + showheader(_("My CAcert.org Account!")); + echo _("You did not enter an arbitration number."); + showfooter(); + exit; } + if (check_email_exists($_REQUEST['arbitrationno'].'@cacert.org')) { + showheader(_("My CAcert.org Account!")); + printf(_("The email address '%s' is already in a different account. Can't continue."), sanitizeHTML($_REQUEST['arbitrationno'].'@cacert.org')); + showfooter(); + exit; + } + if (check_client_cert_running($_REQUEST['userid'],1) || + check_server_cert_running($_REQUEST['userid'],1) || + check_gpg_cert_running($_REQUEST['userid'],1)) { + showheader(_("My CAcert.org Account!")); + printf(_("The CCA retention time for at least one certificate is not over. Can't continue.")); + showfooter(); + exit; + } + if (check_is_orgadmin($_REQUEST['userid'],1)) { + showheader(_("My CAcert.org Account!")); + printf(_("The user is listed as Organisation Administrator. Can't continue.")); + showfooter(); + exit; + } + account_delete($_REQUEST['userid'], $_REQUEST['arbitrationno'], $_SESSION['profile']['id']); } if(($id == 51 || $id == 52 || $oldid == 52) && $_SESSION['profile']['tverify'] <= 0) @@ -2974,7 +2983,7 @@ while($row = mysql_fetch_assoc($res)) $body .= $row['comment']."\n"; $body .= "\n"; - + $body .= _("Best regards")."\n"; $body .= _("CAcert Support Team"); sendmail($user['email'], "[CAcert.org] Thawte Notary Points Transfer", $body, "website-form@cacert.org", "support@cacert.org", "", "CAcert Tverify"); @@ -2995,7 +3004,7 @@ $body .= "\n"; $body .= _("You are welcome to try submitting another request at any time in the future, please make sure you take the reviewer comments into consideration or you risk having your application rejected again.")."\n\n"; - + $body .= _("Best regards")."\n"; $body .= _("CAcert Support Team"); sendmail($user['email'], "[CAcert.org] Thawte Notary Points Transfer", $body, "website-form@cacert.org", "support@cacert.org", "", "CAcert Tverify"); diff --git a/includes/account_stuff.php b/includes/account_stuff.php index 148a0ac..b9544e0 100644 --- a/includes/account_stuff.php +++ b/includes/account_stuff.php @@ -262,6 +262,7 @@ function hideall() { <ul class="menu" id="advertising"><li><a href="advertising.php?id=1"><?=_("New Ad")?></a></li><li><a href="advertising.php?id=0"><?=_("View Ads")?></a></li></ul> </div> <? } ?> + <? include("about_menu.php"); ?> </div> <div id="content"> <div class="story"> diff --git a/includes/general.php b/includes/general.php index 3478dd4..bcbe38d 100644 --- a/includes/general.php +++ b/includes/general.php @@ -15,6 +15,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + + require_once(dirname(__FILE__)."/lib/general.php"); + session_name("cacert"); session_start(); @@ -725,37 +728,7 @@ return($text); } - // returns 0 if $userID is an Assurer - // Otherwise : - // Bit 0 is always set - // Bit 1 is set if 100 Assurance Points are not reached - // Bit 2 is set if Assurer Test is missing - // Bit 3 is set if the user is not allowed to be an Assurer (assurer_blocked > 0) - function get_assurer_status($userID) - { - $Result = 0; - $query = mysql_query('SELECT * FROM `cats_passed` AS `tp`, `cats_variant` AS `cv` '. - ' WHERE `tp`.`variant_id` = `cv`.`id` AND `cv`.`type_id` = 1 AND `tp`.`user_id` = \''.(int)intval($userID).'\''); - if(mysql_num_rows($query) < 1) - { - $Result |= 5; - } - - $query = mysql_query('SELECT SUM(`points`) AS `points` FROM `notary` AS `n` WHERE `n`.`to` = \''.(int)intval($userID).'\' AND `n`.`expire` < now()'); - $row = mysql_fetch_assoc($query); - if ($row['points'] < 100) { - $Result |= 3; - } - - $query = mysql_query('SELECT `assurer_blocked` FROM `users` WHERE `id` = \''.(int)intval($userID).'\''); - $row = mysql_fetch_assoc($query); - if ($row['assurer_blocked'] > 0) { - $Result |= 9; - } - - return $Result; - } - + // returns text message to be shown to the user given the result of is_no_assurer function no_assurer_text($Status) { @@ -824,4 +797,5 @@ return $res; } + ?> diff --git a/includes/general_stuff.php b/includes/general_stuff.php index 4c1bd30..10c4e0a 100644 --- a/includes/general_stuff.php +++ b/includes/general_stuff.php @@ -38,7 +38,7 @@ google_color_text = "000000"; google_color_border = "FFFFFF"; //--> </script> -<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><? } else { +<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><? } else { ?><h2><?=_("Free digital certificates!")?></h2><? } ?></div> </div> <div id="pageNav"> @@ -47,15 +47,15 @@ google_color_border = "FFFFFF"; <? if(array_key_exists('mconn',$_SESSION) && $_SESSION['mconn']) { ?> <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=1"><?=_("Join")?></a> <? } ?> - <a href="/policy/CAcertCommunityAgreement.php"><?=_("Community Agreement")?></a> + <a href="/policy/CAcertCommunityAgreement.html"><?=_("Community Agreement")?></a> <a href="/index.php?id=3"><?=_("Root Certificate")?></a> </div> <? if(array_key_exists('mconn',$_SESSION) && $_SESSION['mconn']) { ?> <div class="relatedLinks"> <h3 class="pointer"><?=_("My Account")?></h3> - <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4"><?=_("Password Login")?></a> + <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4"><?=_("Password Login")?></a> <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=5"><?=_("Lost Password")?></a> - <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4&noauto=1"><?=_("Net Cafe Login")?></a> + <a href="https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4&noauto=1"><?=_("Net Cafe Login")?></a> <a href="https://<?=$_SESSION['_config']['securehostname']?>/index.php?id=4"><?=_("Certificate Login")?></a> </div> <? } ?> @@ -137,8 +137,8 @@ if(!function_exists("showfooter")) <a href="/policy/PrivacyPolicy.html"><?=_("Privacy Policy")?></a> | <a href="/index.php?id=51"><?=_("Mission Statement")?></a> | <a href="/index.php?id=11"><?=_("Contact Us")?></a> | ©2002-<?=date("Y")?> <?=_("by CAcert")?></div> -</div> -</body> +</div> +</body> </html><? } } diff --git a/includes/keygen.php b/includes/keygen.php new file mode 100644 index 0000000..09ec7f9 --- /dev/null +++ b/includes/keygen.php @@ -0,0 +1,128 @@ +<? /* + LibreSSL - CAcert web application + Copyright (C) 2004-2011 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 +*/ + +if (array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) { ?> + + <noscript> + <p><?=_('You have to enable JavaScript to generate certificates in the browser.')?></p> + <p><?=_('If you don\'t want to do that for any reason, you can use '. + 'manually created certificate requests instead.')?></p> + </noscript> + + <div id="noActiveX" style="color:red"> + <p><?=_('Could not initialize ActiveX object required for certificate generation.')?></p> + <p><?=_('You have to enable ActiveX for this to work. On Windows Vista, Windows 7 and '. + 'later versions you have to add this website to the list of trusted sites '. + 'in the internet settings.')?></p> + <p><?php + printf(_('Go to "Extras -> Internet Options -> Security -> Trusted '. + 'Websites", click on "Custom Level", set "ActiveX control '. + 'elements that are not marked as safe initialized on start in '. + 'scripts" to "Confirm" and click "OK". Now click "Sites", add '. + '"%s" and "%s" to your list of trusted sites and make the '. + 'changes come into effect by clicking "Close" and "OK".'), + 'https://'.$_SESSION['_config']['normalhostname'], + 'https://'.$_SESSION['_config']['securehostname'])?> + </p> + </div> + + <form method="post" style="display:none" action="account.php" + id="CertReqForm"> + <input type="hidden" name="oldid" value="<?=intval($id)?>" /> + <input type="hidden" id="CSR" name="CSR" /> + <input type="hidden" name="keytype" value="MS" /> + + <p><?=_('Security level')?>: + <select id="SecurityLevel"> + <option value="high" selected="selected"><?=_('High')?></option> + <option value="medium"><?=_('Medium')?></option> + <option value="custom"><?=_('Custom')?>…</option> + </select> + </p> + + <fieldset id="customSettings" style="display:none"> + <legend><?=_('Custom Parameters')?></legend> + + <p><?=_('Cryptography Provider')?>: + <select id="CspProvider"></select> + </p> + <p><?=_('Algorithm')?>: <select id="algorithm"></select></p> + <p><?=_('Keysize')?>: + <input id="keySize" type="number" /> + <?=_('Minimum Size')?>: <span id="keySizeMin"></span>, + <?=_('Maximum Size')?>: <span id="keySizeMax"></span>, + <?php + // TRANSLATORS: this specifies the step between two valid key + // sizes. E.g. if the step is 512 and the minimum is 1024 and + // the maximum is 2048, then only 1024, 1536 and 2048 bits may + // be specified as key size. + echo _('Step')?>: <span id="keySizeStep"></span></p> + <p style="color:red"><?php + printf(_('Please note that RSA key sizes smaller than %d bit '. + 'will not be accepted by CAcert.'), + 1024)?> + </p> + </fieldset> + + <p><input type="submit" id="GenReq" name="GenReq" value="<?=_('Create Certificate')?>" /></p> + <p id="generatingKeyNotice" style="display:none"> + <?=_('Generating your key. Please wait')?>…</p> + </form> + + <!-- Error messages used in the JavaScript. Defined here so they can be + translated without passing the JavaScript code through PHP --> + <p id="createRequestErrorChooseAlgorithm" style="display:none"> + <?=_('Could not generate certificate request. Probably you need to '. + 'choose a different algorithm.')?> + </p> + <p id="createRequestErrorConfirmDialogue" style="display:none"> + <?=_('Could not generate certificate request. Please confirm the '. + 'dialogue if you are asked if you want to generate the key.')?> + </p> + <p id="createRequestErrorConnectDevice" style="display:none"> + <?=_('Could not generate certificate request. Please make sure the '. + 'cryptography device (e.g. the smartcard) is connected.')?> + </p> + <p id="createRequestError" style="display:none"> + <?=_('Could not generate certificate request.')?> + </p> + <p id="invalidKeySizeError" style="display:none"> + <?=_('You have specified an invalid key size')?> + </p> + <p id="unsupportedPlatformError" style="display:none"> + <?=_('Could not initialize the cryptographic module for your '. + 'platform. Currently we support Microsoft Windows XP, Vista '. + 'and 7. If you\'re using one of these platforms and see this '. + 'error message anyway you might have to enable ActiveX as '. + 'described in the red explanation text and accept loading of '. + 'the module.')?> + </p> + + <script type="text/javascript" src="keygenIE.js"></script> + +<? } else { ?> + <p> + <form method="post" action="account.php"> + <input type="hidden" name="keytype" value="NS"> + <?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>"> + + <input type="submit" name="submit" value="<?=_("Create Certificate Request")?>"> + <input type="hidden" name="oldid" value="<?=intval($id)?>"> + </form> + </p> +<? } diff --git a/includes/lib/general.php b/includes/lib/general.php index d91b24e..85b132d 100644 --- a/includes/lib/general.php +++ b/includes/lib/general.php @@ -130,3 +130,34 @@ function runCommand($command, $input = "", &$output = null, &$errors = true) { } } + // returns 0 if $userID is an Assurer + // Otherwise : + // Bit 0 is always set + // Bit 1 is set if 100 Assurance Points are not reached + // Bit 2 is set if Assurer Test is missing + // Bit 3 is set if the user is not allowed to be an Assurer (assurer_blocked > 0) + function get_assurer_status($userID) + { + $Result = 0; + $query = mysql_query('SELECT * FROM `cats_passed` AS `tp`, `cats_variant` AS `cv` '. + ' WHERE `tp`.`variant_id` = `cv`.`id` AND `cv`.`type_id` = 1 AND `tp`.`user_id` = \''.(int)intval($userID).'\''); + if(mysql_num_rows($query) < 1) + { + $Result |= 5; + } + + $query = mysql_query('SELECT SUM(`points`) AS `points` FROM `notary` AS `n` WHERE `n`.`to` = \''.(int)intval($userID).'\' AND `n`.`expire` < now()'); + $row = mysql_fetch_assoc($query); + if ($row['points'] < 100) { + $Result |= 3; + } + + $query = mysql_query('SELECT `assurer_blocked` FROM `users` WHERE `id` = \''.(int)intval($userID).'\''); + $row = mysql_fetch_assoc($query); + if ($row['assurer_blocked'] > 0) { + $Result |= 9; + } + + return $Result; + } +
\ No newline at end of file diff --git a/includes/notary.inc.php b/includes/notary.inc.php index cc0e0eb..240b649 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -602,4 +602,74 @@ <p>[ <a href='javascript:history.go(-1)'><?=_("Go Back")?></a> ]</p> <? } + + //functions to do with recording user agreements + function write_user_agreement($memid, $document, $method, $comment, $active=1, $secmemid=0){ + // write a new record to the table user_agreement + $query="insert into `user_agreements` set `memid`=".$memid.", `secmemid`=".$secmemid. + ",`document`='".$document."',`date`=NOW(), `active`=".$active.",`method`='".$method."',`comment`='".$comment."'" ; + $res = mysql_query($query); + } + + function get_user_agreement_status($memid, $type="CCA"){ + //returns 0 - no user agreement, 1- at least one entry + $query="SELECT u.`document` FROM `user_agreements` u + WHERE u.`document` = '".$type."' AND (u.`memid`=".$memid." or u.`secmemid`=".$memid.")" ; + $res = mysql_query($query); + if(mysql_num_rows($res) <=0){ + return 0; + }else{ + return 1; + } + } + + function get_first_user_agreement($memid, $active=1, $type="CCA"){ + //returns an array (`document`,`date`,`method`, `comment`,`active`) + if($active==1){ + $filter="u.`memid`=".$memid; + }else{ + $filter="u.`secmemid`=".$memid; + } + $query="SELECT u.`document`, u.`date`, u.`method`, u.`comment`, u.`active` FROM `user_agreements` u + WHERE u.`document` = '".$type."' AND ".$filter." + ORDER BY u.`date` Limit 1;"; + $res = mysql_query($query); + if(mysql_num_rows($res) >0){ + $row = mysql_fetch_assoc($res); + $rec['document']= $row['document']; + $rec['date']= $row['date']; + $rec['method']= $row['method']; + $rec['comment']= $row['comment']; + $rec['active']= $row['active']; + }else{ + $rec=array(); + } + return $rec; + } + + function get_last_user_agreement($memid, $type="CCA"){ + //returns an array (`document`,`date`,`method`, `comment`,`active`) + $query="(SELECT u.`document`, u.`date`, u.`method`, u.`comment`, 1 as `active` FROM user_agreements u WHERE u.`document` = '".$type."' AND (u.`memid`=".$memid." ) order by `date` desc limit 1) + union + (SELECT u.`document`, u.`date`, u.`method`, u.`comment`, 0 as `active` FROM user_agreements u WHERE u.`document` = '".$type."' AND ( u.`secmemid`=".$memid.")) order by `date` desc limit 1" ; + $res = mysql_query($query); + if(mysql_num_rows($res) >0){ + $row = mysql_fetch_assoc($res); + $rec['document']= $row['document']; + $rec['date']= $row['date']; + $rec['method']= $row['method']; + $rec['comment']= $row['comment']; + $rec['active']= $row['active']; + }else{ + $rec=array(); + } + return $rec; +} + + function delete_user_agreement($memid, $type="CCA"){ + //deletes all entries to an user for the given type of user agreements + mysql_query("delete from `user_agreements` where `memid`='".$memid."'"); + mysql_query("delete from `user_agreements` where `secmemid`='".$memid."'"); + } + ?> diff --git a/includes/temp_functions.php b/includes/temp_functions.php new file mode 100644 index 0000000..9dba0ae --- /dev/null +++ b/includes/temp_functions.php @@ -0,0 +1,257 @@ +<?php +//just temoprary file to find all function needed for account delete + +function account_email_delete($mailid){ +//deletes an email entry from an acount +//revolkes all certifcates for that email address +//called from www/account.php if($process != "" && $oldid == 2) +//called from www/diputes.php if($type == "reallyemail") / if($action == "accept") +//called from account_delete + $mailid = intval($mailid); + revoke_all_client_cert($mailid); + $query = "update `email` set `deleted`=NOW() where `id`='$mailid'"; + mysql_query($query); +} + +function account_domain_delete($domainid){ +//deletes an domain entry from an acount +//revolkes all certifcates for that domain address +//called from www/account.php if($process != "" && $oldid == 9) +//called from www/diputes.php if($type == "reallydomain") / if($action == "accept") +//called from account_delete + $domainid = intval($domainid); + revoke_all_server_cert($domainid); + mysql_query( + "update `domains` + set `deleted`=NOW() + where `id` = '$domainid'"); +} + +function account_delete($id, $arbno, $adminid){ +//deletes an account following the deleted account routnie V3 +// called from www/account.php if($oldid == 50 && $process != "") +//change password + $id = intval($id); + $arbno = mysql_real_escape_string($arbno); + $adminid = intval($adminid); + $pool = 'abcdefghijklmnopqrstuvwxyz'; + $pool .= '0123456789!()§'; + $pool .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; + srand ((double)microtime()*1000000); + $password=""; + for($index = 0; $index < 30; $index++) + { + $password .= substr($pool,(rand()%(strlen ($pool))), 1); + } + mysql_query("update `users` set `password`=sha1('".$password."') where `id`='".$id."'"); + +//create new mail for arbitration number + $query = "insert into `email` set `email`='".$arbno."@cacert.org',`memid`='".$id."',`created`=NOW(),`modified`=NOW(), `attempts`=-1"; + mysql_query($query); + $emailid = mysql_insert_id(); + +//set new mail as default + $query = "update `users` set `email`='".$arbno."@cacert.org' where `id`='".$id."'"; + mysql_query($query); + +//delete all other email address + $query = "select * from `email` where `memid`='".$id."' and `id`!='".$emailid."'" ; + $res=mysql_query($query); + while($row = mysql_fetch_assoc($res)){ + account_email_delete($row['id']); + } + +//delete all domains + $query = "select * from `domains` where `memid`='".$id."'"; + $res=mysql_query($query); + while($row = mysql_fetch_assoc($res)){ + account_domain_delete($row['id']); + } + +//clear alert settings + mysql_query("update `alerts` set `general`='0' where `memid`='$id'"); + mysql_query("update `alerts` set `country`='0' where `memid`='$id'"); + mysql_query("update `alerts` set `regional`='0' where `memid`='$id'"); + mysql_query("update `alerts` set `radius`='0' where `memid`='$id'"); + +//set default location + $query = "update `users` set `locid`='2256755', `regid`='243', `ccid`='12' where `id`='".$id."'"; + mysql_query($query); + +//clear listings + $query = "update `users` set `listme`=' ',`contactinfo`=' ' where `id`='".$id."'"; + mysql_query($query); + +//set lanuage to default + //set default language + mysql_query("update `users` set `language`='en_AU' where `id`='".$id."'"); + //delete secondary langugaes + mysql_query("delete from `addlang` where `userid`='".$id."'"); + +//change secret questions + for($i=1;$i<=5;$i++){ + $q=""; + $a=""; + for($index = 0; $index < 30; $index++) + { + $q .= substr($pool,(rand()%(strlen ($pool))), 1); + $a .= substr($pool,(rand()%(strlen ($pool))), 1); + } + $query = "update `users` set `Q$i`='$q', `A$i`='$a' where `id`='".$id."'"; + mysql_query($query); + } + +//change personal information to arbitration number and DOB=1900-01-01 + $query = "select `fname`,`mname`,`lname`,`suffix`,`dob` from `users` where `id`='$userid'"; + $details = mysql_fetch_assoc(mysql_query($query)); + $query = "insert into `adminlog` set `when`=NOW(),`old-lname`='${details['lname']}',`old-dob`='${details['dob']}', + `new-lname`='$arbno',`new-dob`='1900-01-01',`uid`='$id',`adminid`='".$adminid."'"; + mysql_query($query); + $query = "update `users` set `fname`='".$arbno."', + `mname`='".$arbno."', + `lname`='".$arbno."', + `suffix`='".$arbno."', + `dob`='1900-01-01' + where `id`='".$id."'"; + mysql_query($query); + +//clear all admin and board flags + mysql_query("update `users` set `assurer`='0' where `id`='$id'"); + mysql_query("update `users` set `assurer_blocked`='0' where `id`='$id'"); + mysql_query("update `users` set `codesign`='0' where `id`='$id'"); + mysql_query("update `users` set `orgadmin`='0' where `id`='$id'"); + mysql_query("update `users` set `ttpadmin`='0' where `id`='$id'"); + mysql_query("update `users` set `locadmin`='0' where `id`='$id'"); + mysql_query("update `users` set `admin`='0' where `id`='$id'"); + mysql_query("update `users` set `adadmin`='0' where `id`='$id'"); + mysql_query("update `users` set `tverify`='0' where `id`='$id'"); + mysql_query("update `users` set `board`='0' where `id`='$id'"); + +//block account + mysql_query("update `users` set `locked`='1' where `id`='$id'"); //, `deleted`=Now() +} + + +function check_email_exists($email){ +// called from includes/account.php if($process != "" && $oldid == 1) +// called from includes/account.php if($oldid == 50 && $process != "") + $email = mysql_real_escape_string($email); + $query = "select * from `email` where `email`='$email' and `deleted`=0"; + $res = mysql_query($query); + return mysql_num_rows($res) > 0; +} + +function check_gpg_cert_running($uid,$cca=0){ + //if $cca =0 if just expired, =1 if CCA retention +3 month should be obeyed + // called from includes/account.php if($oldid == 50 && $process != "") + $uid = intval($uid); + if (0==$cca) { + $query = "select * from `gpg` where `memid`='$uid' and `expire`>NOW()"; + }else{ + $query = "select * from `gpg` where `memid`='$uid' and `expire`>NOW()+90*86400"; + } + $res = mysql_query($query); + return mysql_num_rows($res) > 0; +} + +function check_client_cert_running($uid,$cca=0){ + //if $cca =0 if just expired, =1 if CCA retention +3 month should be obeyed + // called from includes/account.php if($oldid == 50 && $process != "") + $uid = intval($uid); + if (0==$cca) { + $query1 = "select from `domiancerts` where `memid`='$uid' and `expire`>NOW()"; + $query2 = "select from `domiancerts` where `memid`='$uid' and `revoked`>NOW()"; + }else{ + $query1 = "select from `emailcerts` where `memid`='$uid' and `expire`>NOW()+90*86400"; + $query2 = "select from `emailcerts` where `memid`='$uid' and `revoked`>NOW()+90*86400"; + } + $res = mysql_query($query1); + $r1 = mysql_num_rows($res)>0; + $res = mysql_query($query2); + $r2 = mysql_num_rows($res)>0; + return !!($r1 || $r2); +} + +function check_server_cert_running($uid,$cca=0){ + //if $cca =0 if just expired, =1 if CCA retention +3 month should be obeyed + // called from includes/account.php if($oldid == 50 && $process != "") + $uid = intval($uid); + if (0==$cca) { + $query1 = "select from `domiancerts` where `memid`='$uid' and `expire`>NOW()"; + $query2 = "select from `domiancerts` where `memid`='$uid' and `revoked`>NOW()"; + }else{ + $query1 = "select from `domiancerts` where `memid`='$uid' and `expire`>NOW()+90*86400"; + $query2 = "select from `domiancerts` where `memid`='$uid' and `revoked`>NOW()+90*86400"; + } + $res = mysql_query($query1); + $r1 = mysql_num_rows($res)>0; + $res = mysql_query($query2); + $r2 = mysql_num_rows($res)>0; + return !!($r1 || $r2); +} +function check_is_orgadmin($uid){ + // called from includes/account.php if($oldid == 50 && $process != "") + $uid = intval($uid); + $query = "select * from `org` where `memid`='$uid' and `deleted`=0"; + $res = mysql_query($query); + return mysql_num_rows($res) > 0; +} + + +// revokation of certificates +function revoke_all_client_cert($mailid){ + //revokes all client certificates for an email address + $mailid = intval($mailid); + $query = "select `emailcerts`.`id` + from `emaillink`,`emailcerts` where + `emailid`='$mailid' and `emaillink`.`emailcertsid`=`emailcerts`.`id` and + `revoked`=0 and UNIX_TIMESTAMP(`expire`)-UNIX_TIMESTAMP() > 0 + group by `emailcerts`.`id`"; + $dres = mysql_query($query); + while($drow = mysql_fetch_assoc($dres)){ + mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01', `disablelogin`=1 where `id`='".$drow['id']."'"); + } +} + +function revoke_all_server_cert($domainid){ + //revokes all server certs for an domain + $domainid = intval($domainid); + $query = "select distinct `domaincerts`.`id` + from `domaincerts`, `domlink` + where `domaincerts`.`domid` = '$domainid' + or ( + `domaincerts`.`id` = `domlink`.`certid` + and `domlink`.`domid` = '$domainid')"; + $dres = mysql_query($query); + while($drow = mysql_fetch_assoc($dres)) + { + mysql_query( + "update `domaincerts` + set `revoked`='1970-01-01 10:00:01' + where `id` = '".$drow['id']."' + and `revoked` = 0 + and UNIX_TIMESTAMP(`expire`) - + UNIX_TIMESTAMP() > 0"); + } +} + +function revoke_all_private_cert($uid){ + //revokes all certificates linked to a personal accounts + //gpg revokation needs to be added to a later point + $uid=intval($uid); + $query = "select * from `email` where `memid`='".$id."' and `id`!='".$emailid."'" ; + $res=mysql_query($query); + while($row = mysql_fetch_assoc($res)){ + revoke_all_client_cert($row['id']); + } + + + $query = "select * from `domains` where `memid`='".$id."'"; + $res=mysql_query($query); + while($row = mysql_fetch_assoc($res)){ + revoke_all_server_cert($row['id']); + } + +} + +?> diff --git a/includes/wot.inc.php b/includes/wot.inc.php index edc442a..f032307 100644 --- a/includes/wot.inc.php +++ b/includes/wot.inc.php @@ -14,7 +14,7 @@ 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 -*/ +*/ function query_init ($query) { @@ -40,6 +40,15 @@ return intval($row['list']); } + + function get_number_of_ttpassurances ($userid) + { + $res = query_init ("SELECT count(*) AS `list` FROM `notary` + WHERE (`method`='Trusted Third Parties' or `method`='TTP-Assisted') AND `to`='".intval($userid)."' "); + $row = query_getnextrow($res); + + return intval($row['list']); + } function get_number_of_assurees ($userid) { @@ -52,8 +61,8 @@ function get_top_assurer_position ($no_of_assurances) { - $res = query_init ("SELECT count(*) AS `list` FROM `notary` - WHERE `method` = 'Face to Face Meeting' + $res = query_init ("SELECT count(*) AS `list` FROM `notary` + WHERE `method` = 'Face to Face Meeting' GROUP BY `from` HAVING count(*) > '".intval($no_of_assurances)."'"); return intval(query_get_number_of_rows($res)+1); } @@ -83,7 +92,7 @@ $res = query_init ("select count(*) as number,points,awarded,method from notary where `from`='".intval($userid)."' group by points,awarded,method"); return $res; } - + function get_received_assurances_summary ($userid) { $res = query_init ("select count(*) as number,points,awarded,method from notary where `to`='".intval($userid)."' group by points,awarded,method"); @@ -129,7 +138,7 @@ $awarded = 100; } else - $experience = 0; + $experience = 0; switch ($row['method']) { @@ -310,7 +319,7 @@ $res = get_given_assurances(intval($userid)); while($row = mysql_fetch_assoc($res)) { - $fromuser = get_user (intval($row['to'])); + $fromuser = get_user (intval($row['to'])); $apoints = calc_experience ($row,$points,$experience,$sum_experience); $name = show_user_link ($fromuser['fname']." ".$fromuser['lname'],intval($row['to'])); output_assurances_row (intval($row['id']),$row['date'],$row['when'],$name,$apoints,intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience); @@ -364,6 +373,8 @@ break; case 'Unknown': // to be revoked in the future? limit to max 50 pts? case 'Trusted Third Parties': // to be revoked in the future? limit to max 35 pts? + case 'TTP-Assisted': // TTP assurances, limit to 35 + case 'TOPUP': // TOPUP to be delevoped in the future, limit to 30 case '': // to be revoked in the future? limit to max 50 pts? case 'Face to Face Meeting': // normal assurances, limit to 35/50 pts in the future? break; @@ -551,13 +562,13 @@ function AssureHead($confirmation,$checkname) <td class="DataTD" colspan="2" align="left"><?=$checkname?></td> </tr> <? - } + } function AssureTextLine($field1,$field2) { ?> <tr> - <td class="DataTD"><?=$field1?>:</td> + <td class="DataTD"><?=$field1.(empty($field1)?'':':')?></td> <td class="DataTD"><?=$field2?></td> </tr> <? @@ -585,7 +596,7 @@ function AssureMethodLine($text,$methods,$remark) { ?> <tr> - <td class="DataTD"><?=$text?></td> + <td class="DataTD"><?=$text.(empty($text)?'':':')?></td> <td class="DataTD"> <select name="method"> <? @@ -609,7 +620,7 @@ function AssureInboxLine($type,$field,$value,$description) { ?> <tr> - <td class="DataTD"><?=$field?>:</td> + <td class="DataTD"><?=$field.(empty($field)?'':':')?></td> <td class="DataTD"><input type="text" name="<?=$type?>" value="<?=$value?>"><?=$description?></td> </tr> <? @@ -627,3 +638,28 @@ function AssureFoot($oldid,$confirm) <? } +// double with notray.inc +function write_user_agreement($memid, $document, $method, $comment, $active=1, $secmemid=0){ + // write a new record to the table user_agreement + $query="insert into `user_agreements` set `memid`=".$memid.", `secmemid`=".$secmemid. + ",`document`='".$document."',`date`=NOW(), `active`=".$active.",`method`='".$method."',`comment`='".$comment."'" ; + $res = mysql_query($query); +} + +function check_date_format($date, $year=2000){ + //checks if the date is entered in the right date format YYYY-MM-DD and if + if (!strpos($date,'-')) { + return FALSE; + } + $arr=explode('-',$date); + if (intval($arr[0])<=$year) { + return FALSE; + } + return checkdate(intval($arr[1]), intval($arr[2]), intval($arr[0])); + +} + +function check_date_differnce($date, $diff=1){ + //returns false if the date is larger then today + time diffrence + return (strtotime($date)>=time+$diff*86400); +} diff --git a/locale/Makefile b/locale/Makefile index 1517066..4215a4f 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -176,7 +176,8 @@ upload.clean: template.clean messages.pot: $(GETTEXT_FILES) xgettext --output - --sort-by-file --copyright-holder "CAcert Inc." \ --package-name "CAcert" --package-version "$(VERSION)" \ - --msgid-bugs-address "translations-admin@cacert.org" $^ | \ + --msgid-bugs-address "translations-admin@cacert.org" \ + --add-comments=TRANSLATORS $^ | \ # replace place holders in the lines before the first msgid\ sed '1,/^msgid/ { s/SOME DESCRIPTIVE TITLE/$(DESCRITPION)/; s/YEAR/$(COPYRIGHT_YEAR)/; s/PACKAGE/$(PACKAGE)/ }' \ > $@ diff --git a/locale/escape_special_chars.php b/locale/escape_special_chars.php index 32de390..0f494f1 100644 --- a/locale/escape_special_chars.php +++ b/locale/escape_special_chars.php @@ -41,6 +41,9 @@ function is_msgid($line) { return substr_compare($line, MSGID, 0, MSGID_LEN) === 0; } + +////////////// Main ////////////// + // Skip the metadata (first msgid/msgstr pair) while (!feof(STDIN)) { $line = fgets(STDIN); @@ -65,7 +68,13 @@ while (!feof(STDIN)) { } if ($msgstr) { + // Escape everything that has a special HTML entity such as + // > or ä except quote characters $line = htmlentities($line, ENT_NOQUOTES, "UTF-8"); + + // Escape everything else -> all characters that don't have a special + // HTML entity but are outside the ASCII range + $line = mb_convert_encoding($line, "HTML-ENTITIES", "UTF-8"); } echo $line; } diff --git a/pages/account/0.php b/pages/account/0.php index 84b581e..b9b150c 100644 --- a/pages/account/0.php +++ b/pages/account/0.php @@ -29,5 +29,4 @@ <p><?=_("Once you have verified your company you will see these menu options. They allow you to issue as many certificates as you like without proving individual email accounts as you like, further more you are able to get your company details on the certificate.")?></p> <h4><?=_("CAcert Web of Trust")?></h4> <p><?=_("The Web of Trust system CAcert uses is similar to that many involved with GPG/PGP use, they hold face to face meetings to verify each others photo identities match their GPG/PGP key information. CAcert differs however in that we have modified things to work within the PKI framework, for you to gain trust in the system you must first locate someone already trusted. The trust person depending how many people they've trusted or meet before will determine how many points they can issue to you (the number of points they can issue is listed in the locate assurer section). Once you've met up you can show your ID and you will need to fill out a CAP form which the person assuring your details must retain for verification reasons.")?></p> -<p><b><?=_("The former TTP (Trusted Third Party) System has been stopped, and is currently not available.")?></b></p> -<? // "You can also get trust points via the Trust Third Party system where you go to a lawyer, bank manager, accountant, or public notary/juctise of the peace and they via your ID and fill in the TTP form to state they have viewed your ID documents and it appears authentic and true. More information on the TTP system can be found in the TTP sub-menu</p> ?> +<p><b><?=sprintf(_("For information about the TTP-assisted-assurance program please read %s"),"<a href='//wiki.cacert.org/TTP/TTPuser'>https://wiki.cacert.org/TTP/TTPuser</a>","<a href='//wiki.cacert.org/TTP/TTPAL'>https://wiki.cacert.org/TTP/TTPAL</a>")?></b></p> diff --git a/pages/account/12.php b/pages/account/12.php index 44926ca..fa8b41a 100644 --- a/pages/account/12.php +++ b/pages/account/12.php @@ -36,7 +36,7 @@ `domaincerts`.`expire` as `expires`, `revoked` as `revoke`, UNIX_TIMESTAMP(`revoked`) as `revoked`, `CN`, `domaincerts`.`serial`, `domaincerts`.`id` as `id` from `domaincerts`,`domains` - where `memid`='".intval($_SESSION['profile']['id'])."' and `deleted`=0 and `domaincerts`.`domid`=`domains`.`id` "; + where `memid`='".intval($_SESSION['profile']['id'])."' and `domaincerts`.`domid`=`domains`.`id` "; if($viewall != 1) { $query .= "AND `revoked`=0 AND `renewed`=0 "; @@ -49,7 +49,7 @@ { ?> <tr> - <td colspan="6" class="DataTD"><?=_("No domains are currently listed.")?></td> + <td colspan="6" class="DataTD"><?=_("No certificates are currently listed.")?></td> </tr> <? } else { while($row = mysql_fetch_assoc($res)) @@ -85,8 +85,10 @@ <input type="submit" name="revoke" value="<?=_("Revoke/Delete")?>"></td> </tr> <? } ?> + <tr> + <td class="DataTD" colspan="6"><?=_("From here you can delete pending requests, or revoke valid certificates.")?></td> + </tr> </table> <input type="hidden" name="oldid" value="<?=$id?>"> <input type="hidden" name="csrf" value="<?=make_csrf('srvcerchange')?>" /> </form> -<p><?=_("From here you can delete pending requests, or revoke valid certificates.")?></p> diff --git a/pages/account/17.php b/pages/account/17.php index 2ba5390..8ac8b65 100644 --- a/pages/account/17.php +++ b/pages/account/17.php @@ -14,124 +14,6 @@ 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 -*/ ?> -<? if(array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) { ?> -<object classid="clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1" codebase="/xenroll.cab#Version=5,131,3659,0" id="cec"> -<?=_("You must enable ActiveX for this to work.")?> -</object> -<form method="post" action="account.php" name="CertReqForm"><p> -<input type="hidden" name="session" value="UsedXenroll"> -<?=_("Key Strength:")?> <select name="CspProvider"></select> -<input type="hidden" name="oldid" value="<?=$id?>"> -<INPUT TYPE=HIDDEN NAME="CSR"> -<input type="hidden" name="keytype" value="MS"> -<?=_("'Enhanced Provider' is generally the best option, which has a key size of 1024bit. If you need a bigger key size you will need to use a different browser.")?> -<input type="submit" name="GenReq" value="Create Certificate"><br> -</p></form> -<script type="text/vbscript" language="vbscript"> -<!-- -Function GetProviderList() - Dim CspList, cspIndex, ProviderName - On Error Resume Next +*/ - count = 0 - base = 0 - enhanced = 0 - CspList = "" - ProviderName = "" - - For ProvType = 0 to 13 - cspIndex = 0 - cec.ProviderType = ProvType - ProviderName = cec.enumProviders(cspIndex,0) - - while ProviderName <> "" - Set oOption = document.createElement("OPTION") - oOption.text = ProviderName - oOption.value = ProvType - Document.CertReqForm.CspProvider.add(oOption) - if ProviderName = "Microsoft Base Cryptographic Provider v1.0" Then - base = count - end if - if ProviderName = "Microsoft Enhanced Cryptographic Provider v1.0" Then - enhanced = count - end if - cspIndex = cspIndex +1 - ProviderName = "" - ProviderName = cec.enumProviders(cspIndex,0) - count = count + 1 - wend - Next - Document.CertReqForm.CspProvider.selectedIndex = base - if enhanced then - Document.CertReqForm.CspProvider.selectedIndex = enhanced - end if -End Function - -Function CSR(keyflags) - CSR = "" - szName = "" - cec.HashAlgorithm = "MD5" - err.clear - On Error Resume Next - set options = document.all.CspProvider.options - index = options.selectedIndex - cec.providerName = options(index).text - tmpProviderType = options(index).value - cec.providerType = tmpProviderType - cec.KeySpec = 2 - if tmpProviderType < 2 Then - cec.KeySpec = 1 - end if - cec.GenKeyFlags = &h04000001 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = &h04000000 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - if cec.providerName = "Microsoft Enhanced Cryptographic Provider v1.0" Then - if MsgBox("<?=_("The 1024-bit key generation failed. Would you like to try 512 instead?")?>", vbOkCancel)=vbOk Then - cec.providerName = "Microsoft Base Cryptographic Provider v1.0" - else - Exit Function - end if - end if - cec.GenKeyFlags = 1 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = 0 - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") -End Function - -Sub GenReq_OnClick - Dim TheForm - Set TheForm = Document.CertReqForm - err.clear - result = CSR(2) - if len(result)=0 Then - result = MsgBox("Unable to generate PKCS#10.", 0, "Alert") - Exit Sub - end if - TheForm.CSR.Value = result - TheForm.Submit - Exit Sub -End Sub - -GetProviderList() ---> -</script> -<? } else { ?> -<p> -<form method="post" action="account.php"> -<input type="hidden" name="keytype" value="NS"> -<?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>"> - - -<input type="submit" name="submit" value="<?=_("Create Certificate Request")?>"> -<input type="hidden" name="oldid" value="<?=$id?>"> -</form> -</p> -<? } ?> +require_once($_SESSION['_config']['filepath'].'/includes/keygen.php'); diff --git a/pages/account/4.php b/pages/account/4.php index a4d6597..8ac8b65 100644 --- a/pages/account/4.php +++ b/pages/account/4.php @@ -14,177 +14,6 @@ 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 -*/ ?> -<? if(array_key_exists('HTTP_USER_AGENT',$_SERVER) && strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) { ?> -<object classid="clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1" codebase="/xenroll.cab#Version=5,131,3659,0" id="cec"> -<?=_("You must enable ActiveX for this to work. On Vista you have to add this website to the list of trusted sites in the internet-settings.")?><?=_("Go to Extras->Internet Options->Security->Trusted Websites, click on Custom Level, check ActiveX control elements that are not marked as safe initialized on start in scripts")?> -</object> -<form method="post" action="account.php" name="CertReqForm"><p> -<input type="hidden" name="session" value="UsedXenroll"> -<?=_("Key Strength:")?> <select name="CspProvider"></select> -<input type="hidden" name="oldid" value="<?=$id?>"> -<INPUT TYPE=HIDDEN NAME="CSR"> -<input type="hidden" name="keytype" value="MS"> -<input type="submit" name="GenReq" value="Create Certificate"><br> -</p></form> -<script type="text/vbscript" language="vbscript"> -<!-- -Function GetProviderList() - Dim CspList, cspIndex, ProviderName - On Error Resume Next +*/ - count = 0 - base = 0 - enhanced = 0 - CspList = "" - ProviderName = "" - - // Vista: - Set csps = CreateObject("X509Enrollment.CCspInformations") - If IsObject(csps) Then - csps.AddAvailableCsps() - Document.CertReqForm.keytype.value="VI" - For j = 0 to csps.Count-1 - Set oOption = document.createElement("OPTION") - oOption.text = csps.ItemByIndex(j).Name - oOption.value = j - Document.CertReqForm.CspProvider.add(oOption) - Next - - Else - - // 2000,XP: - - For ProvType = 0 to 13 - cspIndex = 0 - cec.ProviderType = ProvType - ProviderName = cec.enumProviders(cspIndex,0) - - while ProviderName <> "" - Set oOption = document.createElement("OPTION") - oOption.text = ProviderName - oOption.value = ProvType - Document.CertReqForm.CspProvider.add(oOption) - if ProviderName = "Microsoft Base Cryptographic Provider v1.0" Then - base = count - end if - if ProviderName = "Microsoft Enhanced Cryptographic Provider v1.0" Then - enhanced = count - end if - cspIndex = cspIndex +1 - ProviderName = "" - ProviderName = cec.enumProviders(cspIndex,0) - count = count + 1 - wend - Next - Document.CertReqForm.CspProvider.selectedIndex = base - if enhanced then - Document.CertReqForm.CspProvider.selectedIndex = enhanced - end if - End If -End Function - -Function CSR(keyflags) - CSR = "" - szName = "" - - - // Vista - if Document.CertReqForm.keytype.value="VI" Then - - Dim g_objClassFactory - Dim obj - Dim objPrivateKey - Dim g_objRequest - Dim g_objRequestCMC - - Set g_objClassFactory=CreateObject("X509Enrollment.CX509EnrollmentWebClassFactory") - Set obj=g_objClassFactory.CreateObject("X509Enrollment.CX509Enrollment") - Set objPrivateKey=g_objClassFactory.CreateObject("X509Enrollment.CX509PrivateKey") - Set objRequest=g_objClassFactory.CreateObject("X509Enrollment.CX509CertificateRequestPkcs10") - //Msgbox exit function - objPrivateKey.ProviderName = Document.CertReqForm.CspProvider(Document.CertReqForm.CspProvider.selectedIndex).text - // "Microsoft Enhanced RSA and AES Cryptographic Provider" - objPrivateKey.ProviderType = "24" - objPrivateKey.KeySpec = "1" - objPrivateKey.ExportPolicy = 1 - objRequest.InitializeFromPrivateKey 1, objPrivateKey, "" - Set objDN = g_objClassFactory.CreateObject("X509Enrollment.CX500DistinguishedName") - objDN.Encode("CN=CAcertRequest") - objRequest.Subject = objDN - - // obj.Initialize(1) - obj.InitializeFromRequest(objRequest) - obj.CertificateDescription="Description" - obj.CertificateFriendlyName="FriendlyName" - CSR=obj.CreateRequest(1) - If len(CSR)<>0 Then Exit Function - Msgbox "<?=_("Error while generating the certificate-request. Please make sure that you have added this website to the list of trusted sites in the Internet-Options menu!")?>" - - else - // XP - - cec.HashAlgorithm = "MD5" - err.clear - On Error Resume Next - set options = document.all.CspProvider.options - index = options.selectedIndex - cec.providerName = options(index).text - tmpProviderType = options(index).value - cec.providerType = tmpProviderType - cec.KeySpec = 2 - if tmpProviderType < 2 Then - cec.KeySpec = 1 - end if - cec.GenKeyFlags = &h04000001 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = &h04000000 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - if cec.providerName = "Microsoft Enhanced Cryptographic Provider v1.0" Then - if MsgBox("<?=_("The 1024-bit key generation failed. Would you like to try 512 instead?")?>", vbOkCancel)=vbOk Then - cec.providerName = "Microsoft Base Cryptographic Provider v1.0" - else - Exit Function - end if - end if - cec.GenKeyFlags = 1 OR keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = keyflags - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - if len(CSR)<>0 then Exit Function - cec.GenKeyFlags = 0 - CSR = cec.createPKCS10(szName, "1.3.6.1.5.5.7.3.2") - End if -End Function - -Sub GenReq_OnClick - Dim TheForm - Set TheForm = Document.CertReqForm - err.clear - result = CSR(2) - if len(result)=0 Then - result = MsgBox("Unable to generate PKCS#10.", 0, "Alert") - Exit Sub - end if - TheForm.CSR.Value = result - TheForm.Submit - Exit Sub -End Sub - -GetProviderList() ---> -</script> -<? } else { ?> -<p> -<form method="post" action="account.php"> -<input type="hidden" name="keytype" value="NS"> -<?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>"> - -<input type="submit" name="submit" value="<?=_("Create Certificate Request")?>"> -<input type="hidden" name="oldid" value="<?=$id?>"> -</form> -</p> -<? } ?> +require_once($_SESSION['_config']['filepath'].'/includes/keygen.php'); diff --git a/pages/account/40.php b/pages/account/40.php index b1a7fdb..a809595 100644 --- a/pages/account/40.php +++ b/pages/account/40.php @@ -29,15 +29,26 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s <p><?=_("You can alternatively use the form below, however joining the list is the prefered option to support your queries")?></p> <form method="post" action="account.php" name="form1"> <input type="hidden" name="oldid" value="<?=$id?>"> - <input type="hidden" name="support" value="yes"> +<!-- <input type="hidden" name="support" value="yes"> --> <input type="hidden" name="secrethash2" value=""> - <table border="0"> - <tr><td width="90"><?=_("Your Name")?>:</td><td><input type="text" name="who"></td><td> </td></tr> - <tr><td><?=_("Your Email")?>:</td><td><input type="text" name="email"></td></tr> - <tr><td><?=_("Subject")?>:</td><td><input type="text" name="subject"></td></tr> - <tr><td colspan="2"><textarea name="message" cols="40" rows="10"></textarea></td></tr> - <tr><td colspan="3"><font color="#ff0000"><?=_("Warning: Please do not enter confidential data into this form, it is being sent to a public mailinglist. Use the form further below instead.")?></font></td></tr> - <tr><td colspan="2"><input type="submit" name="process" value="<?=_("Send")?>"></td></tr> + <p class="robotic" id="pot"> + <label>If you're human leave this blank:</label> + <input name="robotest" type="text" id="robotest" class="robotest" /> + </p> +<table border="0"> + <tr><td width="100"><?=_("Your Name")?>:</td><td width="100"><input type="text" name="who"></td><td width="100"></td><td width="100"></td> + <tr><td width="100"><?=_("Your Email")?>:</td><td colspan="3"><input type="text" name="email"></td> + <tr><td width="100"><?=_("Subject")?>:</td><td colspan="3"><input type="text" name="subject"></td></tr> + <tr><td width="100" valign="top"><?=_("Message")?>:</td><td colspan="3"><textarea name="message" cols="70" rows="10"></textarea></td></tr> + + <tr> + <td colspan="2"><font color="#ff0000"><?=_("Warning: Please do not use \"send to mailing list\" when you entered confidential data. The request is being sent to a public mailinglist.")?></font></td> + <td colspan="2"><?=_("For confidential data use \"send to support\".")?></td> + </tr> + <tr> + <td colspan="2"><input type="submit" name="process[0]" value="<?=_("Send to mailing list")?>"></td> + <td colspan="2"><input type="submit" name="process[1]" value="<?=_("Send to support")?>"></td> + </tr> </table> </form> @@ -50,36 +61,15 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s <p><?=_("There are a number of other mailing lists CAcert runs, some are general discussion, others are technical (such as the development list) or platform specific help (such as the list for Apple Mac users)")?></p> <p><a href="http://lists.cacert.org/"><?=_("Click here to view all lists available")?></a></p> -<p><b><?=_("Sensitive Information")?></b></p> -<p><?=_("If you have questions, comments or otherwise and information you're sending to us contains sensitive details, you should use the contact form below. Due to the large amounts of support emails we receive, sending general questions via this contact form will generally take longer then using the support mailing list. Also sending queries in anything but english could cause delays in supporting you as we'd need to find a translator to help.")?></p> -<form method="post" action="account.php" name="form2"> - <input type="hidden" name="secrethash2" value=""> - <input type="hidden" name="oldid" value="<?=$id?>"> - <table border="0"> - <tr><td><?=_("Your Name")?>:</td><td><input type="text" name="who"></td></tr> - <tr><td><?=_("Your Email")?>:</td><td><input type="text" name="email"></td></tr> - <tr><td><?=_("Subject")?>:</td><td><input type="text" name="subject"></td></tr> - <tr><td colspan="2"><textarea name="message" cols="40" rows="10"></textarea></td></tr> - <tr><td colspan="2"><input type="submit" name="process" value="<?=_("Send")?>"></td></tr> - </table> -</form> - <p><b><?=_("Security Issues")?></b></p> -<p><? sprintf(_("Please use any of the following ways to report security ". +<p><?=sprintf(_("Please use any of the following ways to report security ". "issues: You can use the above contact form for sensitive information. ". "You can email us to %s. You can file a bugreport on %s and mark it as ". "private."), "<a href='mailto:support@cacert.org'>support@cacert.org</a>", "<a href='https://bugs.cacert.org/'>bugs.cacert.org</a>")?></p> -<p><b><?=_("Snail Mail")?></b></p> -<p><?=_("Alternatively you can get in contact with us via the following methods:")?></p> -<p><?=_("Postal Address:")?><br> -CAcert Inc.<br> -P.O. Box 4107<br> -Denistone East NSW 2112<br> -Australia</p> <script type="text/javascript"> <!-- diff --git a/pages/account/41.php b/pages/account/41.php index 4974537..d61d8db 100644 --- a/pages/account/41.php +++ b/pages/account/41.php @@ -25,7 +25,7 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php'); <td colspan="2" class="title"><?=_("My Language Settings")?></td> </tr> <tr> - <td class="DataTD"><?=_("My prefered language")?>:</td> + <td class="DataTD"><?=_("My preferred language")?>:</td> <td class="DataTD"><select name="lang"> <? foreach(L10n::$translations as $key => $val) diff --git a/pages/account/43.php b/pages/account/43.php index 7bf6d04..100c136 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -53,14 +53,14 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); } else { // $email contains non-digits ==> search for mail addresses // Be defensive here (outer join) if primary mail is not listed in email table - $query = "select `users`.`id` as `id`, `email`.`email` as `email` + $query = "select `users`.`id` as `id`, `email`.`email` as `email` from `users` left outer join `email` on (`users`.`id`=`email`.`memid`) - where (`email`.`email` like '$emailsearch' + where (`email`.`email` like '$emailsearch' or `users`.`email` like '$emailsearch') and `users`.`deleted`=0 group by `users`.`id` limit 100"; } - // bug-975 ted+uli changes --- end + // bug-975 ted+uli changes --- end $res = mysql_query($query); if(mysql_num_rows($res) > 1) { ?> <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> @@ -98,8 +98,8 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); if(intval($_REQUEST['userid']) > 0) { - $id = intval($_REQUEST['userid']); - $query = "select * from `users` where `id`='$id' and `users`.`deleted`=0"; + $userid = intval($_REQUEST['userid']); + $query = "select * from `users` where `users`.`id`='$userid' and `users`.`deleted`=0"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) { @@ -133,7 +133,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <td class="DataTD"><?=_("Last Name")?>:</td> <td class="DataTD"> <input type="hidden" name="oldid" value="43"> <input type="hidden" name="action" value="updatedob"> - <input type="hidden" name="userid" value="<?=intval($id)?>"> + <input type="hidden" name="userid" value="<?=intval($userid)?>"> <input type="text" name="lname" value="<?=sanitizeHTML($row['lname'])?>"></td> </tr> <tr> @@ -173,6 +173,10 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <input type="submit" value="Go"></form></nobr></td> </tr> <tr> + <td class="DataTD"><?=_("CCA accepted")?>:</td> + <td class="DataTD"><a href="account.php?id=57&userid=<?=intval($row['id'])?>"><?=intval(get_user_agreement_status($row['id'])) ? _("Yes") : _("No") ?></a></td> + </tr> + <tr> <td class="DataTD"><?=_("Trainings")?>:</td> <td class="DataTD"><a href="account.php?id=55&userid=<?=intval($row['id'])?>">show</a></td> </tr> @@ -338,7 +342,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <td colspan="2" class="title"><?=_("Account State")?></td> </tr> -<? +<? // --- bug-975 begin --- // potential db inconsistency like in a20110804.1 // Admin console -> don't list user account @@ -359,7 +363,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); 4. email.email = primary-email (???) or'd not covered by admin console find user routine, but may block users login 5. users.verified = 0|1 - further "special settings" + further "special settings" 6. users.locked (setting displayed in display form) 7. users.assurer_blocked (setting displayed in display form) @@ -370,7 +374,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); 1. users.verified = 1 2. users.deleted = 0 3. users.locked = 0 - 4. users.email = primary-email + 4. users.email = primary-email --- Assurer, assure someone find user query select * from `users` where `email`='".mysql_escape_string(stripslashes($_POST['email']))."' @@ -384,11 +388,11 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); 1. email.hash = '' Yes No No 2. email.deleted = 0 Yes No No 3. users.deleted = 0 Yes Yes Yes - 4. users.verified = 1 No Yes No + 4. users.verified = 1 No Yes No 5. users.locked = 0 No Yes No 6. users.email = prim-email No Yes Yes 7. email.email = prim-email Yes No No - + full usable account needs all 7 requirements fulfilled so if one setting isn't set/cleared there is an inconsistency either way if eg email.email is not avail, admin console cannot open user info @@ -432,7 +436,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); } - + if ($drow) { $eemail = $drow['eemail']; $edeleted = $drow['edeleted']; @@ -451,11 +455,11 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); } if ($edeleted!=0) { $inconsistency += 8; - $inccause .= (empty($inccause)?"":"<br>")._("Email record set deleted"); + $inccause .= (empty($inccause)?"":"<br>")._("Email record set deleted"); } if ($ehash!='') { $inconsistency += 16; - $inccause .= (empty($inccause)?"":"<br>")._("Email record hash not unset"); + $inccause .= (empty($inccause)?"":"<br>")._("Email record hash not unset"); } } else { $inconsistency = 32; @@ -474,14 +478,14 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); "operations and needs to be fixed manually through arbitration/critical ". "team.")?> </td> - </tr> + </tr> <? } // --- bug-975 end --- ?> </table> <br> -<? +<? // End - Debug infos ?> @@ -510,12 +514,12 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $total = $drow['total']; - + $maxexpire = "0000-00-00 00:00:00"; if ($drow['maxexpire']) { $maxexpire = $drow['maxexpire']; } - + if($total > 0) { $query = "select COUNT(*) as `valid` from `domains` inner join `domaincerts` @@ -526,7 +530,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $valid = $drow['valid']; - + $query = "select COUNT(*) as `expired` from `domains` inner join `domaincerts` on `domains`.`id` = `domaincerts`.`domid` @@ -535,7 +539,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; - + $query = "select COUNT(*) as `revoked` from `domains` inner join `domaincerts` on `domains`.`id` = `domaincerts`.`domid` @@ -568,12 +572,12 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $total = $drow['total']; - + $maxexpire = "0000-00-00 00:00:00"; if ($drow['maxexpire']) { $maxexpire = $drow['maxexpire']; } - + if($total > 0) { $query = "select COUNT(*) as `valid` from `emailcerts` @@ -583,7 +587,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $valid = $drow['valid']; - + $query = "select COUNT(*) as `expired` from `emailcerts` where `memid` = '".intval($row['id'])."' @@ -591,7 +595,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; - + $query = "select COUNT(*) as `revoked` from `emailcerts` where `memid` = '".intval($row['id'])."' @@ -623,12 +627,12 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $total = $drow['total']; - + $maxexpire = "0000-00-00 00:00:00"; if ($drow['maxexpire']) { $maxexpire = $drow['maxexpire']; } - + if($total > 0) { $query = "select COUNT(*) as `valid` from `gpg` @@ -637,7 +641,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $valid = $drow['valid']; - + $query = "select COUNT(*) as `expired` from `emailcerts` where `memid` = '".intval($row['id'])."' @@ -645,7 +649,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; - + ?> <td class="DataTD"><?=intval($total)?></td> <td class="DataTD"><?=intval($valid)?></td> @@ -662,7 +666,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); </tr> <tr> - <td class="DataTD"><?=_("Org Server")?>:</td> + <td class="DataTD"><a href="account.php?id=58&userid=<?=intval($row['id'])?>"><?=_("Org Server")?></a>:</td> <? $query = "select COUNT(*) as `total`, MAX(`orgcerts`.`expire`) as `maxexpire` @@ -672,12 +676,12 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $total = $drow['total']; - + $maxexpire = "0000-00-00 00:00:00"; if ($drow['maxexpire']) { $maxexpire = $drow['maxexpire']; } - + if($total > 0) { $query = "select COUNT(*) as `valid` from `orgdomaincerts` as `orgcerts` inner join `org` @@ -688,7 +692,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $valid = $drow['valid']; - + $query = "select COUNT(*) as `expired` from `orgdomaincerts` as `orgcerts` inner join `org` on `orgcerts`.`orgid` = `org`.`orgid` @@ -697,7 +701,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; - + $query = "select COUNT(*) as `revoked` from `orgdomaincerts` as `orgcerts` inner join `org` on `orgcerts`.`orgid` = `org`.`orgid` @@ -732,12 +736,12 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $total = $drow['total']; - + $maxexpire = "0000-00-00 00:00:00"; if ($drow['maxexpire']) { $maxexpire = $drow['maxexpire']; } - + if($total > 0) { $query = "select COUNT(*) as `valid` from `orgemailcerts` as `orgcerts` inner join `org` @@ -748,7 +752,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $valid = $drow['valid']; - + $query = "select COUNT(*) as `expired` from `orgemailcerts` as `orgcerts` inner join `org` on `orgcerts`.`orgid` = `org`.`orgid` @@ -757,7 +761,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $dres = mysql_query($query); $drow = mysql_fetch_assoc($dres); $expired = $drow['expired']; - + $query = "select COUNT(*) as `revoked` from `orgemailcerts` as `orgcerts` inner join `org` on `orgcerts`.`orgid` = `org`.`orgid` @@ -780,9 +784,20 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); <? } ?> </tr> + <tr> + <td colspan="6" class="title"> + <form method="post" action="account.php" onSubmit="if(!confirm('<?=_("Are you sure you want to revoke all private certificates?")?>')) return false;"> + <input type="hidden" name="action" value="revokecert"> + <input type="hidden" name="oldid" value="<?=intval($id)?>"> + <input type="hidden" name="userid" value="<?=intval($userid)?>"> + <input type="submit" value="<?=_('revoke certificates')?>"> + </form> + </td> + </tr> </table> <br> + <a href="account.php?id=43&userid=<?=$row['id']?>&shownotary=assuredto"><?=_("Show Assurances the user got")?></a> (<a href="account.php?id=43&userid=<?=$row['id']?>&shownotary=assuredto15"><?=_("New calculation")?></a>) <br /> @@ -884,7 +899,7 @@ function showassuredby() </table> <? } ?> <br><br> -<? } } +<? } } switch ($_GET['shownotary']) { diff --git a/pages/account/49.php b/pages/account/49.php index a5345e6..0218fa0 100644 --- a/pages/account/49.php +++ b/pages/account/49.php @@ -58,7 +58,11 @@ $row = mysql_fetch_assoc($res); $_GET['userid'] = intval($row['id']); } else { - printf(_("No personal domains found matching %s"), sanitizeHTML($domain)); + ?><table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td colspan="5" class="title"><?printf(_("No personal domains found matching %s"), sanitizeHTML($domain));?></td> + </tr> + </table><br><br><? } $query = "select `orgid`,`domain`,`id` from `orgdomains` where `domain` like '$domainsearch' or `id`='$domain' limit 100"; @@ -90,7 +94,11 @@ $row = mysql_fetch_assoc($res); $_GET['userid'] = intval($row['id']); } else { - printf(_("No organisational domains found matching %s"), sanitizeHTML($domain)); + ?><table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td colspan="5" class="title"><?printf(_("No organisational domains found matching %s"), sanitizeHTML($domain));?></td> + </tr> + </table><br><br><? } } diff --git a/pages/account/50.php b/pages/account/50.php index 1604156..48c8896 100644 --- a/pages/account/50.php +++ b/pages/account/50.php @@ -19,13 +19,17 @@ <form method="post" action="account.php"> <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> <tr> - <td colspan="2" class="title"><?=_("Change Password")?></td> + <td colspan="2" class="title"><?=_("Delete Account")?></td> </tr> <tr> <td class="DataTD"><?=_("Email")?>:</td> <td class="DataTD"><b><?=sanitizeHTML($_REQUEST['email'])?></b></td> </tr> <tr> + <td class="DataTD"><?=_("Username from arbitration number.")?>:</td> + <td class="DataTD"><input type="text" name="arbitrationno"></td> + </tr> + <tr> <td class="DataTD" colspan="2"><?=_("Are you sure you want to delete this user, while not actually deleting the account it will completely disable it and revoke any/all certificates currently issued.")?></td> </tr> <tr> diff --git a/pages/account/57.php b/pages/account/57.php new file mode 100644 index 0000000..76eee27 --- /dev/null +++ b/pages/account/57.php @@ -0,0 +1,107 @@ +<? /* + 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 +*/ ?> +<? + include_once($_SESSION['_config']['filepath'].'/includes/notary.inc.php'); + + if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST) || intval($_REQUEST['userid']) < 1) { + + echo _('You do not have access to this page'); + + } else { + $user_id = intval($_REQUEST['userid']); + $query = "select * from `users` where `id`='$user_id' and `users`.`deleted`=0"; + $res = mysql_query($query); + if(mysql_num_rows($res) <= 0) + { + echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!"); + } else { + $row = mysql_fetch_assoc($res); +?> +<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td colspan="5" class="title"><?=_('CCA agreement of').' '.sanitizeHTML($row['fname']).' '.sanitizeHTML($row['mname']).' '.sanitizeHTML($row['lname'])?></td> + </tr> +</table> + + +<br> +<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td class="DataTD"><b><?=_('CCA type')?></b></td> + <td class="DataTD"><b><?=_('Date')?></b></td> + <td class="DataTD"><b><?=_('Method')?></b></td> + <td class="DataTD"><b><?=_('Type')?></b></td> + </tr> +<? + $data=get_first_user_agreement($user_id,1); + if (!isset($data['active'])){ + $type=''; + }else{ + $type=_('active'); + } +?> + <tr> + <td class="DataTD"><?=_('First active CCA')?></td> + <td class="DataTD"><?=$data['date']?></td> + <td class="DataTD"><?=$data['method']?></td> + <td class="DataTD"><?=$type?></td> + </tr> +<? + $data=get_first_user_agreement($user_id,0); + if (!isset($data['active'])){ + $type=""; + }else{ + $type=_('passive'); + } +?> + <tr> + <td class="DataTD"><?=_('First passive CCA')?></td> + <td class="DataTD"><?=$data['date']?></td> + <td class="DataTD"><?=$data['method']?></td> + <td class="DataTD"><?=$type?></td> + </tr> +<? + $data=get_last_user_agreement($user_id); + if (!isset($data['active'])){ + $type=""; + }elseif($data['active']==1){ + $type=_('active'); + }else{ + $type=_('passive'); + } +?> + <tr> + <td class="DataTD"><?=_('Last CCA')?></td> + <td class="DataTD"><?=$data['date']?></td> + <td class="DataTD"><?=$data['method']?></td> + <td class="DataTD"><?=$type?></td> + </tr> +</table> +<br> +<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> +<? + if ($_SESSION['profile']['admin'] == 1 && array_key_exists('userid',$_REQUEST) && intval($_REQUEST['userid']) > 0) { +?> + <tr><td colspan="3" class="DataTD"><a href="account.php?id=43&userid=<?=$user_id ?>">back</a></td></tr> +<? } +?> </table> +<? + } +} +?> diff --git a/pages/account/58.php b/pages/account/58.php new file mode 100644 index 0000000..9b5234c --- /dev/null +++ b/pages/account/58.php @@ -0,0 +1,61 @@ +<? /* + 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 +*/ + +if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST) || intval($_REQUEST['userid']) < 1) { + echo _('You do not have access to this page'); +} else { + $user_id = intval($_REQUEST['userid']); + $query = "select `users`.`fname`, `users`.`mname`, `users`.`lname` from `users` where `id`='$user_id' and `users`.`deleted`=0"; + $res = mysql_query($query); + if(mysql_num_rows($res) != 1){ + echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!"); + } else { + if ($row = mysql_fetch_assoc($res)){ + $username=sanitizeHTML($row['fname']).' '.sanitizeHTML($row['mname']).' '.sanitizeHTML($row['lname']); + $query = "select `orginfo`.`o`, `org`.`masteracc` + FROM `orginfo`, `org` + WHERE `orginfo`.`id` = `org`.`orgid` + AND `users`.`id`='$user_id' order by `orginfo`.`o`"; + $res1 = mysql_query($query);?> + <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"><? + if (mysql_num_rows($res1) <= 0) {?> + <tr> + <td colspan="2" class="title"><?=sprintf(_('%s is not listed as Organisation Administrator'), $username)?></td> + </tr> + <?}else{?> + <tr> + <td colspan="2" class="title"><?=sprintf(_('%s is listed as Organisation Administrator for:'), $username)?></td> + </tr> + <tr> + <td class="DataTD"><b><?=_('Organisation')?></b></td> + <td class="DataTD"><b><?=_('Masteraccount')?></b></td> + </tr><? + while($drow = mysql_fetch_assoc($res)){?> + <tr> + <td class="DataTD"><?=$drow['o']?></td> + <td class="DataTD"><?=$drow['masteracc'] ? _("Yes") : _("No") ?></td> + </tr> + <?} + } + ?></table> +<? }else{ + echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!"); + } + } +} +?> diff --git a/pages/account/6.php b/pages/account/6.php index 38af8e8..90affac 100644 --- a/pages/account/6.php +++ b/pages/account/6.php @@ -14,46 +14,95 @@ 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 -*/ ?> -<? - $certid = 0; if(array_key_exists('cert',$_REQUEST)) $certid=intval($_REQUEST['cert']); - - $query = "select * from `emailcerts` where `id`='$certid' and `memid`='".intval($_SESSION['profile']['id'])."'"; - $res = mysql_query($query); - if(mysql_num_rows($res) <= 0) - { - showheader(_("My CAcert.org Account!")); - echo _("No such certificate attached to your account."); - showfooter(); +*/ + +// Get certificate information +$certid = 0; +if(array_key_exists('cert',$_REQUEST)) { + $certid = intval($_REQUEST['cert']); +} + +$query = "select * from `emailcerts` + where `id`='$certid' + and `memid`='".intval($_SESSION['profile']['id'])."'"; +$res = mysql_query($query); +if(mysql_num_rows($res) <= 0) { + showheader(_("My CAcert.org Account!")); + echo _("No such certificate attached to your account."); + showfooter(); + exit; +} +$row = mysql_fetch_assoc($res); + + +if (array_key_exists('format', $_REQUEST)) { + // Which output format? + if ($_REQUEST['format'] === 'der') { + $outform = '-outform DER'; + $extension = 'cer'; + } else { + $outform = '-outform PEM'; + $extension = 'crt'; + } + + $crtname=escapeshellarg($row['crt_name']); + $cert = `/usr/bin/openssl x509 -in $crtname $outform`; + + header("Content-Type: application/pkix-cert"); + header("Content-Length: ".strlen($cert)); + + $fname = sanitizeFilename($row['CN']); + if ($fname=="") $fname="certificate"; + header("Content-Disposition: attachment; filename=\"${fname}.${extension}\""); + + echo $cert; + exit; + +} elseif (array_key_exists('install', $_REQUEST)) { + if (array_key_exists('HTTP_USER_AGENT',$_SERVER) && + strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) { + + // Handle IE + + //TODO + + } else { + // All other browsers + $crtname=escapeshellarg($row['crt_name']); + $cert = `/usr/bin/openssl x509 -in $crtname -outform DER`; + + header("Content-Type: application/x-x509-user-cert"); + header("Content-Length: ".strlen($cert)); + + $fname = sanitizeFilename($row['CN']); + if ($fname=="") $fname="certificate"; + header("Content-Disposition: inline; filename=\"${fname}.cer\""); + + echo $cert; exit; } - $row = mysql_fetch_assoc($res); +} else { + + showheader(_("My CAcert.org Account!")); + echo "<h3>"._("Install your certificate")."</h3>\n"; + + echo "<p><a href='account.php?id=6&cert=$certid&install'>". + _("Install the certificate into your browser"). + "</a></p>\n"; + + echo "<p><a href='account.php?id=6&cert=$certid&format=pem'>". + _("Download the certificate in PEM format")."</a></p>\n"; + + echo "<p><a href='account.php?id=6&cert=$certid&format=der'>". + _("Download the certificate in DER format")."</a></p>\n"; + + showfooter(); + exit; +} - $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname`; - if($row['keytype'] == "NS") - { - if(array_key_exists('install',$_REQUEST) && $_REQUEST['install'] == 1) - { - header("Content-Type: application/x-x509-user-cert"); - header("Content-Length: ".strlen($cert)); - $fname=sanitizeFilename($row['CN']); - if($fname=="") $fname="certificate"; - header('Content-Disposition: inline; filename="'.$fname.'.crt"'); - echo $cert; - exit; - } else { - showheader(_("My CAcert.org Account!")); - echo "<h3>"._("Installing your certificate")."</h3>\n"; - echo "<p>"._("You are about to install a certificate, if you are using mozilla/netscape based browsers you will not be informed that the certificate was installed successfully, you can go into the options dialog box, security and manage certificates to view if it was installed correctly however.")."</p>\n"; - echo "<p><a href='account.php?id=6&cert=$certid&install=1'>"._("Click here")."</a> "._("to install your certificate.")."</p>\n"; - showfooter(); - exit; - } - } else { - showheader(_("My CAcert.org Account!")); ?> +<!-- to be converted to JavaScript --> <h3><?=_("Installing your certificate")?></h3> <p><?=_("Hit the 'Install your Certificate' button below to install the certificate into MS IE 5.x and above.")?> @@ -125,12 +174,3 @@ End Sub </SCRIPT> -<p><?=_("Your certificate:")?></p> -<pre><?=$cert?></pre> -<? - - showfooter(); - exit; - } -?> - diff --git a/pages/index/0.php b/pages/index/0.php index d1d3fef..1c9489e 100644 --- a/pages/index/0.php +++ b/pages/index/0.php @@ -19,7 +19,7 @@ <p><?=sprintf(_("If you want to have free certificates issued to you, join the %s CAcert Community %s."),"<a href=\"https://www.cacert.org/index.php?id=1\">","</a>")?></p> -<p><?=sprintf(_("If you want to use certificates issued by CAcert, read the CAcert %s Root Distribution License %s."),'<a href="/policy/RootDistributionLicense.php">',"</a>")?> +<p><?=sprintf(_("If you want to use certificates issued by CAcert, read the CAcert %s Root Distribution License %s."),'<a href="/policy/RootDistributionLicense.html">',"</a>")?> <?=sprintf(_("This license applies to using the CAcert %s root keys %s."),'<a href="/index.php?id=3">','</a>')?></p> @@ -92,7 +92,7 @@ <p><?=sprintf(_("Have you passed the CAcert %s Assurer Challenge %s yet?"),'<a href="http://wiki.cacert.org/wiki/AssurerChallenge">','</a>')?></p> -<p><?=sprintf(_("Have you read the CAcert %sCommunity Agreement%s yet?"),'<a href="/policy/CAcertCommunityAgreement.php">','</a>')?></p> +<p><?=sprintf(_("Have you read the CAcert %sCommunity Agreement%s yet?"),'<a href="/policy/CAcertCommunityAgreement.html">','</a>')?></p> <p><?=sprintf(_("For general documentation and help, please visit the CAcert %sWiki Documentation site %s."),'<a href="http://wiki.CAcert.org">','</a>')?> <?=sprintf(_("For specific policies, see the CAcert %sApproved Policies page%s."),'<a href="/policy/">',"</a>")?></p> @@ -121,6 +121,7 @@ <ul> <li>Account Name: CAcert Inc</li> +<li>SWIFT: WPACAU2S</li> <li>BSB: 032073</li> <li>Account No.: 180264</li> </ul> @@ -128,44 +129,3 @@ <?=_("If you want to participate in CAcert.org, have a look")?> <a href="http://wiki.cacert.org/wiki/HelpingCAcert"><?=_("here")?></a> <?=_("and")?> <a href="http://wiki.cacert.org/wiki/SystemTasks"><?=_("here")?></a>. -<!-- -<h3><?=_("For CAcert Association Members")?></h3> - -<b><?=_("Have you paid your CAcert Association membership fees for the year?")?></b> -<p><?=_("If not then select this PayPal button to pay your US$10 membership fee for the year.")?></p> -<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> -<input type="hidden" name="cmd" value="_s-xclick"> -<input type="image" src="/images/payment2.png" border="0" name="submit" alt="Make payments with PayPal"> -<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHiAYJKoZIhvcNAQcEoIIHeTCCB3UCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAVW/F7PUYp3SMSCdOj1L4lNmZk8TPLmyFBXiYe/dP6bdcsvvx0A58mLC/3j961TCs95gXWqYx5vDD9znDEii5An7weRqtaxFa9B+UplKT2kcQJpi45zsGKzhwtHF/g0aJQdLmzrDYNnWd16UvhuasUIV501LaZB3ykq5j2eDJV/DELMAkGBSsOAwIaBQAwggEEBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECJHKnDgLaYrEgIHgjYPDm0r2cH9hexIMEuCuiO9eOIsYxpzC50y9+ZWltUA9Eqp8avPT3ExC4qaw6FS8eo4+UWweESWXpAk3QrNTXgeV+Zf/4RjUEurpkRECinPUCtTgJvs6XLaPU50hAAaV9QmknT4DICcmB7djry0tB1FbLOmnqMyOTpT2pKDuL7r6hgEIAnCyASBtO5E8YJWFgSneQ53PbtT+YuAcVwIOD83wFRDAjlwYhs50VD6ugK07SXxC5I8RFV65PZS/qIiEEBCv7yiXi/U9DK4QG+3ojuxkP6ZjwshGb/99uK1NZCqgggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wHhcNMDQwMjEzMTAxMzE1WhcNMzUwMjEzMTAxMzE1WjCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMFHTt38RMxLXJyO2SmS+Ndl72T7oKJ4u4uw+6awntALWh03PewmIJuzbALScsTS4sZoS1fKciBGoh11gIfHzylvkdNe/hJl66/RGqrj5rFb08sAABNTzDTiqqNpJeBsYs/c2aiGozptX2RlnBktH+SUNpAajW724Nv2Wvhif6sFAgMBAAGjge4wgeswHQYDVR0OBBYEFJaffLvGbxe9WT9S1wob7BDWZJRrMIG7BgNVHSMEgbMwgbCAFJaffLvGbxe9WT9S1wob7BDWZJRroYGUpIGRMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzExMDMwNzA2NDdaMCMGCSqGSIb3DQEJBDEWBBQQVDeJMeMteu3fuP5xIdpSiYrfLDANBgkqhkiG9w0BAQEFAASBgHIt5M/R6uPXFU0bVQJWcoO++ETE4nPbp+Nz+o7bclXsxIQL+yG5C5vQdpgNeCLuq42sPv+QUuVoMxio6hecCgHewwqAxkrUUr+teGOFSEqpfXBhjWfkUvZLvOy1ix6pSpjLnUu4bbJxaA5eM0gZQDZCJ8nh0HxPScdi5BhVuPSk-----END PKCS7----- -"> -</form> -<p><?=_("If you are located in Australia, you can use bank transfer instead and pay the equivalent of US$10 in AU$.")?></p> - -<p><?=_("Please also include Your name in the transaction so we know who it came from or send an email to robert at cacert dot org with the details:")?></p> - -<ul> -<li>Account Name: CAcert Inc</li> -<li>BSB: 032073</li> -<li>Account No.: 180264</li> -</ul> -<br/><br/> ---> - - -<!-- -<h3><?=_("Introduction")?></h3> - -<p><?=_("It's been a long time coming, but the wait was worthwhile, finally you are able to get security at the right price... Free!")?></p> - -<p><?=_("For years we've all been charged high amounts of money to pay for security that doesn't and shouldn't cost the earth.")?></p> - -<p><?=_("The primary goals are:")?> -<ul> -<li><?=_("Inclusion into mainstream browsers!")?></li> -<li><?=_("To provide a trust mechanism to go with the security aspects of encryption.")?></li> -</ul> - -<p><?=sprintf(_("For general documentation and help please see our %s site"), "<a href='http://wiki.CAcert.org'>"._("Wiki Documentation")."</a>")?>.</p> ---> - - diff --git a/pages/index/1.php b/pages/index/1.php index a60a242..b145ac8 100644 --- a/pages/index/1.php +++ b/pages/index/1.php @@ -150,7 +150,7 @@ <td class="DataTD" colspan="3"><?=_("When you click on next, we will send a confirmation email to the email address you have entered above.")?></td> </tr> <tr> - <td class="DataTD" colspan="3"><input type="checkbox" name="cca_agree" value="1" <?=array_key_exists('cca_agree',$_SESSION['signup'])? ($_SESSION['signup']['cca_agree'] == "1" ?"checked=\"checked\"":""):"" ?> ><?=_("I agree to the terms and conditions of the CAcert Community Agreement")?>: <a href="/policy/CAcertCommunityAgreement.php">http://www.cacert.org/policy/CAcertCommunityAgreement.php</a></td> + <td class="DataTD" colspan="3"><input type="checkbox" name="cca_agree" value="1" <?=array_key_exists('cca_agree',$_SESSION['signup'])? ($_SESSION['signup']['cca_agree'] == "1" ?"checked=\"checked\"":""):"" ?> ><?=_("I agree to the terms and conditions of the CAcert Community Agreement")?>: <a href="/policy/CAcertCommunityAgreement.html">http://www.cacert.org/policy/CAcertCommunityAgreement.php</a></td> </tr> <tr> diff --git a/pages/index/11.php b/pages/index/11.php index 60c8941..d1ef4df 100644 --- a/pages/index/11.php +++ b/pages/index/11.php @@ -29,15 +29,26 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s <p><?=_("You can alternatively use the form below, however joining the list is the prefered option to support your queries")?></p> <form method="post" action="index.php" name="form1"> <input type="hidden" name="oldid" value="<?=$id?>"> - <input type="hidden" name="support" value="yes"> +<!-- <input type="hidden" name="support" value="yes"> --> <input type="hidden" name="secrethash2" value=""> + <p class="robotic" id="pot"> + <label>If you're human leave this blank:</label> + <input name="robotest" type="text" id="robotest" class="robotest" /> + </p> <table border="0"> - <tr><td width="90"><?=_("Your Name")?>:</td><td><input type="text" name="who"></td><td> </td></tr> - <tr><td><?=_("Your Email")?>:</td><td><input type="text" name="email"></td></tr> - <tr><td><?=_("Subject")?>:</td><td><input type="text" name="subject"></td></tr> - <tr><td colspan="2"><textarea name="message" cols="40" rows="10"></textarea></td></tr> - <tr><td colspan="3"><font color="#ff0000"><?=_("Warning: Please do not enter confidential data into this form, it is being sent to a public mailinglist. Use the form further below instead.")?></font></td></tr> - <tr><td colspan="2"><input type="submit" name="process" value="<?=_("Send")?>"></td></tr> + <tr><td width="100"><?=_("Your Name")?>:</td><td width="100"><input type="text" name="who"></td><td width="100"></td><td width="100"></td> + <tr><td width="100"><?=_("Your Email")?>:</td><td colspan="3"><input type="text" name="email"></td> + <tr><td width="100"><?=_("Subject")?>:</td><td colspan="3"><input type="text" name="subject"></td></tr> + <tr><td width="100" valign="top"><?=_("Message")?>:</td><td colspan="3"><textarea name="message" cols="70" rows="10"></textarea></td></tr> + + <tr> + <td colspan="2"><font color="#ff0000"><?=_("Warning: Please do not use \"send to mailing list\" when you entered confidential data. The request is being sent to a public mailinglist.")?></font></td> + <td colspan="2"><?=_("For confidential data use \"send to support\".")?></td> + </tr> + <tr> + <td colspan="2"><input type="submit" name="process[0]" value="<?=_("Send to mailing list")?>"></td> + <td colspan="2"><input type="submit" name="process[1]" value="<?=_("Send to support")?>"></td> + </tr> </table> </form> @@ -50,31 +61,8 @@ if(!array_key_exists('secrethash',$_SESSION['_config'])) $_SESSION['_config']['s <p><?=_("There are a number of other mailing lists CAcert runs, some are general discussion, others are technical (such as the development list) or platform specific help (such as the list for Apple Mac users)")?></p> <p><a href="http://lists.cacert.org/"><?=_("Click here to view all lists available")?></a></p> -<p><b><?=_("Sensitive Information")?></b></p> -<p><?=_("If you have questions, comments or otherwise and information you're sending to us contains sensitive details, you should use the contact form below. Due to the large amounts of support emails we receive, sending general questions via this contact form will generally take longer then using the support mailing list. Also sending queries in anything but english could cause delays in supporting you as we'd need to find a translator to help.")?></p> -<form method="post" action="index.php" name="form2"> - <input type="hidden" name="secrethash2" value=""> - <input type="hidden" name="oldid" value="<?=$id?>"> - <table border="0"> - <tr><td><?=_("Your Name")?>:</td><td><input type="text" name="who"></td></tr> - <tr><td><?=_("Your Email")?>:</td><td><input type="text" name="email"></td></tr> - <tr><td><?=_("Subject")?>:</td><td><input type="text" name="subject"></td></tr> - <tr><td colspan="2"><textarea name="message" cols="40" rows="10"></textarea></td></tr> - <tr><td colspan="2"><input type="submit" name="process" value="<?=_("Send")?>"></td></tr> - </table> -</form> - <p><b><?=_("Security Issues")?></b></p> -<p><?=_("Please use any of the following ways to report security issues: You can use the above contact form for sensitive information. You can email us to support@cacert.org. You can file a bugreport on <a href='https://bugs.cacert.org/'>bugs.cacert.org</a> and mark it as private.")?></p> - -<p><b><?=_("Snail Mail")?></b></p> -<p><?=_("Alternatively you can get in contact with us via the following methods:")?></p> - -<p><?=_("Postal Address:")?><br> -CAcert Inc.<br> -P.O. Box 4107<br> -Denistone East NSW 2112<br> -Australia</p> +<p><?=sprintf(_("Please use any of the following ways to report security issues: You can use the above contact form for sensitive information. You can email us to support@cacert.org. You can file a bugreport on %s and mark it as private."),"<a href='https://bugs.cacert.org/'>bugs.cacert.org</a>")?></p> <script type="text/javascript"> <!-- diff --git a/pages/index/13.php b/pages/index/13.php index f2ea173..612422f 100644 --- a/pages/index/13.php +++ b/pages/index/13.php @@ -35,8 +35,9 @@ printf(_("CAcert Inc. is a non-profit association which is legally able to accep <pre> Account Name: CAcert Inc -BSB: 032073 -Account No.: 180264 +SWIFT: WPACAU2S +BSB: 032073 +Account No.: 180264 </pre> <p><?=_("ANY amount will be appreciated - the more funding CAcert receives, the sooner it can achieve the goals of the community.")?></p> diff --git a/pages/index/16.php b/pages/index/16.php index c2cb391..ba3b4ed 100644 --- a/pages/index/16.php +++ b/pages/index/16.php @@ -16,7 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> -<p><?=sprintf(_("You are bound by the %s Root Distribution Licence %s for any re-distributions of CAcert's roots."),"<a href='/policy/RootDistributionLicense.php'>","</a>")?></p> +<p><?=sprintf(_("You are bound by the %s Root Distribution Licence %s for any re-distributions of CAcert's roots."),"<a href='/policy/RootDistributionLicense.html'>","</a>")?></p> <p> Class 1 <?=_("PKI Key")?><br> diff --git a/pages/index/21.php b/pages/index/21.php index 4d2599c..0521f67 100644 --- a/pages/index/21.php +++ b/pages/index/21.php @@ -15,7 +15,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> - +<? /* +page called from the following pages + a. https://wiki.cacert.org/Price [^] + b. https://wiki.cacert.org/CacertMembership/DE [^] + c. https://wiki.cacert.org/CacertMembership [^] + d. https://wiki.cacert.org/CAcertInc [^] + e. https://wiki.cacert.org/Brain/CAcertInc [^] + */ ?> <h3><?=_("For CAcert Association Members")?></h3> <b><?=_("Have you paid your CAcert Association membership fees for the year?")?></b> @@ -40,6 +47,7 @@ <ul> <li>Account Name: CAcert Inc</li> +<li>SWIFT: WPACAU2S</li> <li>BSB: 032073</li> <li>Account No.: 180264</li> </ul> diff --git a/pages/index/3.php b/pages/index/3.php index c2cb391..269e3e8 100644 --- a/pages/index/3.php +++ b/pages/index/3.php @@ -16,11 +16,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> -<p><?=sprintf(_("You are bound by the %s Root Distribution Licence %s for any re-distributions of CAcert's roots."),"<a href='/policy/RootDistributionLicense.php'>","</a>")?></p> +<p><?=sprintf(_("You are bound by the %s Root Distribution Licence %s for any re-distributions of CAcert's roots."),"<a href='/policy/RootDistributionLicense.html'>","</a>")?></p> <p> Class 1 <?=_("PKI Key")?><br> -<a href="index.php?id=17"><?=_("Click here if you want to import the root certificate into Microsoft Internet Explorer 5.x/6.x")?></a><br> +<a href="certs/CAcert_Root_Certificates.msi"><?=_("Windows installer package for browsers that use the Windows certificate store (for example Internet Explorer, Chrome on Windows and Safari on Windows)")?></a><br> <a href="certs/root.crt"><?=_("Root Certificate (PEM Format)")?></a><br> <a href="certs/root.der"><?=_("Root Certificate (DER Format)")?></a><br> <a href="certs/root.txt"><?=_("Root Certificate (Text Format)")?></a><br> diff --git a/pages/index/4.php b/pages/index/4.php index ffbfe26..9eb90af 100644 --- a/pages/index/4.php +++ b/pages/index/4.php @@ -29,7 +29,7 @@ <? } else { ?> <style> .box2 {width:100%;text-align:center;} -.box {background:#F5F7F7;border:2px solid #cccccc;margin:0px auto;height:250px;width:300px;padding:1em;} +.box {background:#F5F7F7;border:2px solid #cccccc;margin:0px auto;height:auto;width:300px;padding:1em;} .smalltext {font-size:10px;} label {width:100px;display:block;float:left;} text {width:166px;display:block;float:left;} @@ -45,15 +45,15 @@ h1 {font-size:1.9em;text-align:center;} <label for="email"><?=_("Email Address")?>:</label><input type='text' name="email" value="<?=sanitizeHTML(array_key_exists("email",$_REQUEST)?$_REQUEST['email']:"")?>" <? if(array_key_exists('notauto',$_REQUEST) && $_REQUEST['noauto'] == 1) echo " autocomplete='off'"; ?>/><br /> <label for="pword"><?=_("Pass Phrase")?>:</label><input type='password' name='pword' autocomplete="off"/><br /> <input type='submit' name="process" value="<?=_("Login")?>" /><br /><br /> -<a href='https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4'><?=_("Password Login")?></a> - -<a href='https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=5'><?=_("Lost Password")?></a> - +<a href='https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4'><?=_("Password Login")?></a> - +<a href='https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=5'><?=_("Lost Password")?></a> - <a href='https://<?=$_SESSION['_config']['normalhostname']?>/index.php?id=4&noauto=1'><?=_("Net Cafe Login")?></a><br /> <p class='smalltext'><?=sprintf(_("If you are having trouble with your username or password, please visit our %swiki page%s for more information"), "<a href='http://wiki.cacert.org/wiki/FAQ/LostPasswordOrAccount' target='_new'>", "</a>");?></p> <input type="hidden" name="oldid" value="<?=$id?>"> </form> </div> </div> -<? } +<? } if(array_key_exists("oldlocation",$_SESSION['_config']) && $_SESSION['_config']['oldlocation']!="") { echo "<br/><center>"._("If you want to use certificate login instead of username+password, please")." <a href='https://secure.cacert.org/".sanitizeHTML($_SESSION['_config']['oldlocation'])."'>"._("click here")."</a></center>"; diff --git a/pages/index/feed.rss b/pages/index/feed.rss new file mode 100644 index 0000000..eb62c13 --- /dev/null +++ b/pages/index/feed.rss @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" --> +<rss version="0.92"> +<channel> + <title>CAcert NEWS Blog</title> + <link>http://blog.cacert.org</link> + <description>CAcert NEWS and up coming events.</description> + <lastBuildDate>Fri, 20 Aug 2010 11:54:30 +0000</lastBuildDate> + <docs>http://backend.userland.com/rss092</docs> + <language>en</language> + + <item> + <title>Looking for confirmation email on creating account?</title> + <description>Please go to https://ca-mgr1.it-sls.de/login login with your just created account and password. +Under MAIL you'll find your individual confirmation email.</description> + <link>https://ca-mgr1.it-sls.de/testsystemdoc.html</link> + </item> + <item> + <title>You are interested in helping Testing ?</title> + <description>Create your test account on the Testserver. Beware of the confirmation email (see above) Entry page for Testers: https://wiki.cacert.org/Software/CurrentTest. Please contact Ulrich becoming a Testteam member.</description> + <link>https://wiki.cacert.org/Software/CurrentTest</link> + </item> + <item> + <title>Dear Testers</title> + <description>We had one work with no activity on the testserver +caused by inactivity by the Software-Assessment +team, caused by router problems at the hosting +site of the testserver. +Probably latter has been fixed. + +The reported bugs can be categorized into +1. Testserver-Mgmt-System related +2. Production Server recovery process to Testserver + and +3. general software errors + +Group 1+2 are essential for our current test phase, +as they covers the problems in building the +base testserver environment that is needed for +testing. + +So language and country selection support is +an essential feature we've worked on the +last week. + +One problem couldn't be solved till today: +secondary language selection +all other country and language related bugs +should be fixed in the meantime. + +Also the Show my Points details now +has the correct script (after some +confusion in the Software-Assessment team +and one developer), comparable to the +script on the production website. + +On the main entry page for testers +https://wiki.cacert.org/Software/CurrentTest +the updates on the bugs are marked with (i) +so here comes the 2nd test round ... + +Please report your found bugs and also success +reports to the listed bug numbers + +Thanks for your assistance .... ;) +</description> + <link>https://cacert1.it-sls.de/</link> + </item> +</channel> +</rss> diff --git a/pages/wot/11.php b/pages/wot/11.php deleted file mode 100644 index e25a862..0000000 --- a/pages/wot/11.php +++ /dev/null @@ -1,52 +0,0 @@ -<? /* - 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 -*/ ?> -<? if($_SESSION['profile']['admin'] == 1) { ?> -<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> - <tr> - <td colspan="2" class="title"><?=_("Organisational Assurance")?></td> - </tr> - <tr> - <td class="DataTD"><b><?=_("Organisation Title")?>:</b></td> - <td class="DataTD"> </td> - </tr> - <tr> - <td class="DataTD"><b><?=_("Contact Email")?>:</b></td> - <td class="DataTD"> </td> - </tr> - <tr> - <td class="DataTD"><b><?=_("Town/Suburb")?>:</b></td> - <td class="DataTD"> </td> - </tr> - <tr> - <td class="DataTD"><b><?=_("State/Province")?>:</b></td> - <td class="DataTD"> </td> - </tr> - <tr> - <td class="DataTD"><b><?=_("Country")?>:</b></td> - <td class="DataTD"> </td> - </tr> - <tr> - <td class="DataTD"><b><?=_("Comments")?>:</b></td> - <td class="DataTD"> </td> - </tr> -</table> -<? } else { ?> -<p><?=_("This page is a work in Progress. Please see this")?> -<a href="http://wiki.cacert.org/wiki/OrganisationEntities"><?=_("article on the Wiki")?></a> -<?=_("for more information about Organizational Support.")?></a></p> -<? } ?> diff --git a/pages/wot/14.php b/pages/wot/14.php deleted file mode 100644 index a827ee4..0000000 --- a/pages/wot/14.php +++ /dev/null @@ -1,51 +0,0 @@ -<? /* - 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 -*/ ?> - -<p>This is a demo page, which isn't fully functional yet.</p> - -<p><?=sprintf(_("If you have a %sSignaturecard%s (also called 'Buergerkarte'), you can digitally sign your assurance request here, and get 50 CAcert points:"),"<a href='http://www.buergerkarte.at/'>","</a>")?><br /></p> - -<p><?=sprintf(_("To get assured with your Signaturecard, you need the ". - "Software from %s. To activate your E-Card, please go to %s."), - "<a href='http://www.buergerkarte.at/bku/'>http://www.buergerkarte.at/bku/</a>", - "<a href='https://www.sozialversicherung.at/signon2-Registrierung/'>https://www.sozialversicherung.at/signon2-Registrierung/</a>" - )?></p> - - -<pre><?=sanitizeHTML($_REQUEST['XMLResponse'])?></pre> - -<h1>1. Step: Assurance form</h1> - -<form name="form" method="post" action="http://localhost:3495/http-security-layer-request"/> - <input type="submit" name="Weiter" value="Start Assurance"> - <input type="hidden" name="XMLRequest" value="<CreateXMLSignatureRequest xmlns='http://www.buergerkarte.at/namespaces/securitylayer/20020831#' xmlns:dsig='http://www.w3.org/2000/09/xmldsig#' xmlns:sl10='http://www.buergerkarte.at/namespaces/securitylayer/20020225#'><KeyboxIdentifier>CertifiedKeypair</KeyboxIdentifier><DataObjectInfo Structure='enveloping'><sl10:DataObject><sl10:XMLContent>Mit dieser Signatur beantragen Sie die Assurance ihres CAcert Accounts '<?=$_SESSION['profile']['email']?>' mit ihrer Buergerkarte.</sl10:XMLContent></sl10:DataObject><sl10:TransformsInfo><sl10:FinalDataMetaInfo><sl10:MimeType>text/plain</sl10:MimeType></sl10:FinalDataMetaInfo></sl10:TransformsInfo></DataObjectInfo></CreateXMLSignatureRequest>"/> - <input type="hidden" name="actualtest_" value="4"/> - <input type="hidden" name="DataURL" value="https://www.cacert.org/tverify/seclayer.php?id=14&user=<?=$_SESSION['profile']['email']?>"/> - <input type="hidden" name="TestResult_" value="<strong>TestResult</strong>"/> -</form> - -<h1>2. Step: Person binding (Birthday)</h1> - -<form name="form" method="post" action="http://localhost:3495/http-security-layer-request"/> - <input type="submit" name="Weiter" value="Read birthday from Card"> - <input type="hidden" name="XMLRequest" value="<InfoboxReadRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/20020225#"><InfoboxIdentifier>IdentityLink</InfoboxIdentifier><BinaryFileParameters ContentIsXMLEntity="true"/></InfoboxReadRequest>"/> - <input type="hidden" name="actualtest_" value="4"/> - <input type="hidden" name="DataURL" value="https://www.cacert.org/tverify/seclayer.php?id=14&user=<?=$_SESSION['profile']['email']?>"/> - <input type="hidden" name="TestResult_" value="<strong>TestResult</strong>"/> -</form> - diff --git a/pages/wot/2.php b/pages/wot/2.php index a75bc57..60135f0 100644 --- a/pages/wot/2.php +++ b/pages/wot/2.php @@ -15,22 +15,13 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> -<span style="background-color: #FF8080; font-size: 150%"> -Note that the <strong>TTP</strong> programme is effectively <strong>Frozen</strong><br> -Until a subsidiary policy under AP is written, it is against AP rules.<br> -</span> - <br> -<h3><?=_("To become an Assurer")?></h3> -<p><?=_("There are several ways to become a CAcert Assurer, the most common of which is face to face meetings with existing assurers, who check your ID documents (you need to show 2 government issued photo ID where possible otherwise you won't be allocated as many points!).")?></p> +<h3><?=_('To become an Assurer')?></h3> -<p><?=_("You can also become a CAcert Assurer by seeking out a public notary, justice of the peace, accountant, lawyer or bank manager. You will need to download and print out a copy of the TTP.pdf and fill in your sections. You will need to produce a photo copy of your ID, which the person assuring you will inspect against the originals. Once they are satisfied the documents appear to be genuine they need to sign the back of the photo copies, and fill in their sections of the TTP document. Once you have had your ID verified by 2 different people, pop the copies + forms in an envelope and post them to:")?></p> +<p><?=_('There are several ways to become a CAcert Assurer, the most common of which is face to face meetings with existing assurers, who check your ID documents (you need to show at least one better two government issued photo ID where possible otherwise you won\'t be allocated as many points!).')?></p> -<p>CAcert Inc.<br> -P.O. Box 4107<br> -Denistone East NSW 2112<br> -Australia</p> +<p><?=sprintf(_('You can also become a CAcert Assurer taking part in the TTP (Trusted Third Party) programme. For more information see the %s.'),'<a href="/wot.php?id=4">TTP page</a>')?></p> -<p><?=_("Upon receiving your documents you will be notified, and points will be added to your account.")?></p> +<p><?=sprintf(_('If you are interested in the TTP programme, read the pages %s for the basic way how the TTP programme works for you, and %s whether the TTP programme affects the country where you are located.'),'<a href="//wiki.cacert.org/TTP/TTPuser">TTPuser</a>','<a href="//wiki.cacert.org/TTP/TTPAL">TTPAL</a>')?> </p> -<p><?=_("Once you have received at least 100 Assurance Points you will have to pass a test called Assurer Challenge, which can be started at").' <a href="https://cats.cacert.org/">https://cats.cacert.org/</a>!'?></p> +<p><?=sprintf(_('Once you have received at least 100 Assurance Points you will have to pass a test called Assurer Challenge, which can be started at %s. For more information explore the wiki regarding the %s.'),'<a href="https://cats.cacert.org">https://cats.cacert.org</a>','<a href="//wiki.cacert.org/AssurerChallenge">Assurer Challenge</a>')?></p> diff --git a/pages/wot/4.php b/pages/wot/4.php index 0da72da..befdfe4 100644 --- a/pages/wot/4.php +++ b/pages/wot/4.php @@ -14,19 +14,69 @@ 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 -*/ ?> -<span style="background-color: #FF8080; font-size: 150%"> -Note that the <strong>TTP</strong> programme is effectively <strong>Frozen</strong><br> -Until a subsidiary policy under AP is written, it is against AP rules.<br> -</span> - <br> +*/ +require_once(dirname(__FILE__).'/../../includes/wot.inc.php'); +?> + <h3><?=_("Trusted Third Parties")?></h3> -<p><?=_("A trusted 3rd party is simply someone in your country that is responsible for witnessing signatures and ID documents. This role is covered by many different titles such as public notary, justice of the peace and so on. Other people are allowed to be authoritative in this area as well, such as bank managers, accountants and lawyers.")?></p> +<p><?=_("The Trusted Third Party (TTP) programme is intended to be used in areas without many CAcert Assurers.")?></p> + +<p><?=_("A Trusted Third Party (TTP) is simply someone in your country that is responsible for witnessing signatures and ID documents. This role is covered by many different titles such as public notary, justice of the peace and so on.")?></p> + +<p><?=_("With the TTP programme you can potentially gain assurance up to a maximum of 100 assurance points.")?></p> + +<p><?=_("Currently CAcert has only developed the TTP programme to the level that you can gain 70 assurance points by TTP assurances.") ?></p> + +<p><?=_("We are working to develop a process that will fill the gap of the missing 30 assurance points to allow you to get the maximum 100 assurance points.")?> </p> + +<p><?=_("In the meanwhile you would need to close this gap with face to face assurances with CAcert Assurers. Think not only travelling to populated countries, but also remember that assurers may occasionally visit your country or area.")?></p> -<p><?=_("You can become a CAcert Assurer by seeking out trusted 3rd parties. You will also need to download and print out a copy of the TTP Form (found under 'CAP/TTP Forms') and fill in your sections. You will need to produce a photo copy of your ID, which the person assuring you will inspect against the originals. Once they are satisfied the documents appear to be genuine they need to sign the back of the photo copies, and fill in their sections of the TTP document. Once you have had your ID verified by 2 different people, pop the copies + forms in an envelope and post them to:")?></p> +<p><?=sprintf(_("If you are interested in the TTP programme, read the pages %s for the basic way how the TTP programme works for you, and %s whether the TTP programme affects the country where you are located."),"<a href='//wiki.cacert.org/TTP/TTPuser'>https://wiki.cacert.org/TTP/TTPuser</a>","<a href='//wiki.cacert.org/TTP/TTPAL'>https://wiki.cacert.org/TTP/TTPAL</a>")?> </p> -<p>CAcert Inc.<br> -P.O. Box 4107<br> -Denistone East NSW 2112<br> -Australia</p> +<? +// test for points <100 +if ($_SESSION['profile']['points']<100){ + // test for TTP assurances + if (get_number_of_ttpassurances(intval($_SESSION['profile']['id']))<2){?> + <p><?=_("If you want to ask for TTP assurances fill out the missing data and send the request to support@cacert.org to start the process. CAcert will then inform you about the next steps.")?></p> + <form method="post" action="wot.php"> + <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td class="DataTD"><?=_("Country where you want to visit the TTP")?></td> + <td class="DataTD"><select size="1" name="country"> + <option>Australia</option> + <option>Puerto Rico</option> + <option>USA</option> + </select></td> + </tr> + <tr> + <td class="DataTD"><?=_("I want to take part in the TTP Topup programme")?></td> + <td class="DataTD"><input type="checkbox" name="ttptopup" value="1"></td> + </tr> + <tr> + <td colspan="2" > + <input type="hidden" name="oldid" value="<?=intval($id)?>"> + <input type="submit" name="ttp" value="<?=_("I need a TTP assurance")?>"> + </td> + </tr> + </table> + </form> +<? //" + } else { + /* As soon as the TPP TOPUP Programme is established this routine should be used + <p><?=_("As you have already got 2 TTP assurances you can only take part in the TTP TOPUP programme. If you want to ask for the TTP TOPUP programme use the submit button to send the request to support@cacert.org to start the process. CAcert will then inform you about the next steps.")?></p> + <form method="post" action="wot.php"> + <input type="hidden" name="oldid" value="<?=intval($id)?>"> + <input type="submit" name="ttptopup" value="<?=_("I need a TTP TOPUP")?>"> + </form> +*/ +?> + <p><?=_("We are working to develop the TTP TOPUP process to be able to fill the gap of the missing 30 assurance points to 100 assurance points. Meanwhile you have to close this gap with face to face assurances from CAcert Assurers. Think not only travelling to populated countries, but as well to assurers visiting your country or area.")?></p> +<? + } +} else { +?> + <p><?=_("You reached the maximum points that can be granted by the TTP programme and therefore you cannot take part in the TTP programme any more.")?></p> +<? +} diff --git a/pages/wot/6.php b/pages/wot/6.php index 28c1875..34a41da 100644 --- a/pages/wot/6.php +++ b/pages/wot/6.php @@ -45,15 +45,17 @@ AssureHead(_("Assurance Confirmation"),sprintf(_("Please check the following details match against what you witnessed when you met %s in person. You MUST NOT proceed unless you are sure the details are correct. You may be held responsible by the CAcert Arbitrator for any issues with this Assurance."), $fname)); AssureTextLine(_("Name"),$name); AssureTextLine(_("Date of Birth"),$dob." ("._("YYYY-MM-DD").")"); - AssureBoxLine("certify",sprintf(_("I certify that %s %s %s has appeared in person"), $fname, $mname, $lname),array_key_exists('certify',$_POST) && $_POST['certify'] == 1); + AssureMethodLine(_("Method"),$methods,''); + AssureBoxLine("certify",sprintf(_("I certify that %s %s %s has appeared in person."), $fname, $mname, $lname),array_key_exists('certify',$_POST) && $_POST['certify'] == 1); + AssureBoxLine("CCAAgreed",sprintf(_("I verify that %s %s %s has accepted the CAcert Community Agreement."), $fname, $mname, $lname),array_key_exists('CCAAgreed',$_POST) && $_POST['CCAAgreed'] == 1); AssureInboxLine("location",_("Location"),array_key_exists('location',$_SESSION['_config'])?$_SESSION['_config']['location']:"",""); - AssureInboxLine("date",_("Date"),array_key_exists('date',$_SESSION['_config'])?$_SESSION['_config']['date']:date("Y-m-d"),"<br/>"._("Please adjust the date if you assured the person on a different day")); - AssureMethodLine(_("Method"),$methods,_("Only tick the next box if the Assurance was face to face.")); + AssureInboxLine("date",_("Date"),array_key_exists('date',$_SESSION['_config'])?$_SESSION['_config']['date']:date("Y-m-d"),"<br/>"._("The date when the assurance took place. Please adjust the date if you assured the person on a different day (YYYY-MM-DD).")); + AssureTextLine("",_("Only tick the next box if the Assurance was face to face.")); AssureBoxLine("assertion",_("I believe that the assertion of identity I am making is correct, complete and verifiable. I have seen original documentation attesting to this identity. I accept that the CAcert Arbitrator may call upon me to provide evidence in any dispute, and I may be held responsible."),array_key_exists('assertion',$_POST) && $_POST['assertion'] == 1); AssureBoxLine("rules",_("I have read and understood the Assurance Policy and the Assurance Handbook and am making this Assurance subject to and in compliance with the policy and handbook."),array_key_exists('rules',$_POST) && $_POST['rules'] == 1); - AssureTextLine(_("Policy"),"<a href=\"/policy/AssurancePolicy.php\" target=\"_blank\">"._("Assurance Policy")."</a> - <a href=\"http://wiki.cacert.org/AssuranceHandbook2\" target=\"_blank\">"._("Assurance Handbook")."</a>"); + AssureTextLine(_("Policy"),"<a href=\"/policy/AssurancePolicy.html\" target=\"_blank\">"._("Assurance Policy")."</a> - <a href=\"http://wiki.cacert.org/AssuranceHandbook2\" target=\"_blank\">"._("Assurance Handbook")."</a>"); AssureInboxLine("points",_("Points"),"","<br />(Max. ".maxpoints().")"); - AssureCCABoxLine("CCAAgreed",sprintf(_("Check this box only if %s agreed to the <a href=\"/policy/CAcertCommunityAgreement.php\">CAcert Community Agreement</a>"),$fname)); - AssureCCABoxLine("CCAAgree",_("Check this box only if YOU agree to the <a href=\"/policy/CAcertCommunityAgreement.php\">CAcert Community Agreement</a>")); +// AssureCCABoxLine("CCAAgreed",sprintf(_("Check this box only if %s agreed to the <a href=\"/policy/CAcertCommunityAgreement.html\">CAcert Community Agreement</a>"),$fname)); +// AssureCCABoxLine("CCAAgree",_("Check this box only if YOU agree to the <a href=\"/policy/CAcertCommunityAgreement.html\">CAcert Community Agreement</a>")); AssureFoot($id,_("I confirm this Assurance")); ?> diff --git a/scripts/47us-fudcon-lawrence-email.txt b/scripts/47us-fudcon-lawrence-email.txt new file mode 100644 index 0000000..d2b6e97 --- /dev/null +++ b/scripts/47us-fudcon-lawrence-email.txt @@ -0,0 +1,26 @@ +Hi,
+
+I'm a Fedora developer and sysadmin (and a CAcert Assurer), and am going to be attending the Fedora Users and Developers Conference which will be held at the University of Kansas, located in Lawrence, KS, from January 18–20, 2013.
+
+We have a GPG/PGP keysigning party planned, and I'm interested in getting some people together to offer CAcert assurances. This is especially important since CAcert will be removing all points formerly obtained by Thawte Point Transfer very soon.
+
+The CAcert Assurance Event will be held on Saturday, January 19, 2013, beginning at 15:30.
+The GPG Keysigning Event will begin at 16:30.
+
+If you are interested in either event, please sign up at:
+http://bit.ly/fudcon2013-keysigning for the keysigning event
+and/or
+http://bit.ly/fudcon2013-cacert-assurance for the CAcert assurance event.
+
+Please contact me at either nb@fedoraproject.org or nb@cacert.org if you have any questions.
+
+Nick
+
+Further infos:
+ * [https://wiki.cacert.org/Events/FUDConLawrence]
+ * CAcert organizing wiki page
+ * [http://fedoraproject.org/wiki/FUDCon:Lawrence_2013]
+ * has more information about FUDCon.
+
+
+Contact: events@cacert.org
diff --git a/scripts/47us-fudcon-lawrence-mail.php.txt b/scripts/47us-fudcon-lawrence-mail.php.txt new file mode 100644 index 0000000..4bb3c8a --- /dev/null +++ b/scripts/47us-fudcon-lawrence-mail.php.txt @@ -0,0 +1,109 @@ +#!/usr/bin/php -q
+<? /*
+ LibreSSL - CAcert web application
+ Copyright (C) 2004-2009 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
+*/
+ include_once("../includes/mysql.php");
+
+ $lines = "";
+ $fp = fopen("47us-fudcon-lawrence-email.txt", "r");
+ while(!feof($fp))
+ {
+ $line = trim(fgets($fp, 4096));
+ $lines .= wordwrap($line, 75, "\n")."\n";
+ }
+ fclose($fp);
+
+
+// $locid = intval($_REQUEST['location']);
+// $maxdist = intval($_REQUEST['maxdist']);
+// maxdist in [Km]
+ $maxdist = 200;
+
+
+// location location.ID
+// verified: 29.4.09 u.schroeter
+// $locid = 7902857; // Paris
+// $locid = 238568; // Bielefeld
+// $locid = 715191; // Hamburg
+// $locid = 1102495; // London
+// $locid = 606058; // Frankfurt
+// $locid = 1775784; // Stuttgart
+// $locid = 228950; // Berlin
+// $locid = 606058; // Frankfurt
+// $locid = 599389; // Flensburg
+// $locid = 61065; // Amsterdam, Eemnes
+// $locid = 228950; // Berlin
+// $locid = 2138880; // Baltimore (Baltimore (city)), Maryland, United States
+// $locid = 1486658; // Potsdam
+// $locid = 664715; // Goteborg, Vastra Gotaland, Sweden
+// $locid = 2094781; // Mission Hills (Los Angeles), California, United States
+// $locid = 423655; // Copenhagen, Kobenhavn*, Denmark
+// $locid = 2093625; // Los Angeles, CA ???
+// $locid = 2094326 // Los Angeles (Los Angeles), California, United States
+// $locid = 2257312; // Sydney, New South Wales, Australia
+// $locid = 572764; // Essen, Nordrhein-Westfalen, Germany
+// $locid = 78; // Aachen, Nordrhein-Westfalen, Germany
+// $locid = 1260319; // Muenchen
+// $locid = 266635; // Bonn, Nordrhein-Westfalen, Germany
+// $locid = 873779; // Karlsruhe, Baden-Wuerttemberg, Germany
+// $locid = 520340; // Dusseldorf, Nordrhein-Westfalen, Germany
+// $locid = 2262656; // Melbourne, Victoria, Australia
+// $locid = 2185076; // Raleigh (Wake), North Carolina, United States
+
+// CAcert Assurance and Keysigning event at FUDcon, Lawrence, KS, Jan 19th 2013
+ $locid = 2126955; // Lawrence (Douglas), Kansas, United States
+ $eventname = "CAcert Assurance and Keysigning at FUDcon Lawrence, KS";
+ $city = "January 19th 2013";
+
+
+ $query = "select * from `locations` where `id`='$locid'";
+ $loc = mysql_fetch_assoc(mysql_query($query));
+
+ $query = "SELECT ROUND(6378.137 * ACOS(0.9999999*((SIN(PI() * $loc[lat] / 180) * SIN(PI() * `locations`.`lat` / 180)) +
+ (COS(PI() * $loc[lat] / 180 ) * COS(PI() * `locations`.`lat` / 180) *
+ COS(PI() * `locations`.`long` / 180 - PI() * $loc[long] / 180)))), -1) AS `distance`, sum(`points`) as pts, `users`.*
+ FROM `locations`
+ inner join `users` on `users`.`locid` = `locations`.`id`
+ inner join `alerts` on `users`.`id`=`alerts`.`memid`
+ inner join `notary` on `users`.`id`=`notary`.`to`
+ WHERE (`alerts`.`general`=1 OR `alerts`.`country`=1 OR `alerts`.`regional`=1 OR `alerts`.`radius`=1)
+ GROUP BY `users`.`id`
+ HAVING `distance` <= '$maxdist'
+ ORDER BY `distance` ";
+ echo $query;
+
+ // comment next line when starting to send mail not only to me
+ // $query = "select * from `users` where `email` like 'cacerttest%'";
+
+ $res = mysql_query($query);
+ $xrows = mysql_num_rows($res);
+
+ while($row = mysql_fetch_assoc($res))
+ {
+ // uncomment next line to send mails ...
+ sendmail($row['email'], "[CAcert.org] $eventname - $city", $lines, "events@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ }
+ // 1x cc to events.cacert.org
+ sendmail("events@cacert.org", "[CAcert.org] $eventname - $city", $lines, "events@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ // 1x mailing report to events.cacert.org
+ sendmail("events@cacert.org", "[CAcert.org] $eventname - $city Report", "invitation sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+
+ // 1x mailing report to Arbitrator of case http://wiki.cacert.org/wiki/Arbitrations/a20090525.1
+ sendmail("p.dunkel@cacert.org", "[CAcert.org] $eventname - $city Report", "invitation sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ echo "invitation sent to $xrows recipients.\n";
+
+?>
diff --git a/scripts/48de-ate-kiel-email.txt b/scripts/48de-ate-kiel-email.txt new file mode 100644 index 0000000..d522cdc --- /dev/null +++ b/scripts/48de-ate-kiel-email.txt @@ -0,0 +1,68 @@ +[Deutsch]
+
+Es hat sich viel getan im letzten Jahr. Eine ganze Reihe von bisher
+eher "muendlich ueberlieferten" Regeln wurden in Policies gegossen.
+Neue Prozeduren (z.B. die Assurer Challenge) und Verpflichtungen (z.B. in dem CAcert Community Agreement) wurden beschlossen. Die Assurer Training Events wollen versuchen, die ganzen Informationen unter’s Volk zu bringen:
+
+- Welcher Satz fehlt auf alten CAP Formularen?
+- Warum soll ich mir R/L/O einpraegen?
+- Wie verhaelst du dich, wenn du ein fremdes Ausweis Dokument das erste mal pruefst?
+
+Antworten auf diese und weitere Fragen erhaelst du bei den Assurer Training Events (ATEs).
+
+Darueberhinaus wird beim ATE der Vorgang der Identitaetsueberpruefung trainiert und auditiert, um die Qualitaet der Assurances in der taeglichen Praxis zu erfassen. Dabei gilt es moegliche Fehler und Fallstricke zu erkennen und aufzudecken. Die Assurer haben also die Moeglichkeit, sich mit den Fehlern auseinanderzusetzen und zu erfahren, wie diese vermieden werden koennen.
+
+Wie IanG sagte: The ATE or Assurer Training Event is exceptionally recommended for all Assurers, and include parts which contribute directly to our audit. Come and find out how you can also contribute.
+
+Die kommende Veranstaltung in deiner Naehe findet statt am:
+
+- Dienstag, den 11. Februar 2013
+- in der Zeit von: 19:00 - ca. 22:00 Uhr
+- Toppoint e.V.
+- Eckernförder Str. 20
+- 24103 Kiel
+
+Details zum Veranstaltungsort und Anfahrthinweise findet Ihr im
+Wiki [http://wiki.cacert.org/Events/2013-02-11ATE-Kiel]
+Blog [http://blog.cacert.org/2013/01/586.html]
+
+Teilnehmer Registrierung mit Rueckantwort:
+ 'Ich moechte am ATE-Kiel teilnehmen'
+
+Das Veranstaltungs-Team freut sich schon auf Eure Teilnahme.
+
+Kontakt: events@cacert.org
+
+
+
+[English]
+
+During the last year many changes took place inside CAcert. Many "oral" rules have been put into Policies. New procedures (e.g. Assurer Challenge) and obligations (e.g. CAcert Community Agreement) have been put into live. The Assurer Training Events (ATE) try to spread this information:
+
+- What is missing on the "old" CAP forms?
+- Why should I remember R/L/O?
+- What can you do if an Assuree shows an ID document unknown to you?
+
+These and more questions will be answered during the Assurer Training Events (ATEs)
+
+Furthermore, the ATE trains how to do assurances and audits assurances, to measure the quality of assurances in the daily routine. Here are some possible errors and pitfalls which need to be found. Assurers have the opportunity to see those errors and how to avoid them.
+
+As IanG said: The ATE or Assurer Training Event is exceptionally recommended for all Assurers and includes parts which contribute directly to our audit. Come and find out how you can also contribute.
+
+The next event held in your area will be:
+
+- Tuesday 11. February 2013
+- during 19:00 - ca. 22:00
+- Toppoint e.V.
+- Eckernförder Str. 20
+- 24103 Kiel
+
+Details to the location can be found:
+Wiki [http://wiki.cacert.org/Events/2013-02-11ATE-Kiel]
+Blog [http://blog.cacert.org/2013/01/586.html]
+
+User reply for registration: 'I will attend the ATE-Kiel'
+
+The event team is looking forward for your attendance:
+
+Contact: events@cacert.org
diff --git a/scripts/48de-ate-kiel-mail.php.txt b/scripts/48de-ate-kiel-mail.php.txt new file mode 100644 index 0000000..9f3ab46 --- /dev/null +++ b/scripts/48de-ate-kiel-mail.php.txt @@ -0,0 +1,114 @@ +#!/usr/bin/php -q
+<? /*
+ LibreSSL - CAcert web application
+ Copyright (C) 2004-2009 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
+*/
+ include_once("../includes/mysql.php");
+
+ $lines = "";
+ $fp = fopen("48de-ate-kiel-email.txt", "r");
+ while(!feof($fp))
+ {
+ $line = trim(fgets($fp, 4096));
+ $lines .= wordwrap($line, 75, "\n")."\n";
+ }
+ fclose($fp);
+
+
+// $locid = intval($_REQUEST['location']);
+// $maxdist = intval($_REQUEST['maxdist']);
+// maxdist in [Km]
+ $maxdist = 200;
+
+
+// location location.ID
+// verified: 29.4.09 u.schroeter
+// $locid = 7902857; // Paris
+// $locid = 238568; // Bielefeld
+// $locid = 715191; // Hamburg
+// $locid = 1102495; // London
+// $locid = 606058; // Frankfurt
+// $locid = 1775784; // Stuttgart
+// $locid = 228950; // Berlin
+// $locid = 606058; // Frankfurt
+// $locid = 599389; // Flensburg
+// $locid = 61065; // Amsterdam, Eemnes
+// $locid = 228950; // Berlin
+// $locid = 2138880; // Baltimore (Baltimore (city)), Maryland, United States
+// $locid = 1486658; // Potsdam
+// $locid = 664715; // Goteborg, Vastra Gotaland, Sweden
+// $locid = 2094781; // Mission Hills (Los Angeles), California, United States
+// $locid = 423655; // Copenhagen, Kobenhavn*, Denmark
+// $locid = 2093625; // Los Angeles, CA ???
+// $locid = 2094326 // Los Angeles (Los Angeles), California, United States
+// $locid = 2257312; // Sydney, New South Wales, Australia
+// $locid = 572764; // Essen, Nordrhein-Westfalen, Germany
+// $locid = 78; // Aachen, Nordrhein-Westfalen, Germany
+// $locid = 1260319; // Muenchen
+// $locid = 266635; // Bonn, Nordrhein-Westfalen, Germany
+// $locid = 873779; // Karlsruhe, Baden-Wuerttemberg, Germany
+// $locid = 520340; // Dusseldorf, Nordrhein-Westfalen, Germany
+// $locid = 2262656; // Melbourne, Victoria, Australia
+// $locid = 2185076; // Raleigh (Wake), North Carolina, United States
+
+// CAcert Assurance and Keysigning event at FUDcon, Lawrence, KS, Jan 19th 2013
+// $locid = 2126955; // Lawrence (Douglas), Kansas, United States
+// $eventname = "CAcert Assurance and Keysigning at FUDcon Lawrence, KS";
+// $city = "January 19th 2013";
+
+// ATE-Kiel 2013-02-11
+ $locid = 919560; // Kiel, Schleswig-Holstein, Germany
+ $eventname = "ATE-Kiel";
+ $city = "11. Februar 2013";
+
+
+ $query = "select * from `locations` where `id`='$locid'";
+ $loc = mysql_fetch_assoc(mysql_query($query));
+
+ $query = "SELECT ROUND(6378.137 * ACOS(0.9999999*((SIN(PI() * $loc[lat] / 180) * SIN(PI() * `locations`.`lat` / 180)) +
+ (COS(PI() * $loc[lat] / 180 ) * COS(PI() * `locations`.`lat` / 180) *
+ COS(PI() * `locations`.`long` / 180 - PI() * $loc[long] / 180)))), -1) AS `distance`, sum(`points`) as pts, `users`.*
+ FROM `locations`
+ inner join `users` on `users`.`locid` = `locations`.`id`
+ inner join `alerts` on `users`.`id`=`alerts`.`memid`
+ inner join `notary` on `users`.`id`=`notary`.`to`
+ WHERE (`alerts`.`general`=1 OR `alerts`.`country`=1 OR `alerts`.`regional`=1 OR `alerts`.`radius`=1)
+ GROUP BY `users`.`id`
+ HAVING `distance` <= '$maxdist'
+ ORDER BY `distance` ";
+ echo $query;
+
+ // comment next line when starting to send mail not only to me
+ // $query = "select * from `users` where `email` like 'cacerttest%'";
+
+ $res = mysql_query($query);
+ $xrows = mysql_num_rows($res);
+
+ while($row = mysql_fetch_assoc($res))
+ {
+ // uncomment next line to send mails ...
+ sendmail($row['email'], "[CAcert.org] $eventname - $city", $lines, "events@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ }
+ // 1x cc to events.cacert.org
+ sendmail("events@cacert.org", "[CAcert.org] $eventname - $city", $lines, "events@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ // 1x mailing report to events.cacert.org
+ sendmail("events@cacert.org", "[CAcert.org] $eventname - $city Report", "invitation sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+
+ // 1x mailing report to Arbitrator of case http://wiki.cacert.org/wiki/Arbitrations/a20090525.1
+ sendmail("p.dunkel@cacert.org", "[CAcert.org] $eventname - $city Report", "invitation sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert Events Organisation", "returns@cacert.org", 1);
+ echo "invitation sent to $xrows recipients.\n";
+
+?>
diff --git a/scripts/cron/removedead.php b/scripts/cron/removedead.php index aadda81..2257dc8 100755 --- a/scripts/cron/removedead.php +++ b/scripts/cron/removedead.php @@ -19,7 +19,8 @@ require_once(dirname(__FILE__).'/../../includes/mysql.php'); require_once(dirname(__FILE__).'/../../includes/lib/l10n.php'); - + require_once(dirname(__FILE__).'/../../includes/notary.inc.php'); + $query = "select * from `users` where `users`.`verified`=0 and (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(`users`.`created`)) >= 172800"; $res = mysql_query($query); @@ -27,6 +28,7 @@ { mysql_query("delete from `email` where `memid`='".$row['id']."'"); mysql_query("delete from `users` where `id`='".$row['id']."'"); + delete_user_agreement($row['id']); } $query = "delete from `domains` where `hash`!='' and diff --git a/scripts/cron/warning.php b/scripts/cron/warning.php index 5cf7c31..0c97ba2 100755 --- a/scripts/cron/warning.php +++ b/scripts/cron/warning.php @@ -72,32 +72,37 @@ echo $row['fname']." ".$row['lname']." <".$row['email']."> (memid: ".$row['memid foreach($days as $day => $warning) { - $query = - "SELECT DISTINCT `domaincerts`.`id`, + $select_clause = + "`domaincerts`.`id`, `users`.`fname`, `users`.`lname`, `users`.`email`, `domains`.`memid`, `domaincerts`.`subject`, `domaincerts`.`crt_name`, `domaincerts`.`CN`, `domaincerts`.`serial`, - (UNIX_TIMESTAMP(`domaincerts`.`expire`) - - UNIX_TIMESTAMP(NOW())) / 86400 AS `daysleft` - - FROM `users`, `domaincerts`, `domlink`, `domains` - WHERE UNIX_TIMESTAMP(`domaincerts`.`expire`) - + (UNIX_TIMESTAMP(`domaincerts`.`expire`) - + UNIX_TIMESTAMP(NOW())) / 86400 AS `daysleft`"; + $where_clause = + "UNIX_TIMESTAMP(`domaincerts`.`expire`) - UNIX_TIMESTAMP(NOW()) > -7 * 86400 - AND UNIX_TIMESTAMP(`domaincerts`.`expire`) - + AND UNIX_TIMESTAMP(`domaincerts`.`expire`) - UNIX_TIMESTAMP(NOW()) < $day * 86400 - AND `domaincerts`.`renewed` = 0 - AND `domaincerts`.`warning` <= '$warning' - AND `domaincerts`.`revoked` = 0 - AND ( - `domaincerts`.`domid` = `domains`.`id` - OR ( - `domaincerts`.`id` = `domlink`.`certid` - AND `domlink`.`domid` = `domains`.`id` - ) - ) - AND `domains`.`memid` = `users`.`id`"; + AND `domaincerts`.`renewed` = 0 + AND `domaincerts`.`warning` <= '$warning' + AND `domaincerts`.`revoked` = 0 + AND `domains`.`memid` = `users`.`id`"; + $query = + "SELECT $select_clause + FROM `users`, `domaincerts`, `domains` + WHERE $where_clause + AND `domaincerts`.`domid` = `domains`.`id` + UNION DISTINCT + SELECT $select_clause + FROM `users`, + `domaincerts` LEFT JOIN `domlink` ON + (`domaincerts`.`id` = `domlink`.`certid`), + `domains` + WHERE $where_clause + AND `domlink`.`domid` = `domains`.`id`"; $res = mysql_query($query); while($row = mysql_fetch_assoc($res)) { diff --git a/scripts/db_migrations/version2.sh b/scripts/db_migrations/version2.sh new file mode 100755 index 0000000..7d940ff --- /dev/null +++ b/scripts/db_migrations/version2.sh @@ -0,0 +1,96 @@ +#!/bin/sh +# LibreSSL - CAcert web application +# Copyright (C) 2004-2011 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 + + + +# script to do database migrations + +# This particular version migrates from the preversioned state to version 1 +# If you want to reuse it for further migrations you probably should pay special +# attention because you have to adjust it a bit + +set -e # script fails if any command fails + +STDIN=0 +STDOUT=1 +STDERR=2 + +if [ "$1" = "--help" ]; then + cat >&$STDERR <<- USAGE + Usage: $0 [MYSQL_OPTIONS] + You have to specify all options needed by "mysql" as if you had started + the MySQL command line client directly (including the name of the + database to operate on). The MySQL user used has to have enough + privileges to do all necessary operations (among others CREATE, ALTER, + DROP, UPDATE, INSERT, DELETE). + You might need to enter the mysql password multiple times if you + specify the -p option. + USAGE + exit 1 +fi + +mysql_opt=" --batch --skip-column-names $@" + +schema_version=$( mysql $mysql_opt <<- 'SQL' + + SELECT MAX(`version`) FROM `schema_version`; +SQL +) +if [ $schema_version != 1 ]; then + cat >&$STDERR <<- ERROR + Error: database schema is not in the right version to do the migration! + Expected version: 1 (i.e. the version before there was versioning) + ERROR + exit 2 +fi + +mysql $mysql_opt <<- 'SQL' + + -- Organisation Assurance bug #1118 + ALTER TABLE `orgemailcerts` ADD `ou` varchar(50) NOT NULL + DEFAULT ''; + + + -- Bugs #855, #863, #864, #888, #1118 + ALTER TABLE `notary` + -- add "TTP-Assisted" as method for point transfers (for TTP) + MODIFY `method` + enum( + 'Face to Face Meeting', + 'Trusted Third Parties', + 'Thawte Points Transfer', + 'Administrative Increase', + 'CT Magazine - Germany', + 'Temporary Increase', + 'Unknown', + 'TOPUP', + 'TTP-Assisted' + ) NOT NULL DEFAULT 'Face to Face Meeting'; + + + + + -- Update schema version number + INSERT INTO `schema_version` + (`version`, `when`) VALUES + ('2' , NOW() ); +SQL + + +echo "Database successfully migrated to version 2" +exit 0 + diff --git a/scripts/oa02-mailingtextCats.txt b/scripts/oa02-mailingtextCats.txt new file mode 100644 index 0000000..044b49b --- /dev/null +++ b/scripts/oa02-mailingtextCats.txt @@ -0,0 +1,71 @@ +(German see below) + +Hello <name>, + +In preparation for an internal test prior to the audit, we checked if the data +entries in the Organisation Accounts are valid. As you are listed as an +Organisation Administrator for at least one organisation account, I found out +that you currently do not match the requirements to be an Organisation +Administrator - in that you need to be an CAcert Assurer. + +The premise to be a CAcert Assurer are that you have: + - got at least 100 Assurance Points + - passed the CATS test + +It is possible that you may have missed some changes within the CAcert +assurance system. + +In 2009 the CATS challenge [1] was introduced. You have to pass it before you +get the CAcert Assurer status. + +In addition, CAcert will be changing the points calculation in the near future. +This was announced in 2011 [2]. + +As you are only missing the CATS challenge, I ask you to do the challenge within +the next 2 months. If you have not passed the CATS test by then, I will have +to delete you as Organisation Administrator from the appropriate accounts. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Thank you for your support. + +Marcus Maengel +CAcert Organisation Assurance Officer + +--------------------------------------------------- + +[German Version] + +Hallo <name>, + +bei der Vorbereitung eines internen Tests vor dem Audit haben wir ueberprueft, +ob die Datensaetze in den Organisationskonten gueltig sind. Da Sie als +Organisations Administrator fuer mindestens ein Organisationskonto eingetragen +sind, habe ich festgestellt, dass Sie zurzeit kein CAcert Assurer sind, was die +Voraussetzung fuer die Taetigkeit als Organisations Administrator ist. + +Als CAcert Assurer muessen Sie die folgenden Vorausetzungen erfuellen: + - Mindestens 100 Assurance-Punkte + - Bestandene Assurer-Pruefung (CATS-Test) + +Moeglicherweise haben Sie einige aenderungen bei CAcert verpasst. + +Im Jahre 2009 wurde die Assurer-Pruefung (Assurer Challenge, CATS Test) [1] +eingefuehrt. Die muessen Sie bestehen, um den Assurer-Status zu erhalten. + +CAcert wird die Punkte-Berechnung in naher Zukunft aendern. Dies wurde bereits +2011 angekuendigt [2]. + +Da Ihnen lediglich die Assurer-Pruefung fehlt, fordere ich Sie auf, diese +Pruefung innerhalb der naechsten 2 Monate nachzuholen. Wenn Sie diese Pruefung +bis dahin nicht abgelegt haben, werde ich Sie als Organisations Administrator +aus den betreffenden Konten austragen. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Vielen Dank fuer Ihre Unterstuetzung. + +Marcus Maengel +CAcert Organisation Assurance Officer
\ No newline at end of file diff --git a/scripts/oa02-mailingtextPoints.txt b/scripts/oa02-mailingtextPoints.txt new file mode 100644 index 0000000..5e0eadf --- /dev/null +++ b/scripts/oa02-mailingtextPoints.txt @@ -0,0 +1,79 @@ +(German see below) + +Hello <name>, + +In preparation for an internal test prior to the audit, we checked if the data +entries in the Organisation Accounts are valid. As you are listed as an +Organisation Administrator for at least one organisation account, I found out +that you currently do not match the requirements to be an Organisation +Administrator - in that you need to be an CAcert Assurer. + +The premise to be a CAcert Assurer are that you have: + - got at least 100 Assurance Points + - passed the CATS test + +It is possible that you may have missed some changes within the CAcert +assurance system. + +In 2009 the CATS challenge [1] was introduced. You have to pass it before you +get the CAcert Assurer status. + +In addition, CAcert will be changing the points calculation in the near future. +This was announced in 2011 [2]. + +As you are missing the 100 Assurance Points requirement (which might be due to +the new points calculation) I ask you to get assured during the next 3 months to +reach the 100 Assurance Points. If you have problems in getting assured, please +let me know, so I can see what can be done to help you. If you have not reached +the 100 points by then (or after an additional grace period in cases of +hardship), I will have to delete you as Organisation Administrator from the +appropriate accounts. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Thank you for your support. + +Marcus Maengel +CAcert Organisation Assurance Officer + +--------------------------------------------------- + +[German Version] + +Hallo <name>, + +bei der Vorbereitung eines internen Tests vor dem Audit haben wir ueberprueft, +ob die Datensaetze in den Organisationskonten gueltig sind. Da Sie als +Organisations Administrator fuer mindestens ein Organisationskonto eingetragen +sind, habe ich festgestellt, dass Sie zurzeit kein CAcert Assurer sind, was die +Voraussetzung fuer die Taetigkeit als Organisations Administrator ist. + +Als CAcert Assurer muessen Sie die folgenden Vorausetzungen erfuellen: + - Mindestens 100 Assurance-Punkte + - Bestandene Assurer-Pruefung (CATS-Test) + +Moeglicherweise haben Sie einige aenderungen bei CAcert verpasst. + +Im Jahre 2009 wurde die Assurer-Pruefung (Assurer Challenge, CATS Test) [1] +eingefuehrt. Die muessen Sie bestehen, um den Assurer-Status zu erhalten. + +CAcert wird die Punkte-Berechnung in naher Zukunft aendern. Dies wurde bereits +2011 angekuendigt [2]. + +Da Sie die 100 Assurance-Punkte nicht erreicht haben, was auch an der neuen +Punkteberechnung liegen kann, fordere ich Sie auf, sich innerhalb der naechsten +3 Monate assuren zu lassen, um die 100 Punkte zu erreichen. Wenn Sie Probleme +haben, sich assuren zu lassen, teilen Sie mir das bitte mit und wir werden +sehen, wie wir Ihnen dabei helfen koennen. Wenn Sie bis dahin (oder nach einer +zusaetzlichen Gnadenfrist in schwierigen Faellen) die 100 Punkte nicht erreicht +haben, werde ich Sie als Organisations Administrator aus den betreffenden Konten +austragen. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Vielen Dank fuer Ihre Unterstuetzung. + +Marcus Maengel +CAcert Organisation Assurance Officer
\ No newline at end of file diff --git a/scripts/oa02-mailingtextPointsCats.txt b/scripts/oa02-mailingtextPointsCats.txt new file mode 100644 index 0000000..67bc5d3 --- /dev/null +++ b/scripts/oa02-mailingtextPointsCats.txt @@ -0,0 +1,82 @@ +(German see below) + +Hello <name>, + +In preparation for an internal test prior to the audit, we checked if the data +entries in the Organisation Accounts are valid. As you are listed as an +Organisation Administrator for at least one organisation account, I found out +that you currently do not match the requirements to be an Organisation +Administrator - in that you need to be an CAcert Assurer. + +The premise to be a CAcert Assurer are that you have: + - got at least 100 Assurance Points + - passed the CATS test + +It is possible that you may have missed some changes within the CAcert +assurance system. + +In 2009 the CATS challenge [1] was introduced. You have to pass it before you +get the CAcert Assurer status. + +In addition, CAcert will be changing the points calculation in the near future. +This was announced in 2011 [2]. + +As you are missing the 100 Assurance Points requirement (which might be due to +the new points calculation) and the CATS challenge, I ask you to get assured +during the next 3 months to reach the 100 Assurance Points and do the CATS test. +If you have problems in getting assured, please let me know, so I can see what +can be done to help you. If you have not passed the CATS test and reached the +100 points by then (or after an additional grace period in cases of hardship), +I will have to delete you as Organisation Administrator from the appropriate +accounts. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Thank you for your support. + +Marcus Maengel +CAcert Organisation Assurance Officer + +--------------------------------------------------- + +[German Version] + +Hallo <name>, + +bei der Vorbereitung eines internen Tests vor dem Audit haben wir ueberprueft, +ob die Datensaetze in den Organisationskonten gueltig sind. Da Sie als +Organisations Administrator fuer mindestens ein Organisationskonto eingetragen +sind, habe ich festgestellt, dass Sie zurzeit kein CAcert Assurer sind, was die +Voraussetzung fuer die Taetigkeit als Organisations Administrator ist. + +Als CAcert Assurer muessen Sie die folgenden Vorausetzungen erfuellen: + - Mindestens 100 Assurance-Punkte + - Bestandene Assurer-Pruefung (CATS-Test) + +Moeglicherweise haben Sie einige aenderungen bei CAcert verpasst. + +Im Jahre 2009 wurde die Assurer-Pruefung (Assurer Challenge, CATS Test) [1] +eingefuehrt. Die muessen Sie bestehen, um den Assurer-Status zu erhalten. + +CAcert wird die Punkte-Berechnung in naher Zukunft aendern. Dies wurde bereits +2011 angekuendigt [2]. + +Da Sie die 100 Assurance-Punkte nicht erreicht haben, was auch an der neuen +Punkteberechnung liegen kann, und auch die Assurer-Pruefung nicht abgelegt +haben, fordere ich Sie auf, sich innerhalb der naechsten 3 Monate assuren zu +lassen, um die 100 Punkte zu erreichen, und die Assurer-Pruefung abzulegen. +Wenn Sie Probleme haben, sich assuren zu lassen, teilen Sie mir das bitte mit +und wir werden sehen, wie wir Ihnen dabei helfen koennen. Wenn Sie bis dahin +(oder nach einer zusaetzlichen Gnadenfrist in schwierigen Faellen) die +100 Punkte nicht erreicht haben oder die Assurer-Pruefung nicht abgelegt haben, +werde ich Sie als Organisations-Administrator aus den betreffenden Konten +austragen. + +[1] https://wiki.cacert.org/AssurerChallenge +[2] https://wiki.cacert.org/PR/News/NewPointsCalculation + +Vielen Dank fuer Ihre Unterstuetzung. + +Marcus Maengel +CAcert Organisation Assurance Officer
\ No newline at end of file diff --git a/scripts/oa02-orgainformation.php.txt b/scripts/oa02-orgainformation.php.txt new file mode 100644 index 0000000..e0d8ca2 --- /dev/null +++ b/scripts/oa02-orgainformation.php.txt @@ -0,0 +1,119 @@ +#!/usr/bin/php -q +<? /* + LibreSSL - CAcert web application + Copyright (C) 2004-2009 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 +*/ + include_once("../includes/mysql.php"); + include_once("../includes/lib/general.php"); + + //default mail text + $lines = ""; + $fp = fopen("oa02-mailingtextPoints.txt", "r"); + while(!feof($fp)) + { + $line = trim(fgets($fp, 4096)); + $lines .= wordwrap($line, 75, "\n")."\n"; + } + fclose($fp); + + //first variant of mail text + $lines1 = ""; + $fp = fopen("oa02-mailingtextCats.txt", "r"); + while(!feof($fp)) + { + $line = trim(fgets($fp, 4096)); + $lines1 .= wordwrap($line, 75, "\n")."\n"; + } + fclose($fp); + + //second variant of mail text + $lines2 = ""; + $fp = fopen("oa02-mailingtextPointsCats.txt", "r"); + while(!feof($fp)) + { + $line = trim(fgets($fp, 4096)); + $lines2 .= wordwrap($line, 75, "\n")."\n"; + } + fclose($fp); + + // comment next line when starting to send mail not only to me + // $query = "select * from `users` where `email` like 'cacerttest%'"; + + $query = " + SELECT + `users`.`email`, + `users`.`fname`, + `users`.`lname`, + `orginfo`.`O`, + `orginfo`.`id`, + `org`.`memid` + FROM + `users`, + `orginfo`, + `org` + WHERE `org`.`orgid` = `orginfo`.`id` + AND `org`.`memid` = `users`.`id` + AND `users`.`assurer` = 0 + AND `org`.`deleted` = 0 + ORDER BY + `users`.`email`, + `orginfo`.`O` + "; + + $res = mysql_query($query); + $xrows = mysql_num_rows($res); + + $report = ""; + $report1 = ""; + $report2 = ""; + $report3 = ""; + + while($row = mysql_fetch_assoc($res)) + { + // uncomment next line to send mails ... + $fullname = $row['fname']." ".$row['lname']; + $status = get_assurer_status($row['memid']); + if (3 == $status) { + $mail = str_replace("<name>",$fullname,$lines); + sendmail($row['email'], "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators", $mail, "support@cacert.org", "", "", "CAcert Organisation Assurer", "returns@cacert.org", 1); + $report = $row['email'].", ".$fullname.", ".$row['O']."\n"; + } elseif (5 == $status) { + $mail = str_replace("<name>",$fullname,$lines1); + sendmail($row['email'], "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators", $mail, "support@cacert.org", "", "", "CAcert Organisation Assurer", "returns@cacert.org", 1); + $report1 = $row['email'].", ".$fullname.", ".$row['O']."\n"; + } elseif (7 == $status){ + $mail = str_replace("<name>",$fullname,$lines2); + sendmail($row['email'], "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators", $mail, "support@cacert.org", "", "", "CAcert Organisation Assurer", "returns@cacert.org", 1); + $report2 = $row['email'].", ".$fullname.", ".$row['O']."\n"; + } else { + $report3 = $row['email'].", ".$fullname.", ".$row['O']."\n"; + } + } + + // 1x cc to oao.cacert.org + sendmail("oao@cacert.org", "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators", $lines."\n\n".$lines1."\n\n".$lines2, "oao@cacert.org", "", "", "CAcert OA Support", "returns@cacert.org", 1); + + // 1x mailing report to oao.cacert.org + sendmail("oao@cacert.org", "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators - Report", "oa-mailing sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert OA Support", "returns@cacert.org", 1); + + // 1x detailed mailing report to OAO + $reporttotal = "Result of the Mailing \n\n Organisation Administrators with missing points \n".$report."\n\n Organisation Adminstrators with missing points ".$report1."\n\n Organisation Adminstrators with missing points and CATS ".$report2."\n\n Organisation Adminstrators with blocked assurer ".$report3; + sendmail("oao@cacert.org", "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators - Report", $reporttotal, "support@cacert.org", "", "", "CAcert Organisation Assurer", "returns@cacert.org", 1); + + // 1x mailing report to Arbitrator of case http://wiki.cacert.org/wiki/Arbitrations/a20110608.1 + sendmail("bernhard@cacert.org", "[CAcert.org] Assurer Status Requirement Check on Organisation Adminstrators - Report", "oa-mailing sent to $xrows recipients.", "support@cacert.org", "", "", "CAcert OA Support", "returns@cacert.org", 1); + + echo "oa-mailing sent to $xrows recipients.\n"; diff --git a/www/.gitignore b/www/.gitignore new file mode 100644 index 0000000..faca589 --- /dev/null +++ b/www/.gitignore @@ -0,0 +1,5 @@ +# Ignore CRLs autogenerated by the CommModule +/class3-revoke.crl +/class3-revoke.crl.patch +/revoke.crl +/revoke.crl.patch diff --git a/www/.htaccess b/www/.htaccess index bd01047..cc48170 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -4,4 +4,4 @@ errordocument 404 /error404.php errordocument 403 /error403.php errordocument 401 /error401.php -RedirectPermanent /cps.php http://www.cacert.org/policy/CertificationPracticeStatement.php +RedirectPermanent /cps.php http://www.cacert.org/policy/CertificationPracticeStatement.html diff --git a/www/account.php b/www/account.php index 0b32c2c..c7f34a3 100644 --- a/www/account.php +++ b/www/account.php @@ -25,34 +25,35 @@ } else if($id == 19) { include_once("../pages/account/19.php"); exit; - } else if($oldid == 40 && $_REQUEST['process'] != "" && $_POST['support'] != "yes") { - $who = stripslashes($_REQUEST['who']); - $email = stripslashes($_REQUEST['email']); - $subject = stripslashes($_REQUEST['subject']); - $message = stripslashes($_REQUEST['message']); - - $message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message; - - sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, $email, "", "CAcert Website"); - showheader(_("Welcome to CAcert.org")); - echo _("Your message has been sent."); - showfooter(); - exit; - } else if($oldid == 40 && $_REQUEST['process'] != "" && $_POST['support'] == "yes") { + } else if($oldid == 40 && $_REQUEST['process'] != "") { $who = stripslashes($_REQUEST['who']); $email = stripslashes($_REQUEST['email']); $subject = stripslashes($_REQUEST['subject']); $message = stripslashes($_REQUEST['message']); + //check for spam via honeypot + if(!isset($_REQUEST['robotest']) || !empty($_REQUEST['robotest'])){ + echo _("Form could not be sent."); + showfooter(); + exit; + } - $message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message; + $message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message; + if (isset($process[0])){ + sendmail("cacert-support@lists.cacert.org", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert-Website"); + showheader(_("Welcome to CAcert.org")); + echo _("Your message has been sent to the general support list."); + showfooter(); + exit; + } + if (isset($process[1])){ + sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, "", "", "CAcert Support"); + showheader(_("Welcome to CAcert.org")); + echo _("Your message has been sent."); + showfooter(); + exit; + } - sendmail("cacert-support@lists.cacert.org", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert Website"); - - showheader(_("Welcome to CAcert.org")); - echo _("Your message has been sent to the general support list."); - showfooter(); - exit; } else if($id == 51 && $_GET['img'] == "show") { $query = "select * from `tverify` where `id`='".intval($_GET['photoid'])."' and `modified`=0"; $res = mysql_query($query); diff --git a/www/cacert1-class3-revoke.crl b/www/cacert1-class3-revoke.crl new file mode 120000 index 0000000..3bcd255 --- /dev/null +++ b/www/cacert1-class3-revoke.crl @@ -0,0 +1 @@ +class3-revoke.crl
\ No newline at end of file diff --git a/www/cacert1-revoke.crl b/www/cacert1-revoke.crl new file mode 120000 index 0000000..e7b822f --- /dev/null +++ b/www/cacert1-revoke.crl @@ -0,0 +1 @@ +revoke.crl
\ No newline at end of file diff --git a/www/cap.html.php b/www/cap.html.php index cc3fad6..8e5fe01 100644 --- a/www/cap.html.php +++ b/www/cap.html.php @@ -146,7 +146,7 @@ echo '<tbody>', "\n"; echo '<tr>', "\n"; echo ' <td colspan="3">'._("Make sure you have read and agreed with the CAcert Community Agreement"); - echo '(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)<br>', "\n"; + echo '(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)<br>', "\n"; echo '</td>', " \n", '</tr>', "\n"; /* echo '</tbody>', "\n"; @@ -158,7 +158,7 @@ echo '</td>', "\n".'</tr>', "\n"; echo '<tr>', "\n". ' <td colspan="3"><input type="checkbox" checked name="checked" value="2"> '; echo _("I agree to the CAcert Community Agreement.").' ('; - echo '<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)</dd>', "\n"; + echo '<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)</dd>', "\n"; echo '</td>', "\n".'</tr>', "\n"; /* echo '</tbody>', "\n"; diff --git a/www/cap.php b/www/cap.php index 73380e1..40b269a 100644 --- a/www/cap.php +++ b/www/cap.php @@ -48,7 +48,7 @@ $this->SetFont('Arial','I',8); if($_SESSION['_config']['language'] == "ja") $this->SetFont('SJIS','I',8); - $this->Cell(0,0,'CAcert Inc. - P.O. Box 4107 - Denistone East NSW 2112 - Australia - http://www.CAcert.org',0,0,'C'); + $this->Cell(0,0,'CAcert Inc. - PO Box 66 - Oatley NSW 2223 - Australia - http://www.CAcert.org',0,0,'C'); $this->Ln(3); $this->SetFont('Arial','',6); if($_SESSION['_config']['language'] == "ja") @@ -146,7 +146,7 @@ $this->SetFont("Arial", "", "9"); if($_SESSION['_config']['language'] == "ja") $this->SetFont('SJIS','',9); - $this->MultiCell($this->w - 29, 3, recode($_SESSION['_config']['recode'], _("I agree to the CAcert Community Agreement.")." ( http://www.cacert.org/policy/CAcertCommunityAgreement.php )")); + $this->MultiCell($this->w - 29, 3, recode($_SESSION['_config']['recode'], _("I agree to the CAcert Community Agreement.")." ( http://www.cacert.org/policy/CAcertCommunityAgreement.html )")); // new da end $this->SetXY(13, $top + 55); //45->55 $this->Write(0, recode($_SESSION['_config']['recode'], _("Applicant's signature")).": __________________________________"); @@ -265,7 +265,7 @@ $this->Write(0, str_pad($date, 13, " ")); } - } + } } $format = array_key_exists('format',$_REQUEST)?$_REQUEST['format']:""; @@ -283,7 +283,7 @@ $pdf->AddPage(); $pdf->Body(array_key_exists('name',$_REQUEST)?$_REQUEST['name']:"", array_key_exists('dob',$_REQUEST)?$_REQUEST['dob']:"", array_key_exists('email',$_REQUEST)?$_REQUEST['email']:"", array_key_exists('assurer',$_REQUEST)?$_REQUEST['assurer']:"", array_key_exists('date',$_REQUEST)?$_REQUEST['date']:"", $maxpoints, array_key_exists('document1',$_REQUEST)?$_REQUEST['document1']:"", array_key_exists('document2',$_REQUEST)?$_REQUEST['document2']:"", array_key_exists('location',$_REQUEST)?$_REQUEST['location']:""); header("Expires: ".gmdate("D, j M Y G:i:s \G\M\T", time()+10800)); - header("Content-Disposition: attachment; filename=cap.pdf"); + header("Content-Disposition: attachment; filename=cap.pdf"); header("Cache-Control: public, max-age=10800"); header("Pragma: cache"); $pdf->output(); diff --git a/www/capnew.php b/www/capnew.php index 41a0894..273b0e6 100644 --- a/www/capnew.php +++ b/www/capnew.php @@ -68,7 +68,7 @@ define('REV', '$Revision: 1.4 $'); ** On transliteration and abbreviation of a name: ** if shoes a std way show accepted conversion as pdf comment ** Orientation: on landscape (dflt) print 2-up -** PDF URL links are used to web, wiki, and faq for more info search +** PDF URL links are used to web, wiki, and faq for more info search ** Only on non-ascii chars in a name the utf8 routines are loaded ** PDF reader has wiki info url's and easy email feedback ** ENABLED: @@ -92,7 +92,7 @@ define('REV', '$Revision: 1.4 $'); ** recode(), recode_string(0 is said to have too many (japanese) defeats ** recode_string() is only used on GET[] input (html->utf-8), ** UTF-8 use routines from http://www.sourceforge.net/projects/phputf8 -** which replaces php recode() package. +** which replaces php recode() package. ** on many places own utf-8 handling code exists and is loaded (tcpdf problem) ** _() translation routine. The returned HTML string is translated to utf-8 string. ** the GET() routines expects utf-8 code (see test defs) but might be changed @@ -196,7 +196,7 @@ define('REV', '$Revision: 1.4 $'); ** Form Revision string is generated from RCS revision string. ** More info on PDF fields: ** http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf -** +** */ // use next define if you test this code @@ -235,7 +235,7 @@ if( defined( 'TEST' ) ) { //$_GET['orientation'] = 'portrait'; // default 2 pages, or portrait } $_GET['nocca'] = isset($_SERVER['CCA']) ? $_SERVER['CCA'] : ''; - //$_GET['policy1'] = 'policy/PolicyOnPolicy.php'; + //$_GET['policy1'] = 'policy/PolicyOnPolicy.html'; if( isset($_SERVER['FORM']) AND $_SERVER['FORM'] == 'noform' ) $_GET['noform'] = 'true'; @@ -310,7 +310,7 @@ define('ARBIT', WIKI.'/ArbitrationForum'); // CAcert Community Agreement define('CCA', 'CAcertCommunityAgreement'); // default policy to print define('POLICY','policy/'); // default polciy doc directory -define('EXT','.php'); // default polciy doc extention, should be html +define('EXT','.html'); // default polciy doc extention, should be html /* finger print CAcert Root Key */ // should obtain this automatically define('CLASS1_SHA1','135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33'); define('CLASS3_SHA1','AD7C 3F64 FC44 39FE F4E9 0BE8 F47C 6CFA 8AAD FDCE'); @@ -484,16 +484,16 @@ class CAPPDF extends TCPDF { //number of colums /*protected*/ var $ncols=1; - + // columns width /*protected*/ var $colwidth=0; // space between columns /*protected*/ var $column_space = 0; - + //Current column /*protected*/ var $col=0; - + //Ordinate of column start /*protected*/ var $y0; @@ -535,7 +535,7 @@ class CAPPDF extends TCPDF { $this->SetDisplayMode(intval($this->scale), 'SinglePage', 'UseOC'); return( $format ); } - + //Set position at a given column /*private*/ function SetCol($col = -1) { static $pagecolwidth = 1.0; @@ -576,7 +576,7 @@ class CAPPDF extends TCPDF { $this->myFooter(); // print footer msg if defined } if( $col >= $this->ncols ) { - $this->addPage(); $col = 0; + $this->addPage(); $col = 0; $this->ScaleXY($this->scale,0,0); $this->y0 = 0; //no header/footer done... } elseif ( $col > 0 AND $col < $this->ncols) { @@ -599,7 +599,7 @@ class CAPPDF extends TCPDF { $this->PrintTable('', 0); // if in table reprint title table $this->InFooter = false; } - + //Method accepting or not automatic page break /*public*/ function AcceptPageBreak() { $this->SetCol(); @@ -688,7 +688,7 @@ class CAPPDF extends TCPDF { elseif( preg_match('/\./', $nm ) ) { if( $first_name < 0 ) $first_name = $j; if( $first_name >= 0 ) $success = TRUE; // was abbreviated - continue; // title + continue; // title } if( $first_name < 0 ) $first_name = $j; if( $married == 0 ) $fam = $j; @@ -710,7 +710,7 @@ class CAPPDF extends TCPDF { elseif( preg_match('/\./', $nm ) ) $name .= $nm; elseif( $j < $fam ) { // need to abbreviate // not utf8 - // and abbreviate + // and abbreviate if( $j == $first_name ) $abr = '('. $substr( $nm, 1 ) . ')'; else $abr = '.'; @@ -724,7 +724,7 @@ class CAPPDF extends TCPDF { $nm = $tk[0]; if( $ext < 0 AND preg_match('/(^[^A-Z]|\.)/', $nm ) ) continue; if( $ext < 0 ) $ext = $j+1; - if( preg_match('/\./', $nm ) ) { $success = TRUE; break; } + if( preg_match('/\./', $nm ) ) { $success = TRUE; break; } } return( $success? $name : '' ); // and return abbriviated name } @@ -841,7 +841,7 @@ class CAPPDF extends TCPDF { $this->StatementAssuree( $assuree['date']); $this->StatementAssurer( $assurer, $assurance ); } - + //Add form and/or CCA (on duplex only when more as one page is printed) /*public*/ function PrintForm( $assuree = NULL, $assurer = NULL, $assurance = NULL, $page = NULL ) { @@ -1033,7 +1033,7 @@ class CAPPDF extends TCPDF { $this->Line($this->lMargin,$tSide+$height,$this->lMargin+$this->colwidth,$tSide+$height); $this->Line($this->lMargin+$this->colwidth,$tSide-1, $this->lMargin+$this->colwidth, $tSide+$height); $this->SetDrawColor(0); - $this->SetY($tSide + $height + 1); // set Y ordinate to plus 7 + $this->SetY($tSide + $height + 1); // set Y ordinate to plus 7 $tSide = -1; $title = ''; return($this->GetY()); } @@ -1045,7 +1045,7 @@ class CAPPDF extends TCPDF { $id_type = $names == NULL ? '' : $names['idtype']; // store current margin values static $nr = 0; - static $idtypes = NULL; + static $idtypes = NULL; static $listpoints = NULL; static $ComboProps = array( 'fillColor'=> LBLUE, 'strokeColor'=> LLBLUE, 'editable'=> 'true', 'textSize' => 9, 'rotate'=> '0'); static $TextProps = array('strokeColor'=> LLBLUE, 'value' => ' ', 'fillColor'=> LBLUE, 'doNotScrole'=> 'false', 'textSize' => 12, 'rotate'=> '0'); @@ -1146,7 +1146,7 @@ class CAPPDF extends TCPDF { $this->SetFont(FONT, 'B', (F_SIZE+1)/6*H); $this->Cell($this->colwidth-37, 2, '('.$id_type .')', 0, 0, 'R'); // hide id type print on screen with the formfields, just nicety - // one could extend the name field, but this has more drawbacks + // one could extend the name field, but this has more drawbacks $this->TextField(sprintf('AssureeNames_%d_None',$nr), $this->SetFieldXY($this->lMargin+$this->colwidth-38,$savey+0.5,20), 7/6*H, $TextBlankProps); $this->SetFieldXY(); } @@ -1200,7 +1200,7 @@ class CAPPDF extends TCPDF { // all (max) three names with ID type right aligned. $cnt = $assuree['namecnt']; $space = $this->getPageHeight()/$this->scale*100.0 -MINH ; // margin - for( $i = 0; $i < $cnt; $i++ ) { // names to be printed + for( $i = 0; $i < $cnt; $i++ ) { // names to be printed $this->PrintName( $assuree['names'][$i], $assurer['maxpoints'] < 0? 35: $assurer['maxpoints'] ); if( $space < $this->getY() ) break; } @@ -1390,7 +1390,7 @@ class CAPPDF extends TCPDF { $this->SetFieldXY(); $TextProps['value'] = $assurer['email'] ? $assurer['email'] : $this->unhtmlentities( _('email') ) . '?'; $TextProps['userName'] = $this->unhtmlentities( _('On mutual assurance provide email address of Assurer.') ); - $this->TextField('AssurerEmail', $this->SetFieldXY($this->lMargin+68.5, $savey+1, 35), 5, $TextProps ); + $this->TextField('AssurerEmail', $this->SetFieldXY($this->lMargin+68.5, $savey+1, 35), 5, $TextProps ); $this->SetFieldXY(); $this->SetXY($this->lMargin+2, $savey+5); @@ -1457,7 +1457,7 @@ class CAPPDF extends TCPDF { // get $form, $orientation, $assuree, $assurer, $assurance info // FONT and BW are set already -// import info +// import info function GET( $key = '' ) { return ( array_key_exists( $key, $_GET) ? $_GET[$key] : ''); } @@ -1532,7 +1532,7 @@ for( $i = 1; $i <= 9 AND $j < 2; $i++) { // max 9 names we only print 4 max... $assuree[ 'namecnt' ]++; $assuree[ 'names' ] [] = array ( 'name' => $name ? $name : '', - 'idtype' => my_recode(GET(Dstr('ID',$i)))? my_recode(GET(Dstr('ID',$i))) : '', + 'idtype' => my_recode(GET(Dstr('ID',$i)))? my_recode(GET(Dstr('ID',$i))) : '', 'points' => my_recode(GET(Dstr('Pnts',$i))) != '' ? intval(my_recode(GET(Dstr('Pnts',$i)))) : -1 ); if( $name != '' AND @@ -1565,7 +1565,7 @@ unset( $document ); unset( $i ); unset( $j); // unset($_GET); PDF_UNIT /* mm */, /* PDF_PAGE_FORMAT */ $page['format'], true - ); + ); $pdf->SetFormat( $page['format'] ); // set paper size scaling // protection is encryption and this will cause 3.5 times performance loss @@ -1588,10 +1588,10 @@ unset( $document ); unset( $i ); unset( $j); // unset($_GET); $pdf->SetAutoPageBreak(TRUE, MARGIN*0.707); //set image scale factor - $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings - $pdf->setLanguageArray($l); + $pdf->setLanguageArray($l); //initialize document $pdf->AliasNbPages(); @@ -1608,6 +1608,6 @@ unset( $document ); unset( $i ); unset( $j); // unset($_GET); $pdf->Output('CAcert CAP.pdf', 'I'); //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ ?> diff --git a/www/cats/cats_import.php b/www/cats/cats_import.php index feb92d4..e4e83c5 100644 --- a/www/cats/cats_import.php +++ b/www/cats/cats_import.php @@ -31,7 +31,9 @@ function sanitize_string($buffer) { } define ('UNDEFINED', 'nd'); -define ('ALLOWED_IP', '213.154.225.243'); +// Specific for testserver: Accept Test-CATS-Server +define ('ALLOWED_IP', '10.38.6.88'); +//define ('ALLOWED_IP', '213.154.225.243'); define ('ALLOWED_IP2', '172.16.2.27'); define ('CONFIG_FILEPATH', '/www/'); diff --git a/www/certs/CAcert_Root_Certificates.msi b/www/certs/CAcert_Root_Certificates.msi Binary files differnew file mode 100644 index 0000000..f60567e --- /dev/null +++ b/www/certs/CAcert_Root_Certificates.msi diff --git a/www/certs/cacert.asc b/www/certs/cacert.asc index 120f516..e526392 100644 --- a/www/certs/cacert.asc +++ b/www/certs/cacert.asc @@ -1,30 +1,31 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.2.2 (GNU/Linux) +Version: GnuPG v1.4.9 (GNU/Linux) -mQGiBD8OdRwRBACEr0/NPA88qp8f6KyIMMveLQ1FOuLi0aDQDPybG7u1nrBoi3VI -tSRyfYcdExVxWQjTGd9qbShzXBw2DsxjA6YjiGzWKpVcqtj9uUDpSlylBaoadUzu -Sf3r3IkOHR2QJeC+9v2il30xy5XLMxDRbQYaSmf4uwTlIOUWNn118KpdawCgoNny -p4DR9EvRgCmY5z6IKHA2WscD/AhAKDVHCIAoZHzSB/puNOuVUSKRbIWNAqUAYosz -GRzYWb8O/3Ja4fNb3IMQ1gIsEcnUJFHnzID3pTjqWyiCId/NSX3fLuQxZHZE9n8P -PqlZIvqMrOfCT0RJQa0zTFcrgepnmnHLj7qmtXQZm+YkTvlihOZNtVA4JNzrxDrQ -egkqA/4hr0LezNJfkUhWnbW604p7AmmKK7Hi/ZixAfnxN0adgnV7oC3Q4VM8aB2i -gReSuifluHiaJmf/WsA3KH4bdyLRbagz6dOPkXY8bQKy9yRxQz9oYwudlluYoZXe -gSQI2Jle9U2ENefa9ouvVlsB0he1qzF6VzHXAXpLsANt5smDh7Q0Q0EgQ2VydCBT -aWduaW5nIEF1dGhvcml0eSAoUm9vdCBDQSkgPGdwZ0BjYWNlcnQub3JnPohfBBMR -AgAfBQI/DnUcBQk4ZAkABAsHAwIDFQIDAxYCAQIeAQIXgAAKCRDSuw0BZdD9WEFX -AJ9C6WBcYfTYw1uvZ+N85TPGG5PMKQCcCM1tyULC5J6pfwevywS6cEwfagW5Ag0E -Pw51MBAIANUbl1u0j+mnVJk1fKbJ+Ul6SAYpNtordfgrgrmlnOhMCFcROrCzsaaI -1ehohxMbTnIj0RP0g/KotahAurqB98qzHIxXZMEJSzBE2OCNvlIXqUyT1jwhAUN6 -e71s084Lml84gD4cIr7+2YtwIu+6zrE+YdjfMT1NibM3vmiXaknrk4aADb02ZS5U -iDeRstUO5PG7qVg4umR0HZJ1Ck2U7Kdjaekzzlm0q/vYMZKTYX37NkZRUU0QFLsM -tACEaZnwKf9hMAWJwG1OFyJeLVH8xvzCkI4I+fpAvAQj6LVAh41SHl7EivH6SiTp -/+61idoz/CGqeLBxuex6Z+Y53U54FmcAAwUH/2chzBs1YWFX5LuLGEW3R3UW/wDb -RnYpsSR+pnMBVh18WS0nF08R/SXtb12RsqN5H+GtELOZng6IWL5hhgNaYvF1F4sW -Ezm2nyVmTsu7/DtHLmXtzz1oNLQ9pzJkoqP2pGtPYQKvmiuoNbt+l1prwjt5zn1D -slLn8w0+9/PP1YdKpuZ/189yQP6iYsLHxBxg/50MbSzoFwiT22aJCdF+OJ7zRwDy -GhjnfV7HVwdEDV5rvb7aRolRmZZF2UADSPu52BWT4PI0nVnewAgivyELqVU3Zc3P -aWqmH5BAh22MjbsbXrWZXK/WOfZCNlPVdfHxwFGxnlwsHgmyrkPAs3szJGiITAQY -EQIADAUCPw51MAUJOGQJAAAKCRDSuw0BZdD9WMw8AJwIVUzB2WQJGAbf/aXzCABn -QWdKwACdEWUSf69RZiJgp4oMfXMx0fDEh2I= -=OaPO +mQGiBE3TAtQRBACuFhUNT3BOIXflZx8ENFN2hf0KHDgReWMW5+hcx8M2C9mueAST +89x0QxtdWUbsrMFSr3UvDIKjoPFVzV+WT/dez5aADSrnR4OxYPfzcNIWPjm8su/9 +HrH6+ivaH+iOoBOuhYrHthun+1fsqLedhTMNqb+tt6OfzqIuyFkmpm+FqwCg5ECF +s53E7j6BJuKYLeWqFDqFOH0D/1pnXyBF78YurXcwwA7eSQWoc3f1g5lwyqOWwcLv +ynI/dcPV5BosEUcqEjaNEyBR0LFRZC7tnw2VLPzr65aLA6SrFqEJ2bEdWkO9vM5g +8InhmcqTz7Yg/QGnyGT0iNBMG8zg4Ajz20Ty6GE887HMao6qpYKXSbujMRWVjVLn +VjpgA/9i1gsBjpGwr5rJ67dyDLVkJ5XMEP2ivgAhzKQ/inyLk2N3Nbm0YKWgrZRE ++pEcZVsLn2jHqd5yu1zVr3Cm44HHaB/A4ew+hRio9vbhJy7cfanfZpAL8Rg8wZbQ +t4x6zvrs0fXXNuD1BiSucOK4qGZ2vWukggmhAlHu5x5hws5qtbRLQ0FjZXJ0IFRl +c3QgU2VydmVyIFNpZ25pbmcgQXV0aG9yaXR5IChmb3IgdGVzdGluZyBvbmx5ISEh +KSA8Z3BnQGNhY2VydC5vcmc+iGYEExECACYFAk3TAtQCGwMFCSWYBgAGCwkIBwMC +BBUCCAMEFgIDAQIeAQIXgAAKCRBL5zSBd/dRrLxrAJ9kaSLRAlcy9e57yuAAxoZy +weX20ACg44B1AA26G0OePf9o3YBdUTjPsES5Ag0ETdMC1BAIAI9UEZ2NKbJfVWc+ +CBb5kKhO6qazLDnRsRkMY5WE1PTBP09ieAaQ7cv424e6fKdZxSO5vUQ27tLmcQXo +ICoREsDuSyESvEPbyBOro5LIY+z52TihqEHLPUN7OxlbPLX81AIKOCgEIUtpcYoX +MiwXPVO50Swo3PCCQiOQ7ewvkd32ZbSPl50B+/59JiDsQsnx1o+Ls7WkALzQ6w7T +UxLIVYWuFd9Hg/VOXBH67e81p/O7SDy6pMkDQaA9F22rA5Vv5TBJ2BAKWYfYK47i +HxtUhw2/WBUzhcw2AGqCnCy9nrYELLAqljnlCdWLyvhuWyUAG87D/1/5qD0+9idh +jcFWH/MAAwUH/2R7AWSZzbomxTcO5Q7/WxzTDtgUEy7eRbjqFMAusiQlTYDdeHz8 +PfWok6mGhUapJaGnA05hy6aYBIzl4idmQgz39xD47O0qeDWve6YwrDuLYju6JIwv +YfNiNAOjrZcRW4PCYeJfIK0WHV3+3kkneOX4Mql9QNKWs5W2LReMnHyq6POWasuf +EgDu0TfqaJTeK3IXKrEJI8G4R4xdHXmZ16Is5T49w09mvMan+TTGczzjWn0aWD3D +DOlTKK7h+82MSNCTiCi7aNoEyMTfeadSsrbqiaqtF0P/fyBDpGWFj3/A4foAcgtx +KVt0UHf1Va1g8M+czG3pCOne6dyafZGAe7qITwQYEQIADwUCTdMC1AIbDAUJJZgG +AAAKCRBL5zSBd/dRrAC5AKDdxp26zp4Km3jItBdeMD/gv8qxMgCgmmH1kizLe5Rk +yYchS2oleEWXIqM= +=9tD2 -----END PGP PUBLIC KEY BLOCK----- diff --git a/www/certs/class3.crt b/www/certs/class3.crt index 087ca0e..1899afb 100644 --- a/www/certs/class3.crt +++ b/www/certs/class3.crt @@ -1,42 +1,43 @@ -----BEGIN CERTIFICATE----- -MIIHWTCCBUGgAwIBAgIDCkGKMA0GCSqGSIb3DQEBCwUAMHkxEDAOBgNVBAoTB1Jv -b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ -Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y -dEBjYWNlcnQub3JnMB4XDTExMDUyMzE3NDgwMloXDTIxMDUyMDE3NDgwMlowVDEU -MBIGA1UEChMLQ0FjZXJ0IEluYy4xHjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0 -Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMgUm9vdDCCAiIwDQYJKoZIhvcN -AQEBBQADggIPADCCAgoCggIBAKtJNRFIfNImflOUz0Op3SjXQiqL84d4GVh8D57a -iX3h++tykA10oZZkq5+gJJlz2uJVdscXe/UErEa4w75/ZI0QbCTzYZzA8pD6Ueb1 -aQFjww9W4kpCz+JEjCUoqMV5CX1GuYrz6fM0KQhF5Byfy5QEHIGoFLOYZcRD7E6C -jQnRvapbjZLQ7N6QxX8KwuPr5jFaXnQ+lzNZ6MMDPWAzv/fRb0fEze5ig1JuLgia -pNkVGJGmhZJHsK5I6223IeyFGmhyNav/8BBdwPSUp2rVO5J+TJAFfpPBLIukjmJ0 -FXFuC3ED6q8VOJrU0gVyb4z5K+taciX5OUbjchs+BMNkJyIQKopPWKcDrb60LhPt -XapI19V91Cp7XPpGBFDkzA5CW4zt2/LP/JaT4NsRNlRiNDiPDGCbO5dWOK3z0luL -oFvqTpa4fNfVoIZwQNORKbeiPK31jLvPGpKK5DR7wNhsX+kKwsOnIJpa3yxdUly6 -R9Wb7yQocDggL9V/KcCyQQNokszgnMyXS0XvOhAKq3A6mJVwrTWx6oUrpByAITGp -rmB6gCZIALgBwJNjVSKRPFbnr9s6JfOPMVTqJouBWfmh0VMRxXudA/Z0EeBtsSw/ -LIaRmXGapneLNGDRFLQsrJ2vjBDTn8Rq+G8T/HNZ92ZCdB6K4/jc0m+YnMtHmJVA -BfvpAgMBAAGjggINMIICCTAdBgNVHQ4EFgQUdahxYEyIE/B42Yl3tW3Fid+8sXow -gaMGA1UdIwSBmzCBmIAUFrUyG9TH8+DmjvO90rA67rI5GNGhfaR7MHkxEDAOBgNV -BAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAG -A1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYS -c3VwcG9ydEBjYWNlcnQub3JnggEAMA8GA1UdEwEB/wQFMAMBAf8wXQYIKwYBBQUH -AQEEUTBPMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5DQWNlcnQub3JnLzAoBggr -BgEFBQcwAoYcaHR0cDovL3d3dy5DQWNlcnQub3JnL2NhLmNydDBKBgNVHSAEQzBB -MD8GCCsGAQQBgZBKMDMwMQYIKwYBBQUHAgEWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9y -Zy9pbmRleC5waHA/aWQ9MTAwNAYJYIZIAYb4QgEIBCcWJWh0dHA6Ly93d3cuQ0Fj -ZXJ0Lm9yZy9pbmRleC5waHA/aWQ9MTAwUAYJYIZIAYb4QgENBEMWQVRvIGdldCB5 -b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSwgZ28gdG8gaHR0cDovL3d3dy5D -QWNlcnQub3JnMA0GCSqGSIb3DQEBCwUAA4ICAQApKIWuRKm5r6R5E/CooyuXYPNc -7uMvwfbiZqARrjY3OnYVBFPqQvX56sAV2KaC2eRhrnILKVyQQ+hBsuF32wITRHhH -Va9Y/MyY9kW50SD42CEH/m2qc9SzxgfpCYXMO/K2viwcJdVxjDm1Luq+GIG6sJO4 -D+Pm1yaMMVpyA4RS5qb1MyJFCsgLDYq4Nm+QCaGrvdfVTi5xotSu+qdUK+s1jVq3 -VIgv7nSf7UgWyg1I0JTTrKSi9iTfkuO960NAkW4cGI5WtIIS86mTn9S8nK2cde5a -lxuV53QtHA+wLJef+6kzOXrnAzqSjiL2jA3k2X4Ndhj3AfnvlpaiVXPAPHG0HRpW -Q7fDCo1y/OIQCQtBzoyUoPkD/XFzS4pXM+WOdH4VAQDmzEoc53+VGS3FpQyLu7Xt -hbNc09+4ufLKxw0BFKxwWMWMjTPUnWajGlCVI/xI4AZDEtnNp4Y5LzZyo4AQ5OHz -0ctbGsDkgJp8E3MGT9ujayQKurMcvEp4u+XjdTilSKeiHq921F73OIZWWonO1sOn -ebJSoMbxhbQljPI/lrMQ2Y1sVzufb4Y6GIIiNsiwkTjbKqGTqoQ/9SdlrnPVyNXT -d+pLncdBu8fA46A/5H2kjXPmEkvfoXNzczqA6NXLji/L6hOn1kGLrPo8idck9U60 -4GGSt/M3mMS+lqO3ig== +MIIHgjCCBWqgAwIBAgICEBswDQYJKoZIhvcNAQELBQAwgYcxCzAJBgNVBAYTAkFV +MRgwFgYDVQQIEw9OZXcgU291dGggV2FsZXMxGjAYBgNVBAoTEUNBY2VydCBUZXN0 +c2VydmVyMSEwHwYDVQQLExhodHRwOi8vY2FjZXJ0MS5pdC1zbHMuZGUxHzAdBgNV +BAMTFkNBY2VydCBUZXN0c2VydmVyIFJvb3QwHhcNMTEwNTAxMTgyNTA5WhcNMjEw +NDI4MTgyNTA5WjBiMRkwFwYDVQQKExBDQWNlcnQgVGVzdHNldmVyMSEwHwYDVQQL +ExhodHRwOi8vY2FjZXJ0MS5pdC1zbHMuZGUxIjAgBgNVBAMTGUNBY2VydCBUZXN0 +c2VydmVyIENsYXNzIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDI +576JQukwI58zuNidaS0HUYVCBmy4mpV7VhydDtW07hDu5lYGmbcuBW+SfjPCjMMR +QVEiNrWv3tLclBKah/ubOmgP1HenQxRfGiJkuPk7dwlM7qqPfRn/H1Pm1w1bj/e1 +yZkeNc0UzMPdRbD9InR3/hwHQ1hfLHKGbbYc6uTb+0UOgGAsMwb/WVb+8mSrgERZ +9pFhw8uK5+BFgJwSdsTsN68h5ZDL4VIf9Zq8z8jNGcXK0DSoZ0vT0y6EyVdXiXNS +PF/zAPTbBBQcBGmhKBlcTLwcPHLeHIEfwRGf72wqBYNNrT0J37yTci31x+xC0/iQ +wjPD4rRhYFxm/UW9sFtEJVtIf9o/oj2Mh2FGRa0DDk0oX+jewZEnTy+MUd0k4LFy +Md6Ucn4lJsb3uHnjZ8ayz5DEMDQ/3Mzjf6CjhOc4oXm5UXuE2gsZyno93fLtTXAc +4w0KzMcZ2diAp5Tdpq0w3pMJUAFoehFScBRK7Kb9xuXVPxoSvGCVPNXXUsEioIlf +T2StKvDVBPBTtWRnE0BLYTJaWQAnWp64QgWiVn+JmdGkIm4sHpB1FweN4msdkgic +6JAlYJRp71tSjuEnJwVtgqLqpUtLPTpJ64/0lDlazCJ5NaduTpAA+MSqXlHSA/Rb +Q1VSaKdRadqLYOUoqGFwHdldeyZpAwp0ibM62GmVrQIDAQABo4ICGjCCAhYwHQYD +VR0OBBYEFISE4B0WSV6xxeXnzy2oVnRL6JKUMIG0BgNVHSMEgawwgamAFIXXBQrW +j/IELV7ry/32aYsfTgb+oYGNpIGKMIGHMQswCQYDVQQGEwJBVTEYMBYGA1UECBMP +TmV3IFNvdXRoIFdhbGVzMRowGAYDVQQKExFDQWNlcnQgVGVzdHNlcnZlcjEhMB8G +A1UECxMYaHR0cDovL2NhY2VydDEuaXQtc2xzLmRlMR8wHQYDVQQDExZDQWNlcnQg +VGVzdHNlcnZlciBSb290ggEAMA8GA1UdEwEB/wQFMAMBAf8wXQYIKwYBBQUHAQEE +UTBPMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5DQWNlcnQub3JnLzAoBggrBgEF +BQcwAoYcaHR0cDovL3d3dy5DQWNlcnQub3JnL2NhLmNydDBGBgNVHSAEPzA9MDsG +BCsGAQUwMzAxBggrBgEFBQcCARYlaHR0cDovL3d3dy5DQWNlcnQub3JnL2luZGV4 +LnBocD9pZD0xMDA0BglghkgBhvhCAQgEJxYlaHR0cDovL3d3dy5DQWNlcnQub3Jn +L2luZGV4LnBocD9pZD0xMDBQBglghkgBhvhCAQ0EQxZBVG8gZ2V0IHlvdXIgb3du +IGNlcnRpZmljYXRlIGZvciBGUkVFLCBnbyB0byBodHRwOi8vd3d3LkNBY2VydC5v +cmcwDQYJKoZIhvcNAQELBQADggIBAFWedxYAhAD+hiOxIqMoynyAdMaBbmCg7zJc +Eq6pgbP7cHL+4zzIP4Zc/tPsmbL7il3cILb0+ETwmXRnC6c9E2xWke6jv9qzQ0Aj +QI7FQdD/0cJgKagMTn+aBgyiGG6U0zTKU7cK3Ae3zSjtdaibEJyQoQlLuEzZzDYO +LBXJXDEInhrZ+gqWRnWDOJwdr/19alqgF8nvxKQ136vV8Lqmsrzcs0O+6v53YeVj +9AYyeCLK2XPCyhGpia2t7uPIN1zolCgJLXQcJEg3dGRqsmAeuB7PylOz9xuxXjYR +Sq6fcOP31CxhSeHwTqTxzkuz/u+l4RBq/0LkMS/QBBmnjaqPy3TbEwner/xMWxyL +i9DPLPrXnJXrxczV5ScUt+0cMYWDY+A+pnxwd0s/TzfDIChidSTKSbY9kPcbxCVO +W+Pz6muoYWrPuj02rZDIN29rIQAe73vh3C++zvAB6SfbfTTMij97K86fc9Rs6amK +CwdhKWKFibL6z0FhxAvjpxo3Fugm4q9sDAzx3GHUJ1vzq3ZJAbY1CiPglUb9rAi+ +cpFkrnSP9paa/w5iYrSTOBduGdBp8kcrHXB9RuSLndL+J41xexIBb+tSTQ8H8pzk +iRTOfmYoGiizERHM1OUl9BPW/2+UZ9o4KUl7sPakniMkpm1dBKhvXj9rcA8+SUpp +Raog64+T -----END CERTIFICATE----- diff --git a/www/certs/class3.der b/www/certs/class3.der Binary files differindex 56f8c88..e13d2b9 100644 --- a/www/certs/class3.der +++ b/www/certs/class3.der diff --git a/www/certs/class3.txt b/www/certs/class3.txt index a77aa14..68533d8 100644 --- a/www/certs/class3.txt +++ b/www/certs/class3.txt @@ -1,59 +1,59 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 672138 (0xa418a) + Serial Number: 4123 (0x101b) Signature Algorithm: sha256WithRSAEncryption - Issuer: O=Root CA, OU=http://www.cacert.org, CN=CA Cert Signing Authority/emailAddress=support@cacert.org + Issuer: C=AU, ST=New South Wales, O=CAcert Testserver, OU=http://cacert1.it-sls.de, CN=CAcert Testserver Root Validity - Not Before: May 23 17:48:02 2011 GMT - Not After : May 20 17:48:02 2021 GMT - Subject: O=CAcert Inc., OU=http://www.CAcert.org, CN=CAcert Class 3 Root + Not Before: May 1 18:25:09 2011 GMT + Not After : Apr 28 18:25:09 2021 GMT + Subject: O=CAcert Testsever, OU=http://cacert1.it-sls.de, CN=CAcert Testserver Class 3 Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (4096 bit) Modulus (4096 bit): - 00:ab:49:35:11:48:7c:d2:26:7e:53:94:cf:43:a9: - dd:28:d7:42:2a:8b:f3:87:78:19:58:7c:0f:9e:da: - 89:7d:e1:fb:eb:72:90:0d:74:a1:96:64:ab:9f:a0: - 24:99:73:da:e2:55:76:c7:17:7b:f5:04:ac:46:b8: - c3:be:7f:64:8d:10:6c:24:f3:61:9c:c0:f2:90:fa: - 51:e6:f5:69:01:63:c3:0f:56:e2:4a:42:cf:e2:44: - 8c:25:28:a8:c5:79:09:7d:46:b9:8a:f3:e9:f3:34: - 29:08:45:e4:1c:9f:cb:94:04:1c:81:a8:14:b3:98: - 65:c4:43:ec:4e:82:8d:09:d1:bd:aa:5b:8d:92:d0: - ec:de:90:c5:7f:0a:c2:e3:eb:e6:31:5a:5e:74:3e: - 97:33:59:e8:c3:03:3d:60:33:bf:f7:d1:6f:47:c4: - cd:ee:62:83:52:6e:2e:08:9a:a4:d9:15:18:91:a6: - 85:92:47:b0:ae:48:eb:6d:b7:21:ec:85:1a:68:72: - 35:ab:ff:f0:10:5d:c0:f4:94:a7:6a:d5:3b:92:7e: - 4c:90:05:7e:93:c1:2c:8b:a4:8e:62:74:15:71:6e: - 0b:71:03:ea:af:15:38:9a:d4:d2:05:72:6f:8c:f9: - 2b:eb:5a:72:25:f9:39:46:e3:72:1b:3e:04:c3:64: - 27:22:10:2a:8a:4f:58:a7:03:ad:be:b4:2e:13:ed: - 5d:aa:48:d7:d5:7d:d4:2a:7b:5c:fa:46:04:50:e4: - cc:0e:42:5b:8c:ed:db:f2:cf:fc:96:93:e0:db:11: - 36:54:62:34:38:8f:0c:60:9b:3b:97:56:38:ad:f3: - d2:5b:8b:a0:5b:ea:4e:96:b8:7c:d7:d5:a0:86:70: - 40:d3:91:29:b7:a2:3c:ad:f5:8c:bb:cf:1a:92:8a: - e4:34:7b:c0:d8:6c:5f:e9:0a:c2:c3:a7:20:9a:5a: - df:2c:5d:52:5c:ba:47:d5:9b:ef:24:28:70:38:20: - 2f:d5:7f:29:c0:b2:41:03:68:92:cc:e0:9c:cc:97: - 4b:45:ef:3a:10:0a:ab:70:3a:98:95:70:ad:35:b1: - ea:85:2b:a4:1c:80:21:31:a9:ae:60:7a:80:26:48: - 00:b8:01:c0:93:63:55:22:91:3c:56:e7:af:db:3a: - 25:f3:8f:31:54:ea:26:8b:81:59:f9:a1:d1:53:11: - c5:7b:9d:03:f6:74:11:e0:6d:b1:2c:3f:2c:86:91: - 99:71:9a:a6:77:8b:34:60:d1:14:b4:2c:ac:9d:af: - 8c:10:d3:9f:c4:6a:f8:6f:13:fc:73:59:f7:66:42: - 74:1e:8a:e3:f8:dc:d2:6f:98:9c:cb:47:98:95:40: - 05:fb:e9 + 00:c8:e7:be:89:42:e9:30:23:9f:33:b8:d8:9d:69: + 2d:07:51:85:42:06:6c:b8:9a:95:7b:56:1c:9d:0e: + d5:b4:ee:10:ee:e6:56:06:99:b7:2e:05:6f:92:7e: + 33:c2:8c:c3:11:41:51:22:36:b5:af:de:d2:dc:94: + 12:9a:87:fb:9b:3a:68:0f:d4:77:a7:43:14:5f:1a: + 22:64:b8:f9:3b:77:09:4c:ee:aa:8f:7d:19:ff:1f: + 53:e6:d7:0d:5b:8f:f7:b5:c9:99:1e:35:cd:14:cc: + c3:dd:45:b0:fd:22:74:77:fe:1c:07:43:58:5f:2c: + 72:86:6d:b6:1c:ea:e4:db:fb:45:0e:80:60:2c:33: + 06:ff:59:56:fe:f2:64:ab:80:44:59:f6:91:61:c3: + cb:8a:e7:e0:45:80:9c:12:76:c4:ec:37:af:21:e5: + 90:cb:e1:52:1f:f5:9a:bc:cf:c8:cd:19:c5:ca:d0: + 34:a8:67:4b:d3:d3:2e:84:c9:57:57:89:73:52:3c: + 5f:f3:00:f4:db:04:14:1c:04:69:a1:28:19:5c:4c: + bc:1c:3c:72:de:1c:81:1f:c1:11:9f:ef:6c:2a:05: + 83:4d:ad:3d:09:df:bc:93:72:2d:f5:c7:ec:42:d3: + f8:90:c2:33:c3:e2:b4:61:60:5c:66:fd:45:bd:b0: + 5b:44:25:5b:48:7f:da:3f:a2:3d:8c:87:61:46:45: + ad:03:0e:4d:28:5f:e8:de:c1:91:27:4f:2f:8c:51: + dd:24:e0:b1:72:31:de:94:72:7e:25:26:c6:f7:b8: + 79:e3:67:c6:b2:cf:90:c4:30:34:3f:dc:cc:e3:7f: + a0:a3:84:e7:38:a1:79:b9:51:7b:84:da:0b:19:ca: + 7a:3d:dd:f2:ed:4d:70:1c:e3:0d:0a:cc:c7:19:d9: + d8:80:a7:94:dd:a6:ad:30:de:93:09:50:01:68:7a: + 11:52:70:14:4a:ec:a6:fd:c6:e5:d5:3f:1a:12:bc: + 60:95:3c:d5:d7:52:c1:22:a0:89:5f:4f:64:ad:2a: + f0:d5:04:f0:53:b5:64:67:13:40:4b:61:32:5a:59: + 00:27:5a:9e:b8:42:05:a2:56:7f:89:99:d1:a4:22: + 6e:2c:1e:90:75:17:07:8d:e2:6b:1d:92:08:9c:e8: + 90:25:60:94:69:ef:5b:52:8e:e1:27:27:05:6d:82: + a2:ea:a5:4b:4b:3d:3a:49:eb:8f:f4:94:39:5a:cc: + 22:79:35:a7:6e:4e:90:00:f8:c4:aa:5e:51:d2:03: + f4:5b:43:55:52:68:a7:51:69:da:8b:60:e5:28:a8: + 61:70:1d:d9:5d:7b:26:69:03:0a:74:89:b3:3a:d8: + 69:95:ad Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: - 75:A8:71:60:4C:88:13:F0:78:D9:89:77:B5:6D:C5:89:DF:BC:B1:7A + 84:84:E0:1D:16:49:5E:B1:C5:E5:E7:CF:2D:A8:56:74:4B:E8:92:94 X509v3 Authority Key Identifier: - keyid:16:B5:32:1B:D4:C7:F3:E0:E6:8E:F3:BD:D2:B0:3A:EE:B2:39:18:D1 - DirName:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org + keyid:85:D7:05:0A:D6:8F:F2:04:2D:5E:EB:CB:FD:F6:69:8B:1F:4E:06:FE + DirName:/C=AU/ST=New South Wales/O=CAcert Testserver/OU=http://cacert1.it-sls.de/CN=CAcert Testserver Root serial:00 X509v3 Basic Constraints: critical @@ -63,7 +63,7 @@ Certificate: CA Issuers - URI:http://www.CAcert.org/ca.crt X509v3 Certificate Policies: - Policy: 1.3.6.1.4.1.18506 + Policy: Security CPS: http://www.CAcert.org/index.php?id=10 Netscape CA Policy Url: @@ -71,74 +71,75 @@ Certificate: Netscape Comment: To get your own certificate for FREE, go to http://www.CAcert.org Signature Algorithm: sha256WithRSAEncryption - 29:28:85:ae:44:a9:b9:af:a4:79:13:f0:a8:a3:2b:97:60:f3: - 5c:ee:e3:2f:c1:f6:e2:66:a0:11:ae:36:37:3a:76:15:04:53: - ea:42:f5:f9:ea:c0:15:d8:a6:82:d9:e4:61:ae:72:0b:29:5c: - 90:43:e8:41:b2:e1:77:db:02:13:44:78:47:55:af:58:fc:cc: - 98:f6:45:b9:d1:20:f8:d8:21:07:fe:6d:aa:73:d4:b3:c6:07: - e9:09:85:cc:3b:f2:b6:be:2c:1c:25:d5:71:8c:39:b5:2e:ea: - be:18:81:ba:b0:93:b8:0f:e3:e6:d7:26:8c:31:5a:72:03:84: - 52:e6:a6:f5:33:22:45:0a:c8:0b:0d:8a:b8:36:6f:90:09:a1: - ab:bd:d7:d5:4e:2e:71:a2:d4:ae:fa:a7:54:2b:eb:35:8d:5a: - b7:54:88:2f:ee:74:9f:ed:48:16:ca:0d:48:d0:94:d3:ac:a4: - a2:f6:24:df:92:e3:bd:eb:43:40:91:6e:1c:18:8e:56:b4:82: - 12:f3:a9:93:9f:d4:bc:9c:ad:9c:75:ee:5a:97:1b:95:e7:74: - 2d:1c:0f:b0:2c:97:9f:fb:a9:33:39:7a:e7:03:3a:92:8e:22: - f6:8c:0d:e4:d9:7e:0d:76:18:f7:01:f9:ef:96:96:a2:55:73: - c0:3c:71:b4:1d:1a:56:43:b7:c3:0a:8d:72:fc:e2:10:09:0b: - 41:ce:8c:94:a0:f9:03:fd:71:73:4b:8a:57:33:e5:8e:74:7e: - 15:01:00:e6:cc:4a:1c:e7:7f:95:19:2d:c5:a5:0c:8b:bb:b5: - ed:85:b3:5c:d3:df:b8:b9:f2:ca:c7:0d:01:14:ac:70:58:c5: - 8c:8d:33:d4:9d:66:a3:1a:50:95:23:fc:48:e0:06:43:12:d9: - cd:a7:86:39:2f:36:72:a3:80:10:e4:e1:f3:d1:cb:5b:1a:c0: - e4:80:9a:7c:13:73:06:4f:db:a3:6b:24:0a:ba:b3:1c:bc:4a: - 78:bb:e5:e3:75:38:a5:48:a7:a2:1e:af:76:d4:5e:f7:38:86: - 56:5a:89:ce:d6:c3:a7:79:b2:52:a0:c6:f1:85:b4:25:8c:f2: - 3f:96:b3:10:d9:8d:6c:57:3b:9f:6f:86:3a:18:82:22:36:c8: - b0:91:38:db:2a:a1:93:aa:84:3f:f5:27:65:ae:73:d5:c8:d5: - d3:77:ea:4b:9d:c7:41:bb:c7:c0:e3:a0:3f:e4:7d:a4:8d:73: - e6:12:4b:df:a1:73:73:73:3a:80:e8:d5:cb:8e:2f:cb:ea:13: - a7:d6:41:8b:ac:fa:3c:89:d7:24:f5:4e:b4:e0:61:92:b7:f3: - 37:98:c4:be:96:a3:b7:8a + 55:9e:77:16:00:84:00:fe:86:23:b1:22:a3:28:ca:7c:80:74: + c6:81:6e:60:a0:ef:32:5c:12:ae:a9:81:b3:fb:70:72:fe:e3: + 3c:c8:3f:86:5c:fe:d3:ec:99:b2:fb:8a:5d:dc:20:b6:f4:f8: + 44:f0:99:74:67:0b:a7:3d:13:6c:56:91:ee:a3:bf:da:b3:43: + 40:23:40:8e:c5:41:d0:ff:d1:c2:60:29:a8:0c:4e:7f:9a:06: + 0c:a2:18:6e:94:d3:34:ca:53:b7:0a:dc:07:b7:cd:28:ed:75: + a8:9b:10:9c:90:a1:09:4b:b8:4c:d9:cc:36:0e:2c:15:c9:5c: + 31:08:9e:1a:d9:fa:0a:96:46:75:83:38:9c:1d:af:fd:7d:6a: + 5a:a0:17:c9:ef:c4:a4:35:df:ab:d5:f0:ba:a6:b2:bc:dc:b3: + 43:be:ea:fe:77:61:e5:63:f4:06:32:78:22:ca:d9:73:c2:ca: + 11:a9:89:ad:ad:ee:e3:c8:37:5c:e8:94:28:09:2d:74:1c:24: + 48:37:74:64:6a:b2:60:1e:b8:1e:cf:ca:53:b3:f7:1b:b1:5e: + 36:11:4a:ae:9f:70:e3:f7:d4:2c:61:49:e1:f0:4e:a4:f1:ce: + 4b:b3:fe:ef:a5:e1:10:6a:ff:42:e4:31:2f:d0:04:19:a7:8d: + aa:8f:cb:74:db:13:09:de:af:fc:4c:5b:1c:8b:8b:d0:cf:2c: + fa:d7:9c:95:eb:c5:cc:d5:e5:27:14:b7:ed:1c:31:85:83:63: + e0:3e:a6:7c:70:77:4b:3f:4f:37:c3:20:28:62:75:24:ca:49: + b6:3d:90:f7:1b:c4:25:4e:5b:e3:f3:ea:6b:a8:61:6a:cf:ba: + 3d:36:ad:90:c8:37:6f:6b:21:00:1e:ef:7b:e1:dc:2f:be:ce: + f0:01:e9:27:db:7d:34:cc:8a:3f:7b:2b:ce:9f:73:d4:6c:e9: + a9:8a:0b:07:61:29:62:85:89:b2:fa:cf:41:61:c4:0b:e3:a7: + 1a:37:16:e8:26:e2:af:6c:0c:0c:f1:dc:61:d4:27:5b:f3:ab: + 76:49:01:b6:35:0a:23:e0:95:46:fd:ac:08:be:72:91:64:ae: + 74:8f:f6:96:9a:ff:0e:62:62:b4:93:38:17:6e:19:d0:69:f2: + 47:2b:1d:70:7d:46:e4:8b:9d:d2:fe:27:8d:71:7b:12:01:6f: + eb:52:4d:0f:07:f2:9c:e4:89:14:ce:7e:66:28:1a:28:b3:11: + 11:cc:d4:e5:25:f4:13:d6:ff:6f:94:67:da:38:29:49:7b:b0: + f6:a4:9e:23:24:a6:6d:5d:04:a8:6f:5e:3f:6b:70:0f:3e:49: + 4a:69:45:aa:20:eb:8f:93 -----BEGIN CERTIFICATE----- -MIIHWTCCBUGgAwIBAgIDCkGKMA0GCSqGSIb3DQEBCwUAMHkxEDAOBgNVBAoTB1Jv -b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ -Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y -dEBjYWNlcnQub3JnMB4XDTExMDUyMzE3NDgwMloXDTIxMDUyMDE3NDgwMlowVDEU -MBIGA1UEChMLQ0FjZXJ0IEluYy4xHjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0 -Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMgUm9vdDCCAiIwDQYJKoZIhvcN -AQEBBQADggIPADCCAgoCggIBAKtJNRFIfNImflOUz0Op3SjXQiqL84d4GVh8D57a -iX3h++tykA10oZZkq5+gJJlz2uJVdscXe/UErEa4w75/ZI0QbCTzYZzA8pD6Ueb1 -aQFjww9W4kpCz+JEjCUoqMV5CX1GuYrz6fM0KQhF5Byfy5QEHIGoFLOYZcRD7E6C -jQnRvapbjZLQ7N6QxX8KwuPr5jFaXnQ+lzNZ6MMDPWAzv/fRb0fEze5ig1JuLgia -pNkVGJGmhZJHsK5I6223IeyFGmhyNav/8BBdwPSUp2rVO5J+TJAFfpPBLIukjmJ0 -FXFuC3ED6q8VOJrU0gVyb4z5K+taciX5OUbjchs+BMNkJyIQKopPWKcDrb60LhPt -XapI19V91Cp7XPpGBFDkzA5CW4zt2/LP/JaT4NsRNlRiNDiPDGCbO5dWOK3z0luL -oFvqTpa4fNfVoIZwQNORKbeiPK31jLvPGpKK5DR7wNhsX+kKwsOnIJpa3yxdUly6 -R9Wb7yQocDggL9V/KcCyQQNokszgnMyXS0XvOhAKq3A6mJVwrTWx6oUrpByAITGp -rmB6gCZIALgBwJNjVSKRPFbnr9s6JfOPMVTqJouBWfmh0VMRxXudA/Z0EeBtsSw/ -LIaRmXGapneLNGDRFLQsrJ2vjBDTn8Rq+G8T/HNZ92ZCdB6K4/jc0m+YnMtHmJVA -BfvpAgMBAAGjggINMIICCTAdBgNVHQ4EFgQUdahxYEyIE/B42Yl3tW3Fid+8sXow -gaMGA1UdIwSBmzCBmIAUFrUyG9TH8+DmjvO90rA67rI5GNGhfaR7MHkxEDAOBgNV -BAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAG -A1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYS -c3VwcG9ydEBjYWNlcnQub3JnggEAMA8GA1UdEwEB/wQFMAMBAf8wXQYIKwYBBQUH -AQEEUTBPMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5DQWNlcnQub3JnLzAoBggr -BgEFBQcwAoYcaHR0cDovL3d3dy5DQWNlcnQub3JnL2NhLmNydDBKBgNVHSAEQzBB -MD8GCCsGAQQBgZBKMDMwMQYIKwYBBQUHAgEWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9y -Zy9pbmRleC5waHA/aWQ9MTAwNAYJYIZIAYb4QgEIBCcWJWh0dHA6Ly93d3cuQ0Fj -ZXJ0Lm9yZy9pbmRleC5waHA/aWQ9MTAwUAYJYIZIAYb4QgENBEMWQVRvIGdldCB5 -b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSwgZ28gdG8gaHR0cDovL3d3dy5D -QWNlcnQub3JnMA0GCSqGSIb3DQEBCwUAA4ICAQApKIWuRKm5r6R5E/CooyuXYPNc -7uMvwfbiZqARrjY3OnYVBFPqQvX56sAV2KaC2eRhrnILKVyQQ+hBsuF32wITRHhH -Va9Y/MyY9kW50SD42CEH/m2qc9SzxgfpCYXMO/K2viwcJdVxjDm1Luq+GIG6sJO4 -D+Pm1yaMMVpyA4RS5qb1MyJFCsgLDYq4Nm+QCaGrvdfVTi5xotSu+qdUK+s1jVq3 -VIgv7nSf7UgWyg1I0JTTrKSi9iTfkuO960NAkW4cGI5WtIIS86mTn9S8nK2cde5a -lxuV53QtHA+wLJef+6kzOXrnAzqSjiL2jA3k2X4Ndhj3AfnvlpaiVXPAPHG0HRpW -Q7fDCo1y/OIQCQtBzoyUoPkD/XFzS4pXM+WOdH4VAQDmzEoc53+VGS3FpQyLu7Xt -hbNc09+4ufLKxw0BFKxwWMWMjTPUnWajGlCVI/xI4AZDEtnNp4Y5LzZyo4AQ5OHz -0ctbGsDkgJp8E3MGT9ujayQKurMcvEp4u+XjdTilSKeiHq921F73OIZWWonO1sOn -ebJSoMbxhbQljPI/lrMQ2Y1sVzufb4Y6GIIiNsiwkTjbKqGTqoQ/9SdlrnPVyNXT -d+pLncdBu8fA46A/5H2kjXPmEkvfoXNzczqA6NXLji/L6hOn1kGLrPo8idck9U60 -4GGSt/M3mMS+lqO3ig== +MIIHgjCCBWqgAwIBAgICEBswDQYJKoZIhvcNAQELBQAwgYcxCzAJBgNVBAYTAkFV +MRgwFgYDVQQIEw9OZXcgU291dGggV2FsZXMxGjAYBgNVBAoTEUNBY2VydCBUZXN0 +c2VydmVyMSEwHwYDVQQLExhodHRwOi8vY2FjZXJ0MS5pdC1zbHMuZGUxHzAdBgNV +BAMTFkNBY2VydCBUZXN0c2VydmVyIFJvb3QwHhcNMTEwNTAxMTgyNTA5WhcNMjEw +NDI4MTgyNTA5WjBiMRkwFwYDVQQKExBDQWNlcnQgVGVzdHNldmVyMSEwHwYDVQQL +ExhodHRwOi8vY2FjZXJ0MS5pdC1zbHMuZGUxIjAgBgNVBAMTGUNBY2VydCBUZXN0 +c2VydmVyIENsYXNzIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDI +576JQukwI58zuNidaS0HUYVCBmy4mpV7VhydDtW07hDu5lYGmbcuBW+SfjPCjMMR +QVEiNrWv3tLclBKah/ubOmgP1HenQxRfGiJkuPk7dwlM7qqPfRn/H1Pm1w1bj/e1 +yZkeNc0UzMPdRbD9InR3/hwHQ1hfLHKGbbYc6uTb+0UOgGAsMwb/WVb+8mSrgERZ +9pFhw8uK5+BFgJwSdsTsN68h5ZDL4VIf9Zq8z8jNGcXK0DSoZ0vT0y6EyVdXiXNS +PF/zAPTbBBQcBGmhKBlcTLwcPHLeHIEfwRGf72wqBYNNrT0J37yTci31x+xC0/iQ +wjPD4rRhYFxm/UW9sFtEJVtIf9o/oj2Mh2FGRa0DDk0oX+jewZEnTy+MUd0k4LFy +Md6Ucn4lJsb3uHnjZ8ayz5DEMDQ/3Mzjf6CjhOc4oXm5UXuE2gsZyno93fLtTXAc +4w0KzMcZ2diAp5Tdpq0w3pMJUAFoehFScBRK7Kb9xuXVPxoSvGCVPNXXUsEioIlf +T2StKvDVBPBTtWRnE0BLYTJaWQAnWp64QgWiVn+JmdGkIm4sHpB1FweN4msdkgic +6JAlYJRp71tSjuEnJwVtgqLqpUtLPTpJ64/0lDlazCJ5NaduTpAA+MSqXlHSA/Rb +Q1VSaKdRadqLYOUoqGFwHdldeyZpAwp0ibM62GmVrQIDAQABo4ICGjCCAhYwHQYD +VR0OBBYEFISE4B0WSV6xxeXnzy2oVnRL6JKUMIG0BgNVHSMEgawwgamAFIXXBQrW +j/IELV7ry/32aYsfTgb+oYGNpIGKMIGHMQswCQYDVQQGEwJBVTEYMBYGA1UECBMP +TmV3IFNvdXRoIFdhbGVzMRowGAYDVQQKExFDQWNlcnQgVGVzdHNlcnZlcjEhMB8G +A1UECxMYaHR0cDovL2NhY2VydDEuaXQtc2xzLmRlMR8wHQYDVQQDExZDQWNlcnQg +VGVzdHNlcnZlciBSb290ggEAMA8GA1UdEwEB/wQFMAMBAf8wXQYIKwYBBQUHAQEE +UTBPMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5DQWNlcnQub3JnLzAoBggrBgEF +BQcwAoYcaHR0cDovL3d3dy5DQWNlcnQub3JnL2NhLmNydDBGBgNVHSAEPzA9MDsG +BCsGAQUwMzAxBggrBgEFBQcCARYlaHR0cDovL3d3dy5DQWNlcnQub3JnL2luZGV4 +LnBocD9pZD0xMDA0BglghkgBhvhCAQgEJxYlaHR0cDovL3d3dy5DQWNlcnQub3Jn +L2luZGV4LnBocD9pZD0xMDBQBglghkgBhvhCAQ0EQxZBVG8gZ2V0IHlvdXIgb3du +IGNlcnRpZmljYXRlIGZvciBGUkVFLCBnbyB0byBodHRwOi8vd3d3LkNBY2VydC5v +cmcwDQYJKoZIhvcNAQELBQADggIBAFWedxYAhAD+hiOxIqMoynyAdMaBbmCg7zJc +Eq6pgbP7cHL+4zzIP4Zc/tPsmbL7il3cILb0+ETwmXRnC6c9E2xWke6jv9qzQ0Aj +QI7FQdD/0cJgKagMTn+aBgyiGG6U0zTKU7cK3Ae3zSjtdaibEJyQoQlLuEzZzDYO +LBXJXDEInhrZ+gqWRnWDOJwdr/19alqgF8nvxKQ136vV8Lqmsrzcs0O+6v53YeVj +9AYyeCLK2XPCyhGpia2t7uPIN1zolCgJLXQcJEg3dGRqsmAeuB7PylOz9xuxXjYR +Sq6fcOP31CxhSeHwTqTxzkuz/u+l4RBq/0LkMS/QBBmnjaqPy3TbEwner/xMWxyL +i9DPLPrXnJXrxczV5ScUt+0cMYWDY+A+pnxwd0s/TzfDIChidSTKSbY9kPcbxCVO +W+Pz6muoYWrPuj02rZDIN29rIQAe73vh3C++zvAB6SfbfTTMij97K86fc9Rs6amK +CwdhKWKFibL6z0FhxAvjpxo3Fugm4q9sDAzx3GHUJ1vzq3ZJAbY1CiPglUb9rAi+ +cpFkrnSP9paa/w5iYrSTOBduGdBp8kcrHXB9RuSLndL+J41xexIBb+tSTQ8H8pzk +iRTOfmYoGiizERHM1OUl9BPW/2+UZ9o4KUl7sPakniMkpm1dBKhvXj9rcA8+SUpp +Raog64+T -----END CERTIFICATE----- diff --git a/www/certs/root.crt b/www/certs/root.crt index e7dfc82..fa9d766 100644 --- a/www/certs/root.crt +++ b/www/certs/root.crt @@ -1,41 +1,43 @@ -----BEGIN CERTIFICATE----- -MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290 -IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB -IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA -Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO -BgNVBAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEi -MCAGA1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJ -ARYSc3VwcG9ydEBjYWNlcnQub3JnMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC -CgKCAgEAziLA4kZ97DYoB1CW8qAzQIxL8TtmPzHlawI229Z89vGIj053NgVBlfkJ -8BLPRoZzYLdufujAWGSuzbCtRRcMY/pnCujW0r8+55jE8Ez64AO7NV1sId6eINm6 -zWYyN3L69wj1x81YyY7nDl7qPv4coRQKFWyGhFtkZip6qUtTefWIonvuLwphK42y -fk1WpRPs6tqSnqxEQR5YYGUFZvjARL3LlPdCfgv3ZWiYUQXw8wWRBB0bF4LsyFe7 -w2t6iPGwcswlWyCR7BYCEo8y6RcYSNDHBS4CMEK4JZwFaz+qOqfrU0j36NK2B5jc -G8Y0f3/JHIJ6BVgrCFvzOKKrF11myZjXnhCLotLddJr3cQxyYN/Nb5gznZY0dj4k -epKwDpUeb+agRThHqtdB7Uq3EvbXG4OKDy7YCbZZ16oE/9KTfWgu3YtLq1i6L43q -laegw1SJpfvbi1EinbLDvhG+LJGGi5Z4rSDTii8aP8bQUWWHIbEZAWV/RRyH9XzQ -QUxPKZgh/TMfdQwEUfoZd9vUFBzugcMd9Zi3aQaRIt0AUMyBMawSB3s42mhb5ivU -fslfrejrckzzAeVLIL+aplfKkQABi6F1ITe1Yw1nPkZPcCBnzsXWWdsC4PDSy826 -YreQQejdIOQpvGQpQsgi3Hia/0PsmBsJUUtaWsJx8cTLc6nloQsCAwEAAaOCAc4w -ggHKMB0GA1UdDgQWBBQWtTIb1Mfz4OaO873SsDrusjkY0TCBowYDVR0jBIGbMIGY -gBQWtTIb1Mfz4OaO873SsDrusjkY0aF9pHsweTEQMA4GA1UEChMHUm9vdCBDQTEe -MBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0 -IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy -dC5vcmeCAQAwDwYDVR0TAQH/BAUwAwEB/zAyBgNVHR8EKzApMCegJaAjhiFodHRw -czovL3d3dy5jYWNlcnQub3JnL3Jldm9rZS5jcmwwMAYJYIZIAYb4QgEEBCMWIWh0 -dHBzOi8vd3d3LmNhY2VydC5vcmcvcmV2b2tlLmNybDA0BglghkgBhvhCAQgEJxYl -aHR0cDovL3d3dy5jYWNlcnQub3JnL2luZGV4LnBocD9pZD0xMDBWBglghkgBhvhC -AQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGNlcnRpZmljYXRlIGZvciBGUkVFIGhlYWQg -b3ZlciB0byBodHRwOi8vd3d3LmNhY2VydC5vcmcwDQYJKoZIhvcNAQEEBQADggIB -ACjH7pyCArpcgBLKNQodgW+JapnM8mgPf6fhjViVPr3yBsOQWqy1YPaZQwGjiHCc -nWKdpIevZ1gNMDY75q1I08t0AoZxPuIrA2jxNGJARjtT6ij0rPtmlVOKTV39O9lg -18p5aTuxZZKmxoGCXJzN600BiqXfEVWqFcofN8CCmHBh22p8lqOOLlQ+TyGpkO/c -gr/c6EWtTZBzCDyUZbAEmXZ/4rzCahWqlwQ3JNgelE5tDlG+1sSPypZt90Pf6DBl -Jzt7u0NDY8RD97LsaMzhGY4i+5jhe1o+ATc7iwiwovOVThrLm82asduycPAtStvY -sONvRUgzEv/+PDIqVPfE94rwiCPCR/5kenHA0R6mY7AHfqQv0wGP3J8rtsYIqQ+T -SCX8Ev2fQtzzxD72V7DX3WnRBnc0CkvSyqD/HMaMyRa+xMwyN2hzXwj7UfdJUzYF -CpUCTPJ5GhD22Dp1nPMd8aINcGeGG7MW9S/lpOt5hvk9C8JzC6WZrG/8Z7jlLwum -GCSNe9FINSkYQKyTYOGWhlC0elnYjyELn8+CkcY7v2vcB5G5l1YjqrZslMZIBjzk -zk6q5PYvCdxTby78dOs6Y5nCpqyJvKeyRKANihDjbPIky/qbn3BHLt4Ui9SyIAmW -omTxJBzcoTWcFbLUvFUufQb1nA5V9FrWk9p2rSVzTMVD +MIIHpzCCBY+gAwIBAgIBADANBgkqhkiG9w0BAQUFADCBhzELMAkGA1UEBhMCQVUx +GDAWBgNVBAgTD05ldyBTb3V0aCBXYWxlczEaMBgGA1UEChMRQ0FjZXJ0IFRlc3Rz +ZXJ2ZXIxITAfBgNVBAsTGGh0dHA6Ly9jYWNlcnQxLml0LXNscy5kZTEfMB0GA1UE +AxMWQ0FjZXJ0IFRlc3RzZXJ2ZXIgUm9vdDAeFw0xMTAzMjkyMDQ1MjBaFw0yMTAz +MjYyMDQ1MjBaMIGHMQswCQYDVQQGEwJBVTEYMBYGA1UECBMPTmV3IFNvdXRoIFdh +bGVzMRowGAYDVQQKExFDQWNlcnQgVGVzdHNlcnZlcjEhMB8GA1UECxMYaHR0cDov +L2NhY2VydDEuaXQtc2xzLmRlMR8wHQYDVQQDExZDQWNlcnQgVGVzdHNlcnZlciBS +b290MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5fvQIrtzGpSbyWam +2kHfXMCXgRuTHSuQwbvkqdLAqtiI4ZQkF4jTy+7D6LVnDd3kw/hC1EAhcV79WuTn +PrrpjM1JdliOOOvb5sh9SQrdT4w1IO2JBmHrykcHCcvh7tLcm8iKA3iIIxO76SXZ +Pd7buDEQQrP8z6AXBgCRIdtS9uA5WxAmmbj2ToL8UaViijB062zVO9euOuMdN5Qk +pCVOj9tfzotJDHw3sNvP65G/C63ZJ0ysUhohncXe+e6UIPHVS+V54nBENz+4HY/d +zchFFHhnhuCSyhPfSz975IlnBSgMqhVPEYuFpAkDUSUpc8kXoe+cVVSjPBw0exUJ +X4OUjEUf3HgdPyaoeeAPbkQ2pd118vMHzTzAX7t/GzVxROkYSzFvuSljI7ivFx9Y +lPRsMW5L9TRIjxCPBLoqTNKgQQOfZiib+T4PY/ii+qU17lMZK9L9hnAMjW8L2dzx +Z6/qrhM58vKqt6Rd9bsUt109WWflKY39YenlGaCJU+0qgsUcbl2qHjgbkz8rvJJM +10BkVROvVvqnPjkSc8ZPD+1Si9pP0pztAl7vXsDM30jtL6Jv/DyTFKUljpb0tqA9 +22SyOxUu0kkKBYXY1HrqL6Ahvjeorv5aDzrUqAYTYB6Z82ykx0bG5FsAK4ShoTv1 +3ir9ejhln4JPGiyQTdMXgRaHX/kCAwEAAaOCAhowggIWMB0GA1UdDgQWBBSF1wUK +1o/yBC1e68v99mmLH04G/jCBtAYDVR0jBIGsMIGpgBSF1wUK1o/yBC1e68v99mmL +H04G/qGBjaSBijCBhzELMAkGA1UEBhMCQVUxGDAWBgNVBAgTD05ldyBTb3V0aCBX +YWxlczEaMBgGA1UEChMRQ0FjZXJ0IFRlc3RzZXJ2ZXIxITAfBgNVBAsTGGh0dHA6 +Ly9jYWNlcnQxLml0LXNscy5kZTEfMB0GA1UEAxMWQ0FjZXJ0IFRlc3RzZXJ2ZXIg +Um9vdIIBADAPBgNVHRMBAf8EBTADAQH/MF0GCCsGAQUFBwEBBFEwTzAjBggrBgEF +BQcwAYYXaHR0cDovL29jc3AuQ0FjZXJ0Lm9yZy8wKAYIKwYBBQUHMAKGHGh0dHA6 +Ly93d3cuQ0FjZXJ0Lm9yZy9jYS5jcnQwRgYDVR0gBD8wPTA7BgQrBgEFMDMwMQYI +KwYBBQUHAgEWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZy9pbmRleC5waHA/aWQ9MTAw +NAYJYIZIAYb4QgEIBCcWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZy9pbmRleC5waHA/ +aWQ9MTAwUAYJYIZIAYb4QgENBEMWQVRvIGdldCB5b3VyIG93biBjZXJ0aWZpY2F0 +ZSBmb3IgRlJFRSwgZ28gdG8gaHR0cDovL3d3dy5DQWNlcnQub3JnMA0GCSqGSIb3 +DQEBBQUAA4ICAQDQjXJDogH/NiU53JEUaw7jEF7qgp8vLjO2AXkwwpdKOWKS6lm9 +BQXiKs6HUdVYwsdST30kSvF1dD9Y9gCgFVyN662Tk2LwaPyKRq9cxlUXwqKEczfE +4yFPhYXS1giIGL8aSUx0lok6KWRXNgspgBIZ+0tFV+9GLNTP5y+ofU2ME1xw6+zM +tN/rgN2Xt6oVO24tJlKWVvodIgfq8QPscxZHwFqyHWh8hsL8q4mSDZZ0B7wHy51F +gliDzcq+WG8tk29WV++7uHRnN2rqJSoGc91IAHN2YmBW/mCeiqPH0Ms1x7Oo1DuZ +C5pc1GGyxGun252NxRM9jEz7UsWqHRCCyyA6Tyo2E6b3gdiatmohW1JIUTk+WONZ +41+Htgz+vhGFzTOnAWUQLapPllNeYjs/b1Ub8vpycx2O0FU3ZPtC+41GriPHQ2rJ +/ToQVI4ZAHUp7O6n4+r7Onhf5qylVeux+Qzy+IV2Db7rj0KXBoHjW3S0hIfIJE0x +1T5Ldj+YBFvCLvd6RrcNgoS/HaKAV/42AENy1V1eBBP6TJ8kmXWVbyRpzRFgZmmB +z6jLle2M0/kaPER2s5QFvxu+Y6mwrQ237im9oPHzY4kGv8eeF+AMUOmSC+M5jb3m ++IafDexcFnjchflKWV/RRHSj28kJ3ops1lgpkx4+TJo3M62Udepphw0ItA== -----END CERTIFICATE----- diff --git a/www/certs/root.der b/www/certs/root.der Binary files differindex 719b0ff..9166696 100644 --- a/www/certs/root.der +++ b/www/certs/root.der diff --git a/www/certs/root.txt b/www/certs/root.txt index 96bb2cd..26c1593 100644 --- a/www/certs/root.txt +++ b/www/certs/root.txt @@ -2,139 +2,144 @@ Certificate: Data: Version: 3 (0x2) Serial Number: 0 (0x0) - Signature Algorithm: md5WithRSAEncryption - Issuer: O=Root CA, OU=http://www.cacert.org, CN=CA Cert Signing Authority/emailAddress=support@cacert.org + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=AU, ST=New South Wales, O=CAcert Testserver, OU=http://cacert1.it-sls.de, CN=CAcert Testserver Root Validity - Not Before: Mar 30 12:29:49 2003 GMT - Not After : Mar 29 12:29:49 2033 GMT - Subject: O=Root CA, OU=http://www.cacert.org, CN=CA Cert Signing Authority/emailAddress=support@cacert.org + Not Before: Mar 29 20:45:20 2011 GMT + Not After : Mar 26 20:45:20 2021 GMT + Subject: C=AU, ST=New South Wales, O=CAcert Testserver, OU=http://cacert1.it-sls.de, CN=CAcert Testserver Root Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (4096 bit) Modulus (4096 bit): - 00:ce:22:c0:e2:46:7d:ec:36:28:07:50:96:f2:a0: - 33:40:8c:4b:f1:3b:66:3f:31:e5:6b:02:36:db:d6: - 7c:f6:f1:88:8f:4e:77:36:05:41:95:f9:09:f0:12: - cf:46:86:73:60:b7:6e:7e:e8:c0:58:64:ae:cd:b0: - ad:45:17:0c:63:fa:67:0a:e8:d6:d2:bf:3e:e7:98: - c4:f0:4c:fa:e0:03:bb:35:5d:6c:21:de:9e:20:d9: - ba:cd:66:32:37:72:fa:f7:08:f5:c7:cd:58:c9:8e: - e7:0e:5e:ea:3e:fe:1c:a1:14:0a:15:6c:86:84:5b: - 64:66:2a:7a:a9:4b:53:79:f5:88:a2:7b:ee:2f:0a: - 61:2b:8d:b2:7e:4d:56:a5:13:ec:ea:da:92:9e:ac: - 44:41:1e:58:60:65:05:66:f8:c0:44:bd:cb:94:f7: - 42:7e:0b:f7:65:68:98:51:05:f0:f3:05:91:04:1d: - 1b:17:82:ec:c8:57:bb:c3:6b:7a:88:f1:b0:72:cc: - 25:5b:20:91:ec:16:02:12:8f:32:e9:17:18:48:d0: - c7:05:2e:02:30:42:b8:25:9c:05:6b:3f:aa:3a:a7: - eb:53:48:f7:e8:d2:b6:07:98:dc:1b:c6:34:7f:7f: - c9:1c:82:7a:05:58:2b:08:5b:f3:38:a2:ab:17:5d: - 66:c9:98:d7:9e:10:8b:a2:d2:dd:74:9a:f7:71:0c: - 72:60:df:cd:6f:98:33:9d:96:34:76:3e:24:7a:92: - b0:0e:95:1e:6f:e6:a0:45:38:47:aa:d7:41:ed:4a: - b7:12:f6:d7:1b:83:8a:0f:2e:d8:09:b6:59:d7:aa: - 04:ff:d2:93:7d:68:2e:dd:8b:4b:ab:58:ba:2f:8d: - ea:95:a7:a0:c3:54:89:a5:fb:db:8b:51:22:9d:b2: - c3:be:11:be:2c:91:86:8b:96:78:ad:20:d3:8a:2f: - 1a:3f:c6:d0:51:65:87:21:b1:19:01:65:7f:45:1c: - 87:f5:7c:d0:41:4c:4f:29:98:21:fd:33:1f:75:0c: - 04:51:fa:19:77:db:d4:14:1c:ee:81:c3:1d:f5:98: - b7:69:06:91:22:dd:00:50:cc:81:31:ac:12:07:7b: - 38:da:68:5b:e6:2b:d4:7e:c9:5f:ad:e8:eb:72:4c: - f3:01:e5:4b:20:bf:9a:a6:57:ca:91:00:01:8b:a1: - 75:21:37:b5:63:0d:67:3e:46:4f:70:20:67:ce:c5: - d6:59:db:02:e0:f0:d2:cb:cd:ba:62:b7:90:41:e8: - dd:20:e4:29:bc:64:29:42:c8:22:dc:78:9a:ff:43: - ec:98:1b:09:51:4b:5a:5a:c2:71:f1:c4:cb:73:a9: - e5:a1:0b + 00:e5:fb:d0:22:bb:73:1a:94:9b:c9:66:a6:da:41: + df:5c:c0:97:81:1b:93:1d:2b:90:c1:bb:e4:a9:d2: + c0:aa:d8:88:e1:94:24:17:88:d3:cb:ee:c3:e8:b5: + 67:0d:dd:e4:c3:f8:42:d4:40:21:71:5e:fd:5a:e4: + e7:3e:ba:e9:8c:cd:49:76:58:8e:38:eb:db:e6:c8: + 7d:49:0a:dd:4f:8c:35:20:ed:89:06:61:eb:ca:47: + 07:09:cb:e1:ee:d2:dc:9b:c8:8a:03:78:88:23:13: + bb:e9:25:d9:3d:de:db:b8:31:10:42:b3:fc:cf:a0: + 17:06:00:91:21:db:52:f6:e0:39:5b:10:26:99:b8: + f6:4e:82:fc:51:a5:62:8a:30:74:eb:6c:d5:3b:d7: + ae:3a:e3:1d:37:94:24:a4:25:4e:8f:db:5f:ce:8b: + 49:0c:7c:37:b0:db:cf:eb:91:bf:0b:ad:d9:27:4c: + ac:52:1a:21:9d:c5:de:f9:ee:94:20:f1:d5:4b:e5: + 79:e2:70:44:37:3f:b8:1d:8f:dd:cd:c8:45:14:78: + 67:86:e0:92:ca:13:df:4b:3f:7b:e4:89:67:05:28: + 0c:aa:15:4f:11:8b:85:a4:09:03:51:25:29:73:c9: + 17:a1:ef:9c:55:54:a3:3c:1c:34:7b:15:09:5f:83: + 94:8c:45:1f:dc:78:1d:3f:26:a8:79:e0:0f:6e:44: + 36:a5:dd:75:f2:f3:07:cd:3c:c0:5f:bb:7f:1b:35: + 71:44:e9:18:4b:31:6f:b9:29:63:23:b8:af:17:1f: + 58:94:f4:6c:31:6e:4b:f5:34:48:8f:10:8f:04:ba: + 2a:4c:d2:a0:41:03:9f:66:28:9b:f9:3e:0f:63:f8: + a2:fa:a5:35:ee:53:19:2b:d2:fd:86:70:0c:8d:6f: + 0b:d9:dc:f1:67:af:ea:ae:13:39:f2:f2:aa:b7:a4: + 5d:f5:bb:14:b7:5d:3d:59:67:e5:29:8d:fd:61:e9: + e5:19:a0:89:53:ed:2a:82:c5:1c:6e:5d:aa:1e:38: + 1b:93:3f:2b:bc:92:4c:d7:40:64:55:13:af:56:fa: + a7:3e:39:12:73:c6:4f:0f:ed:52:8b:da:4f:d2:9c: + ed:02:5e:ef:5e:c0:cc:df:48:ed:2f:a2:6f:fc:3c: + 93:14:a5:25:8e:96:f4:b6:a0:3d:db:64:b2:3b:15: + 2e:d2:49:0a:05:85:d8:d4:7a:ea:2f:a0:21:be:37: + a8:ae:fe:5a:0f:3a:d4:a8:06:13:60:1e:99:f3:6c: + a4:c7:46:c6:e4:5b:00:2b:84:a1:a1:3b:f5:de:2a: + fd:7a:38:65:9f:82:4f:1a:2c:90:4d:d3:17:81:16: + 87:5f:f9 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: - 16:B5:32:1B:D4:C7:F3:E0:E6:8E:F3:BD:D2:B0:3A:EE:B2:39:18:D1 + 85:D7:05:0A:D6:8F:F2:04:2D:5E:EB:CB:FD:F6:69:8B:1F:4E:06:FE X509v3 Authority Key Identifier: - keyid:16:B5:32:1B:D4:C7:F3:E0:E6:8E:F3:BD:D2:B0:3A:EE:B2:39:18:D1 - DirName:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org + keyid:85:D7:05:0A:D6:8F:F2:04:2D:5E:EB:CB:FD:F6:69:8B:1F:4E:06:FE + DirName:/C=AU/ST=New South Wales/O=CAcert Testserver/OU=http://cacert1.it-sls.de/CN=CAcert Testserver Root serial:00 X509v3 Basic Constraints: critical CA:TRUE - X509v3 CRL Distribution Points: - URI:https://www.cacert.org/revoke.crl + Authority Information Access: + OCSP - URI:http://ocsp.CAcert.org/ + CA Issuers - URI:http://www.CAcert.org/ca.crt + + X509v3 Certificate Policies: + Policy: Security + CPS: http://www.CAcert.org/index.php?id=10 - Netscape CA Revocation Url: - https://www.cacert.org/revoke.crl Netscape CA Policy Url: - http://www.cacert.org/index.php?id=10 + http://www.CAcert.org/index.php?id=10 Netscape Comment: - To get your own certificate for FREE head over to http://www.cacert.org - Signature Algorithm: md5WithRSAEncryption - 28:c7:ee:9c:82:02:ba:5c:80:12:ca:35:0a:1d:81:6f:89:6a: - 99:cc:f2:68:0f:7f:a7:e1:8d:58:95:3e:bd:f2:06:c3:90:5a: - ac:b5:60:f6:99:43:01:a3:88:70:9c:9d:62:9d:a4:87:af:67: - 58:0d:30:36:3b:e6:ad:48:d3:cb:74:02:86:71:3e:e2:2b:03: - 68:f1:34:62:40:46:3b:53:ea:28:f4:ac:fb:66:95:53:8a:4d: - 5d:fd:3b:d9:60:d7:ca:79:69:3b:b1:65:92:a6:c6:81:82:5c: - 9c:cd:eb:4d:01:8a:a5:df:11:55:aa:15:ca:1f:37:c0:82:98: - 70:61:db:6a:7c:96:a3:8e:2e:54:3e:4f:21:a9:90:ef:dc:82: - bf:dc:e8:45:ad:4d:90:73:08:3c:94:65:b0:04:99:76:7f:e2: - bc:c2:6a:15:aa:97:04:37:24:d8:1e:94:4e:6d:0e:51:be:d6: - c4:8f:ca:96:6d:f7:43:df:e8:30:65:27:3b:7b:bb:43:43:63: - c4:43:f7:b2:ec:68:cc:e1:19:8e:22:fb:98:e1:7b:5a:3e:01: - 37:3b:8b:08:b0:a2:f3:95:4e:1a:cb:9b:cd:9a:b1:db:b2:70: - f0:2d:4a:db:d8:b0:e3:6f:45:48:33:12:ff:fe:3c:32:2a:54: - f7:c4:f7:8a:f0:88:23:c2:47:fe:64:7a:71:c0:d1:1e:a6:63: - b0:07:7e:a4:2f:d3:01:8f:dc:9f:2b:b6:c6:08:a9:0f:93:48: - 25:fc:12:fd:9f:42:dc:f3:c4:3e:f6:57:b0:d7:dd:69:d1:06: - 77:34:0a:4b:d2:ca:a0:ff:1c:c6:8c:c9:16:be:c4:cc:32:37: - 68:73:5f:08:fb:51:f7:49:53:36:05:0a:95:02:4c:f2:79:1a: - 10:f6:d8:3a:75:9c:f3:1d:f1:a2:0d:70:67:86:1b:b3:16:f5: - 2f:e5:a4:eb:79:86:f9:3d:0b:c2:73:0b:a5:99:ac:6f:fc:67: - b8:e5:2f:0b:a6:18:24:8d:7b:d1:48:35:29:18:40:ac:93:60: - e1:96:86:50:b4:7a:59:d8:8f:21:0b:9f:cf:82:91:c6:3b:bf: - 6b:dc:07:91:b9:97:56:23:aa:b6:6c:94:c6:48:06:3c:e4:ce: - 4e:aa:e4:f6:2f:09:dc:53:6f:2e:fc:74:eb:3a:63:99:c2:a6: - ac:89:bc:a7:b2:44:a0:0d:8a:10:e3:6c:f2:24:cb:fa:9b:9f: - 70:47:2e:de:14:8b:d4:b2:20:09:96:a2:64:f1:24:1c:dc:a1: - 35:9c:15:b2:d4:bc:55:2e:7d:06:f5:9c:0e:55:f4:5a:d6:93: - da:76:ad:25:73:4c:c5:43 + To get your own certificate for FREE, go to http://www.CAcert.org + Signature Algorithm: sha1WithRSAEncryption + d0:8d:72:43:a2:01:ff:36:25:39:dc:91:14:6b:0e:e3:10:5e: + ea:82:9f:2f:2e:33:b6:01:79:30:c2:97:4a:39:62:92:ea:59: + bd:05:05:e2:2a:ce:87:51:d5:58:c2:c7:52:4f:7d:24:4a:f1: + 75:74:3f:58:f6:00:a0:15:5c:8d:eb:ad:93:93:62:f0:68:fc: + 8a:46:af:5c:c6:55:17:c2:a2:84:73:37:c4:e3:21:4f:85:85: + d2:d6:08:88:18:bf:1a:49:4c:74:96:89:3a:29:64:57:36:0b: + 29:80:12:19:fb:4b:45:57:ef:46:2c:d4:cf:e7:2f:a8:7d:4d: + 8c:13:5c:70:eb:ec:cc:b4:df:eb:80:dd:97:b7:aa:15:3b:6e: + 2d:26:52:96:56:fa:1d:22:07:ea:f1:03:ec:73:16:47:c0:5a: + b2:1d:68:7c:86:c2:fc:ab:89:92:0d:96:74:07:bc:07:cb:9d: + 45:82:58:83:cd:ca:be:58:6f:2d:93:6f:56:57:ef:bb:b8:74: + 67:37:6a:ea:25:2a:06:73:dd:48:00:73:76:62:60:56:fe:60: + 9e:8a:a3:c7:d0:cb:35:c7:b3:a8:d4:3b:99:0b:9a:5c:d4:61: + b2:c4:6b:a7:db:9d:8d:c5:13:3d:8c:4c:fb:52:c5:aa:1d:10: + 82:cb:20:3a:4f:2a:36:13:a6:f7:81:d8:9a:b6:6a:21:5b:52: + 48:51:39:3e:58:e3:59:e3:5f:87:b6:0c:fe:be:11:85:cd:33: + a7:01:65:10:2d:aa:4f:96:53:5e:62:3b:3f:6f:55:1b:f2:fa: + 72:73:1d:8e:d0:55:37:64:fb:42:fb:8d:46:ae:23:c7:43:6a: + c9:fd:3a:10:54:8e:19:00:75:29:ec:ee:a7:e3:ea:fb:3a:78: + 5f:e6:ac:a5:55:eb:b1:f9:0c:f2:f8:85:76:0d:be:eb:8f:42: + 97:06:81:e3:5b:74:b4:84:87:c8:24:4d:31:d5:3e:4b:76:3f: + 98:04:5b:c2:2e:f7:7a:46:b7:0d:82:84:bf:1d:a2:80:57:fe: + 36:00:43:72:d5:5d:5e:04:13:fa:4c:9f:24:99:75:95:6f:24: + 69:cd:11:60:66:69:81:cf:a8:cb:95:ed:8c:d3:f9:1a:3c:44: + 76:b3:94:05:bf:1b:be:63:a9:b0:ad:0d:b7:ee:29:bd:a0:f1: + f3:63:89:06:bf:c7:9e:17:e0:0c:50:e9:92:0b:e3:39:8d:bd: + e6:f8:86:9f:0d:ec:5c:16:78:dc:85:f9:4a:59:5f:d1:44:74: + a3:db:c9:09:de:8a:6c:d6:58:29:93:1e:3e:4c:9a:37:33:ad: + 94:75:ea:69:87:0d:08:b4 -----BEGIN CERTIFICATE----- -MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290 -IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB -IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA -Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO -BgNVBAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEi -MCAGA1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJ -ARYSc3VwcG9ydEBjYWNlcnQub3JnMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC -CgKCAgEAziLA4kZ97DYoB1CW8qAzQIxL8TtmPzHlawI229Z89vGIj053NgVBlfkJ -8BLPRoZzYLdufujAWGSuzbCtRRcMY/pnCujW0r8+55jE8Ez64AO7NV1sId6eINm6 -zWYyN3L69wj1x81YyY7nDl7qPv4coRQKFWyGhFtkZip6qUtTefWIonvuLwphK42y -fk1WpRPs6tqSnqxEQR5YYGUFZvjARL3LlPdCfgv3ZWiYUQXw8wWRBB0bF4LsyFe7 -w2t6iPGwcswlWyCR7BYCEo8y6RcYSNDHBS4CMEK4JZwFaz+qOqfrU0j36NK2B5jc -G8Y0f3/JHIJ6BVgrCFvzOKKrF11myZjXnhCLotLddJr3cQxyYN/Nb5gznZY0dj4k -epKwDpUeb+agRThHqtdB7Uq3EvbXG4OKDy7YCbZZ16oE/9KTfWgu3YtLq1i6L43q -laegw1SJpfvbi1EinbLDvhG+LJGGi5Z4rSDTii8aP8bQUWWHIbEZAWV/RRyH9XzQ -QUxPKZgh/TMfdQwEUfoZd9vUFBzugcMd9Zi3aQaRIt0AUMyBMawSB3s42mhb5ivU -fslfrejrckzzAeVLIL+aplfKkQABi6F1ITe1Yw1nPkZPcCBnzsXWWdsC4PDSy826 -YreQQejdIOQpvGQpQsgi3Hia/0PsmBsJUUtaWsJx8cTLc6nloQsCAwEAAaOCAc4w -ggHKMB0GA1UdDgQWBBQWtTIb1Mfz4OaO873SsDrusjkY0TCBowYDVR0jBIGbMIGY -gBQWtTIb1Mfz4OaO873SsDrusjkY0aF9pHsweTEQMA4GA1UEChMHUm9vdCBDQTEe -MBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0 -IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy -dC5vcmeCAQAwDwYDVR0TAQH/BAUwAwEB/zAyBgNVHR8EKzApMCegJaAjhiFodHRw -czovL3d3dy5jYWNlcnQub3JnL3Jldm9rZS5jcmwwMAYJYIZIAYb4QgEEBCMWIWh0 -dHBzOi8vd3d3LmNhY2VydC5vcmcvcmV2b2tlLmNybDA0BglghkgBhvhCAQgEJxYl -aHR0cDovL3d3dy5jYWNlcnQub3JnL2luZGV4LnBocD9pZD0xMDBWBglghkgBhvhC -AQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGNlcnRpZmljYXRlIGZvciBGUkVFIGhlYWQg -b3ZlciB0byBodHRwOi8vd3d3LmNhY2VydC5vcmcwDQYJKoZIhvcNAQEEBQADggIB -ACjH7pyCArpcgBLKNQodgW+JapnM8mgPf6fhjViVPr3yBsOQWqy1YPaZQwGjiHCc -nWKdpIevZ1gNMDY75q1I08t0AoZxPuIrA2jxNGJARjtT6ij0rPtmlVOKTV39O9lg -18p5aTuxZZKmxoGCXJzN600BiqXfEVWqFcofN8CCmHBh22p8lqOOLlQ+TyGpkO/c -gr/c6EWtTZBzCDyUZbAEmXZ/4rzCahWqlwQ3JNgelE5tDlG+1sSPypZt90Pf6DBl -Jzt7u0NDY8RD97LsaMzhGY4i+5jhe1o+ATc7iwiwovOVThrLm82asduycPAtStvY -sONvRUgzEv/+PDIqVPfE94rwiCPCR/5kenHA0R6mY7AHfqQv0wGP3J8rtsYIqQ+T -SCX8Ev2fQtzzxD72V7DX3WnRBnc0CkvSyqD/HMaMyRa+xMwyN2hzXwj7UfdJUzYF -CpUCTPJ5GhD22Dp1nPMd8aINcGeGG7MW9S/lpOt5hvk9C8JzC6WZrG/8Z7jlLwum -GCSNe9FINSkYQKyTYOGWhlC0elnYjyELn8+CkcY7v2vcB5G5l1YjqrZslMZIBjzk -zk6q5PYvCdxTby78dOs6Y5nCpqyJvKeyRKANihDjbPIky/qbn3BHLt4Ui9SyIAmW -omTxJBzcoTWcFbLUvFUufQb1nA5V9FrWk9p2rSVzTMVD +MIIHpzCCBY+gAwIBAgIBADANBgkqhkiG9w0BAQUFADCBhzELMAkGA1UEBhMCQVUx +GDAWBgNVBAgTD05ldyBTb3V0aCBXYWxlczEaMBgGA1UEChMRQ0FjZXJ0IFRlc3Rz +ZXJ2ZXIxITAfBgNVBAsTGGh0dHA6Ly9jYWNlcnQxLml0LXNscy5kZTEfMB0GA1UE +AxMWQ0FjZXJ0IFRlc3RzZXJ2ZXIgUm9vdDAeFw0xMTAzMjkyMDQ1MjBaFw0yMTAz +MjYyMDQ1MjBaMIGHMQswCQYDVQQGEwJBVTEYMBYGA1UECBMPTmV3IFNvdXRoIFdh +bGVzMRowGAYDVQQKExFDQWNlcnQgVGVzdHNlcnZlcjEhMB8GA1UECxMYaHR0cDov +L2NhY2VydDEuaXQtc2xzLmRlMR8wHQYDVQQDExZDQWNlcnQgVGVzdHNlcnZlciBS +b290MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5fvQIrtzGpSbyWam +2kHfXMCXgRuTHSuQwbvkqdLAqtiI4ZQkF4jTy+7D6LVnDd3kw/hC1EAhcV79WuTn +PrrpjM1JdliOOOvb5sh9SQrdT4w1IO2JBmHrykcHCcvh7tLcm8iKA3iIIxO76SXZ +Pd7buDEQQrP8z6AXBgCRIdtS9uA5WxAmmbj2ToL8UaViijB062zVO9euOuMdN5Qk +pCVOj9tfzotJDHw3sNvP65G/C63ZJ0ysUhohncXe+e6UIPHVS+V54nBENz+4HY/d +zchFFHhnhuCSyhPfSz975IlnBSgMqhVPEYuFpAkDUSUpc8kXoe+cVVSjPBw0exUJ +X4OUjEUf3HgdPyaoeeAPbkQ2pd118vMHzTzAX7t/GzVxROkYSzFvuSljI7ivFx9Y +lPRsMW5L9TRIjxCPBLoqTNKgQQOfZiib+T4PY/ii+qU17lMZK9L9hnAMjW8L2dzx +Z6/qrhM58vKqt6Rd9bsUt109WWflKY39YenlGaCJU+0qgsUcbl2qHjgbkz8rvJJM +10BkVROvVvqnPjkSc8ZPD+1Si9pP0pztAl7vXsDM30jtL6Jv/DyTFKUljpb0tqA9 +22SyOxUu0kkKBYXY1HrqL6Ahvjeorv5aDzrUqAYTYB6Z82ykx0bG5FsAK4ShoTv1 +3ir9ejhln4JPGiyQTdMXgRaHX/kCAwEAAaOCAhowggIWMB0GA1UdDgQWBBSF1wUK +1o/yBC1e68v99mmLH04G/jCBtAYDVR0jBIGsMIGpgBSF1wUK1o/yBC1e68v99mmL +H04G/qGBjaSBijCBhzELMAkGA1UEBhMCQVUxGDAWBgNVBAgTD05ldyBTb3V0aCBX +YWxlczEaMBgGA1UEChMRQ0FjZXJ0IFRlc3RzZXJ2ZXIxITAfBgNVBAsTGGh0dHA6 +Ly9jYWNlcnQxLml0LXNscy5kZTEfMB0GA1UEAxMWQ0FjZXJ0IFRlc3RzZXJ2ZXIg +Um9vdIIBADAPBgNVHRMBAf8EBTADAQH/MF0GCCsGAQUFBwEBBFEwTzAjBggrBgEF +BQcwAYYXaHR0cDovL29jc3AuQ0FjZXJ0Lm9yZy8wKAYIKwYBBQUHMAKGHGh0dHA6 +Ly93d3cuQ0FjZXJ0Lm9yZy9jYS5jcnQwRgYDVR0gBD8wPTA7BgQrBgEFMDMwMQYI +KwYBBQUHAgEWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZy9pbmRleC5waHA/aWQ9MTAw +NAYJYIZIAYb4QgEIBCcWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZy9pbmRleC5waHA/ +aWQ9MTAwUAYJYIZIAYb4QgENBEMWQVRvIGdldCB5b3VyIG93biBjZXJ0aWZpY2F0 +ZSBmb3IgRlJFRSwgZ28gdG8gaHR0cDovL3d3dy5DQWNlcnQub3JnMA0GCSqGSIb3 +DQEBBQUAA4ICAQDQjXJDogH/NiU53JEUaw7jEF7qgp8vLjO2AXkwwpdKOWKS6lm9 +BQXiKs6HUdVYwsdST30kSvF1dD9Y9gCgFVyN662Tk2LwaPyKRq9cxlUXwqKEczfE +4yFPhYXS1giIGL8aSUx0lok6KWRXNgspgBIZ+0tFV+9GLNTP5y+ofU2ME1xw6+zM +tN/rgN2Xt6oVO24tJlKWVvodIgfq8QPscxZHwFqyHWh8hsL8q4mSDZZ0B7wHy51F +gliDzcq+WG8tk29WV++7uHRnN2rqJSoGc91IAHN2YmBW/mCeiqPH0Ms1x7Oo1DuZ +C5pc1GGyxGun252NxRM9jEz7UsWqHRCCyyA6Tyo2E6b3gdiatmohW1JIUTk+WONZ +41+Htgz+vhGFzTOnAWUQLapPllNeYjs/b1Ub8vpycx2O0FU3ZPtC+41GriPHQ2rJ +/ToQVI4ZAHUp7O6n4+r7Onhf5qylVeux+Qzy+IV2Db7rj0KXBoHjW3S0hIfIJE0x +1T5Ldj+YBFvCLvd6RrcNgoS/HaKAV/42AENy1V1eBBP6TJ8kmXWVbyRpzRFgZmmB +z6jLle2M0/kaPER2s5QFvxu+Y6mwrQ237im9oPHzY4kGv8eeF+AMUOmSC+M5jb3m ++IafDexcFnjchflKWV/RRHSj28kJ3ops1lgpkx4+TJo3M62Udepphw0ItA== -----END CERTIFICATE----- diff --git a/www/coap.html.php b/www/coap.html.php index 8c2479c..6291ea2 100644 --- a/www/coap.html.php +++ b/www/coap.html.php @@ -29,7 +29,7 @@ <body> -<style type="text/css"> +<style type="text/css"> table#TAB1 {border-color: rgb(173,197,215); border-top: solid 5px rgb(173,197,215); border-left: solid 5px rgb(173,197,215);} table#TAB1 td { border: 0 } </style> @@ -121,7 +121,7 @@ table#TAB1 td { border: 0 } <?php for ( $i = 0; $i < 2; $i++ ) { echo '<tr>', "\n", ' <td>'; - if ( $i < 1 ) { echo _("Registered Trade Names");} + if ( $i < 1 ) { echo _("Registered Trade Names");} echo '</td>', "\n"; for ( $j = 1; $j <= 3; $j++ ) { printf(" <td align=\"%s\"><input size=\"25\" maxlength=\"80\" name=\"dba%d\"></td>\n", $j > 2 ? "right" : ($j > 2 ? "center" : "left") , $i * 3 + $j); @@ -189,7 +189,7 @@ table#TAB1 td { border: 0 } <?php echo _("Make sure you have read and agreed with the CAcert Community Agreement"); ?> - (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)</i><br></td> + (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)</i><br></td> </tr> <tr><td colspan=2><p></td></tr> <tr> @@ -210,7 +210,7 @@ table#TAB1 td { border: 0 } <?php echo ' '. _("I agree to the CAcert Community Agreement.").' ('; ?> -<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)</dd></td> +<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)</dd></td> </tr> <tr> <td colspan="2"><input type="checkbox" checked name="checked" value="2"> @@ -281,7 +281,7 @@ table#TAB1 td { border: 0 } <tr><td colspan="2"></td><tr> </tbody> </table> -<div style="text-align: right;"><small><small><span>© +<div style="text-align: right;"><small><small><span>© <?php echo date('Y').' CAcert Inc., V2, '.date('Y-n-j'); ?> @@ -327,7 +327,7 @@ table#TAB1 td { border: 0 } 'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganisationAssuranceSubPolicyEurope.html', 'Organisation Assurance Subpolicy for the United States' => 'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganizationAssuranceSubPolicyUnitedStates.html', - ); + ); $cnt = 0; while( list($key, $ref) = each($policies) ) { $cnt++; @@ -338,7 +338,7 @@ table#TAB1 td { border: 0 } } if( $cnt > 0 ) { echo "</dd>\n"; - } + } echo "</dl>\n"; echo _("Submit the form").': <button type="submit" style="background-color: rgb(112, 154, 186); color: white;"> '._("generate PDF file"); echo "</button>\n"; diff --git a/www/coapnew.php b/www/coapnew.php index 4f69247..5a161b4 100644 --- a/www/coapnew.php +++ b/www/coapnew.php @@ -70,7 +70,7 @@ define('REV', '$Revision: 1.4 $'); ** On transliteration and abbreviation of a name: ** if shoes a std way show accepted conversion as pdf comment ** Orientation: on landscape (dflt) print 2-up -** PDF URL links are used to web, wiki, and faq for more info search +** PDF URL links are used to web, wiki, and faq for more info search ** Only on non-ascii chars in a name the utf8 routines are loaded ** PDF reader has wiki info url's and easy email feedback ** ENABLED: @@ -94,7 +94,7 @@ define('REV', '$Revision: 1.4 $'); ** recode(), recode_string(0 is said to have too many (japanese) defeats ** recode_string() is only used on GET[] input (html->utf-8), ** UTF-8 use routines from http://www.sourceforge.net/projects/phputf8 -** which replaces php recode() package. +** which replaces php recode() package. ** on many places own utf-8 handling code exists and is loaded (tcpdf problem) ** _() translation routine. The returned HTML string is translated to utf-8 string. ** the GET() routines expects utf-8 code (see test defs) but might be changed @@ -221,7 +221,7 @@ define('REV', '$Revision: 1.4 $'); ** Form Revision string is generated from RCS revision string. ** More info on PDF fields: ** http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf -** +** */ // use next define if you test this code @@ -281,7 +281,7 @@ if( defined( 'TEST' ) ) { // trade office information $_GET['identifier'] = "NL-238603-AA02"; $_GET['tor'] = "Kamer van Koophandel"; - $_GET['torregion'] = "Amsterdam"; + $_GET['torregion'] = "Amsterdam"; //$_GET['tordate'] = "2008-04-03"; // contact name(s) $_GET['domain1'] = "oophaga.org, oophaga.nl"; @@ -345,7 +345,7 @@ define('ARBIT', WIKI."/ArbitrationForum"); // CAcert Community Agreement define('CCA', "CAcertCommunityAgreement"); // default policy to print define('POLICY','policy/'); // default polciy doc directory -define('EXT','.php'); // default polciy doc extention, should be html +define('EXT','.html'); // default polciy doc extention, should be html /* finger print CAcert Root Key */ // should obtain this automatically define('CLASS1_SHA1','135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33'); define('CLASS3_SHA1','AD7C 3F64 FC44 39FE F4E9 0BE8 F47C 6CFA 8AAD FDCE'); @@ -427,7 +427,7 @@ class COAPPDF extends TCPDF { strtok(REV, " "); return(strtok(" ")); } - + /*public*/ function myHeader( $msg = NULL, $url = NULL ) { static $my_url = NULL; @@ -450,7 +450,7 @@ class COAPPDF extends TCPDF { $this->setXY($this->lMargin, MARGIN+3); $this->y0 = $this->getY(); } - + // undefine default header and footer handling // default routines do not handle columns function Footer() { } @@ -458,7 +458,7 @@ class COAPPDF extends TCPDF { function Mark( $string = "" ) { return array( $string, 1+substr_count($string,'.') ); } - + /*public*/ function myFooter( $msg = NULL, $url = NULL ) { static $my_url = NULL; @@ -501,7 +501,7 @@ class COAPPDF extends TCPDF { $this->StopTransform(); $this->SetXY($savex,$savey); } - + if( !empty($font_fam ) ) $this->SetFont($font_fam,$font_style,$font_size); $this->InFooter = false; @@ -519,16 +519,16 @@ class COAPPDF extends TCPDF { //number of colums /*protected*/ var $ncols=1; - + // columns width /*protected*/ var $colwidth=0; // space between columns /*protected*/ var $column_space = 0; - + //Current column /*protected*/ var $col=0; - + //Ordinate of column start /*protected*/ var $y0; @@ -570,7 +570,7 @@ class COAPPDF extends TCPDF { $this->SetDisplayMode(intval($this->scale), 'SinglePage', 'UseOC'); return( $format ); } - + //Set position at a given column /*private*/ function SetCol($col = -1) { static $pagecolwidth = 1.0; @@ -610,7 +610,7 @@ class COAPPDF extends TCPDF { $this->myFooter(); // print footer msg if defined } if( $col >= $this->ncols ) { - $this->addPage(); $col = 0; + $this->addPage(); $col = 0; $this->ScaleXY($this->scale,0,0); $this->y0 = 0; //no header/footer done... } elseif ( $col > 0 AND $col < $this->ncols) { @@ -710,7 +710,7 @@ class COAPPDF extends TCPDF { elseif( preg_match('/\./', $nm ) ) { if( $first_name < 0 ) $first_name = $j; if( $first_name >= 0 ) $success = TRUE; // was abbreviated - continue; // title + continue; // title } if( $first_name < 0 ) $first_name = $j; if( $married == 0 ) $fam = $j; @@ -732,7 +732,7 @@ class COAPPDF extends TCPDF { elseif( preg_match('/\./', $nm ) ) $name .= $nm; elseif( $j < $fam ) { // need to abbreviate // not utf8 - // and abbreviate + // and abbreviate if( $j == $first_name ) $abr = "(". $substr( $nm, 1 ) . ")"; else $abr = "."; @@ -746,7 +746,7 @@ class COAPPDF extends TCPDF { $nm = $tk[0]; if( $ext < 0 AND preg_match('/(^[^A-Z]|\.)/', $nm ) ) continue; if( $ext < 0 ) $ext = $j+1; - if( preg_match('/\./', $nm ) ) { $success = TRUE; break; } + if( preg_match('/\./', $nm ) ) { $success = TRUE; break; } } return( $success? $name : "" ); // and return abbriviated name } @@ -859,7 +859,7 @@ class COAPPDF extends TCPDF { $this->StatementOrganisation($organisation); $this->StatementAssurer( $assurer, $assurance ); } - + //Add form and/or CCA (on duplex only when more as one page is printed) /*public*/ function PrintForm( $organisation = NULL, $registry = NULL, $assurer = NULL, $page = NULL ) { @@ -1045,7 +1045,7 @@ class COAPPDF extends TCPDF { $this->Line($this->lMargin,$tSide+$height,$this->lMargin+$this->colwidth,$tSide+$height); $this->Line($this->lMargin+$this->colwidth,$tSide-1, $this->lMargin+$this->colwidth, $tSide+$height); $this->SetDrawColor(0); - $this->SetY($tSide + $height + 1); // set Y ordinate to plus 7 + $this->SetY($tSide + $height + 1); // set Y ordinate to plus 7 $tSide = -1; $title = ""; return($this->GetY()); } @@ -1078,7 +1078,7 @@ class COAPPDF extends TCPDF { if ( BW ) { $this->SetFillColor(241); } else { - //$this->SetFillColor(173,197,215); + //$this->SetFillColor(173,197,215); $this->SetFillColor(234, 241, 246); } $this->Rect($this->lMargin+37.5,$this->GetY()+0.1, @@ -1141,7 +1141,7 @@ class COAPPDF extends TCPDF { if( $phone ) { $TextProps['value'] = $phone ? $phone : $this->unhtmlentities( _('phone nr') ) . "?"; $TextProps['userName'] = $this->unhtmlentities( _('For organisation administrators and assurer: provide email address and optionally your phone number.') ); - $this->TextField($field.'Phone', $this->SetFieldXY($this->lMargin+$this->colwidth-25, $savey, 24), 4.5, $TextProps ); + $this->TextField($field.'Phone', $this->SetFieldXY($this->lMargin+$this->colwidth-25, $savey, 24), 4.5, $TextProps ); $this->SetFieldXY(); } $savey += 3; @@ -1156,7 +1156,7 @@ class COAPPDF extends TCPDF { if( $email ) { $TextProps['value'] = $email ? $email : $this->unhtmlentities( _('email') ) . "?"; $TextProps['userName'] = $this->unhtmlentities( _('For organisation administrators and assurer: provide email address and optionally your phone number.') ); - $this->TextField($field.'Email', $this->SetFieldXY($this->lMargin+2+$l, $savey, $this->colwidth-$l-28), 4.5, $TextProps); + $this->TextField($field.'Email', $this->SetFieldXY($this->lMargin+2+$l, $savey, $this->colwidth-$l-28), 4.5, $TextProps); $this->SetFieldXY(); $savey += 3; } // phone number @@ -1166,7 +1166,7 @@ class COAPPDF extends TCPDF { } // All information of Applicant goes in one table -/*public*/ function InfoOrganisation( $organisation = NULL, $registry = NULL ){ +/*public*/ function InfoOrganisation( $organisation = NULL, $registry = NULL ){ // Applicant Identity information part $tSide = $this->PrintTable($this->unhtmlentities( _('Organisation Identity Information') ))+1; @@ -1220,7 +1220,7 @@ class COAPPDF extends TCPDF { $strg, NULL, NULL, true); $this->Ln(0.4); - $strg = ""; foreach( $organisation['domains'] as $i ) + $strg = ""; foreach( $organisation['domains'] as $i ) $strg .= ($strg != "" ? ", " : "") . $i; $this->PrintName( $this->unhtmlentities( _('The internet domain name(s) the organisation controls and owns. The names will be checked with WHOIS with e.g. the DNS official top domain registrar e.g. the country ccTLD .<country code> registrar.') ), @@ -1233,7 +1233,7 @@ class COAPPDF extends TCPDF { // contact info o-admin address assuree $cnt = $organisation['admincnt']; $space = $this->getPageHeight()/$this->scale*100.0 -MINH ; // margin - for( $i = 0; $i < $cnt; $i++ ) { // names to be printed + for( $i = 0; $i < $cnt; $i++ ) { // names to be printed $this->PrintName( $this->unhtmlentities( _('The organisation administrator (CAcert Assurer) contact information. The administrator is appointed by the organisation director to administer the organisation domain certificates, secure the certificates and maintain them.') ), $this->unhtmlentities( _('Organisation Administrator') ), @@ -1400,7 +1400,7 @@ class COAPPDF extends TCPDF { // get $form, $orientation, $assuree, $assurer, $assurance info // FONT and BW are set already -// import info +// import info $utf8 = false; function GET( $key = "" ) { global $utf8; @@ -1457,7 +1457,7 @@ $registry = array ( $organisation = array ( 'names' => array( ), // [0] full name, [>0] DBA's 'namecnt' => 0, - 'date' => my_recode(GET('date')) == "now" ? date("Y-m-d") : + 'date' => my_recode(GET('date')) == "now" ? date("Y-m-d") : my_recode(GET('date')), 'address' => my_recode(GET('address')), 'state' => my_recode(GET('state')), @@ -1507,7 +1507,7 @@ for( $i = 0; $i <= 25 AND $j < 2; $i++ ) { if( $domains != "" ) $domains .= ","; $domains .= strtolower($name); } else $j ++; -} +} $i = 0; if( $domains ) { // csv list to array and trim white spaces $domains = strtok($domains,','); @@ -1547,7 +1547,7 @@ unset( $i ); unset( $j); unset( $utf8 ); // unset($_GET); PDF_UNIT /* mm */, /* PDF_PAGE_FORMAT */ $page['format'], true - ); + ); $pdf->SetFormat( $page['format'] ); // set paper size scaling // protection is encryption and this will cause 3.5 times performance loss @@ -1570,10 +1570,10 @@ unset( $i ); unset( $j); unset( $utf8 ); // unset($_GET); $pdf->SetAutoPageBreak(TRUE, MARGIN*0.707); //set image scale factor - $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings - $pdf->setLanguageArray($l); + $pdf->setLanguageArray($l); //initialize document $pdf->AliasNbPages(); @@ -1589,6 +1589,6 @@ unset( $i ); unset( $j); unset( $utf8 ); // unset($_GET); $pdf->Output("CAcert COAP.pdf", "I"); //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ ?> diff --git a/www/disputes.php b/www/disputes.php index 5b78c1e..b59e07d 100644 --- a/www/disputes.php +++ b/www/disputes.php @@ -17,6 +17,7 @@ */ ?> <? require_once("../includes/loggedin.php"); + require_once("../includes/temp_functions.php"); loadem("account"); @@ -58,24 +59,13 @@ { $row = mysql_fetch_assoc($res); echo $row['email']."<br>\n"; - $query = "select `emailcerts`.`id` - from `emaillink`,`emailcerts` where - `emailid`='$emailid' and `emaillink`.`emailcertsid`=`emailcerts`.`id` and - `revoked`=0 and UNIX_TIMESTAMP(`expire`)-UNIX_TIMESTAMP() > 0 - group by `emailcerts`.`id`"; - $dres = mysql_query($query); - while($drow = mysql_fetch_assoc($dres)) - mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='".intval($drow['id'])."'"); - - $do = `../scripts/runclient`; - $query = "update `email` set `deleted`=NOW() where `id`='".intval($emailid)."'"; - mysql_query($query); + account_email_delete($row['id']); } mysql_query("update `disputeemail` set hash='',action='accept' where `id`='$emailid'"); - $rc = mysql_num_rows(mysql_query("select * from `domains` where `memid`='$oldmemid' and `deleted`=0")); - $rc = mysql_num_rows(mysql_query("select * from `email` where `memid`='$oldmemid' and `deleted`=0 and `id`!='$emailid'")); - $res = mysql_query("select * from `users` where `id`='$oldmemid'"); - $user = mysql_fetch_assoc($res); + $rc = mysql_num_rows(mysql_query("select * from `domains` where `memid`='$oldmemid' and `deleted`=0")); + $rc2 = mysql_num_rows(mysql_query("select * from `email` where `memid`='$oldmemid' and `deleted`=0 and `id`!='$emailid'")); + $res = mysql_query("select * from `users` where `id`='$oldmemid'"); + $user = mysql_fetch_assoc($res); if($rc == 0 && $rc2 == 0 && $_SESSION['_config']['email'] == $user['email']) { mysql_query("update `users` set `deleted`=NOW() where `id`='$oldmemid'"); @@ -160,17 +150,13 @@ showheader(_("Domain Dispute")); echo "<p>"._("You have opted to accept this dispute and the request will now remove this domain from the existing account, and revoke any current certificates.")."</p>"; echo "<p>"._("The following accounts have been removed:")."<br>\n"; + //new account_domain_delete($domainid, $memberID) $query = "select * from `domains` where `id`='$domainid' and deleted=0"; $res = mysql_query($query); if(mysql_num_rows($res) > 0) { - echo $_SESSION['_config']['domain']."<br>\n"; - mysql_query("update `domains` set `deleted`=NOW() where `id`='$domainid'"); - $query = "select * from `domlink` where `domid`='$domainid'"; - $res = mysql_query($query); - while($row = mysql_fetch_assoc($res)) - mysql_query("update `domaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='".$row['certid']."' and `revoked`=0 and UNIX_TIMESTAMP(`expire`)-UNIX_TIMESTAMP() > 0"); - $do = `../scripts/runserver`; + echo $_SESSION['_config']['domain']."<br>\n"; + account_domain_delete($domainid); } mysql_query("update `disputedomain` set hash='',action='accept' where `id`='$domainid'"); showfooter(); @@ -264,7 +250,7 @@ echo _("You aren't allowed to dispute your own email addresses. Can't continue."); showfooter(); exit; - } + } $res = mysql_query("select * from `users` where `id`='$oldmemid'"); $user = mysql_fetch_assoc($res); @@ -336,7 +322,7 @@ echo _("You aren't allowed to dispute your own domains. Can't continue."); showfooter(); exit; - } + } $domainid = $row['id']; $_SESSION['_config']['domainid'] = $domainid; diff --git a/www/images/cacert4.png b/www/images/cacert4.png Binary files differindex e4650a0..9da24c2 100644 --- a/www/images/cacert4.png +++ b/www/images/cacert4.png diff --git a/www/index.php b/www/index.php index 41b6d7a..c7cc03e 100644 --- a/www/index.php +++ b/www/index.php @@ -18,6 +18,7 @@ require_once('../includes/lib/l10n.php'); + $id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']); $oldid = 0; if(array_key_exists("oldid",$_REQUEST)) $oldid=intval($_REQUEST['oldid']); $process = ""; if(array_key_exists("process",$_REQUEST)) $process=$_REQUEST['process']; @@ -544,6 +545,8 @@ require_once('../includes/lib/l10n.php'); `regional`='".$_SESSION['signup']['regional']."', `radius`='".$_SESSION['signup']['radius']."'"; mysql_query($query); + include_once("../includes/notary.inc.php"); + write_user_agreement($memid, "CCA", "account creation", "", 1); $body = _("Thanks for signing up with CAcert.org, below is the link you need to open to verify your account. Once your account is verified you will be able to start issuing certificates till your hearts' content!")."\n\n"; $body .= "http://".$_SESSION['_config']['normalhostname']."/verify.php?type=email&emailid=$emailid&hash=$hash\n\n"; @@ -563,6 +566,13 @@ require_once('../includes/lib/l10n.php'); $subject = stripslashes($_REQUEST['subject']); $message = stripslashes($_REQUEST['message']); $secrethash = $_REQUEST['secrethash2']; + + //check for spam via honeypot + if(!isset($_REQUEST['robotest']) || !empty($_REQUEST['robotest'])){ + echo _("Form could not be sent."); + showfooter(); + exit; + } if($_SESSION['_config']['secrethash'] != $secrethash || $secrethash == "" || $_SESSION['_config']['secrethash'] == "") { @@ -603,26 +613,23 @@ require_once('../includes/lib/l10n.php'); } } - if($oldid == 11 && $process != "" && $_REQUEST['support'] != "yes") - { - $message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message; - - sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, "", "", "CAcert Support"); - showheader(_("Welcome to CAcert.org")); - echo _("Your message has been sent."); - showfooter(); - exit; - } - - if($oldid == 11 && $process != "" && $_REQUEST['support'] == "yes") + if($oldid == 11 && $process != "") { $message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message; - - sendmail("cacert-support@lists.cacert.org", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert-Website"); - showheader(_("Welcome to CAcert.org")); - echo _("Your message has been sent to the general support list."); - showfooter(); - exit; + if (isset($process[0])){ + sendmail("cacert-support@lists.cacert.org", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert-Website"); + showheader(_("Welcome to CAcert.org")); + echo _("Your message has been sent to the general support list."); + showfooter(); + exit; + } + if (isset($process[1])){ + sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, "", "", "CAcert Support"); + showheader(_("Welcome to CAcert.org")); + echo _("Your message has been sent."); + showfooter(); + exit; + } } if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900) diff --git a/www/keygenIE.js b/www/keygenIE.js new file mode 100644 index 0000000..be2d184 --- /dev/null +++ b/www/keygenIE.js @@ -0,0 +1,609 @@ +/* +LibreSSL - CAcert web application +Copyright (C) 2004-2012 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 +*/ + +var CAcert_keygen_IE = function () { + + /// Makes a new DOM text node + var textnode = function (text) { + return document.createTextNode(text); + } + + /// makes a new <p> element + var paragraph = function (text) { + var paragraph = document.createElement("p"); + paragraph.appendChild(textnode(text)); + return paragraph; + } + + /// makes a new <pre> elemtent + var pre = function (text) { + var pre = document.createElement("pre"); + pre.appendChild(textnode(text)); + return pre; + } + + /// makes a new <option> element + var option = function (text, value) { + var option = document.createElement("option"); + if (value !== undefined) { + option.setAttribute("value", value); + } + option.appendChild(textnode(text)); + return option; + } + + /// Removes all child nodes from the element + var removeChildren = function (element) { + element.innerHTML = ""; + } + + /// Show error message to user from exception + var showError = function (message, exception) { + window.alert( + message + + "\n\nError: " + exception.message + + " (0x" + (0xFFFFFFFF + exception.number + 1).toString(16) + + " / " + exception.number + ")" + ); + } + + // Get important elements from the DOM + var form = document.getElementById("CertReqForm"); + var securityLevel = document.getElementById("SecurityLevel"); + var customSettings = document.getElementById("customSettings"); + var provider = document.getElementById("CspProvider"); + var algorithm = document.getElementById("algorithm"); + var algorithmParagraph = document.getElementById("algorithmParagraph"); + var keySize = document.getElementById("keySize"); + var keySizeMin = document.getElementById("keySizeMin"); + var keySizeMax = document.getElementById("keySizeMax"); + var keySizeStep = document.getElementById("keySizeStep"); + var genReq = document.getElementById("GenReq"); + var csr = document.getElementById("CSR"); + var noActiveX = document.getElementById("noActiveX"); + var generatingKeyNotice = document.getElementById("generatingKeyNotice"); + var createRequestErrorChooseAlgorithm = document.getElementById("createRequestErrorChooseAlgorithm"); + var createRequestErrorConfirmDialogue = document.getElementById("createRequestErrorConfirmDialogue"); + var createRequestErrorConnectDevice = document.getElementById("createRequestErrorConnectDevice"); + var createRequestError = document.getElementById("createRequestError"); + var invalidKeySizeError = document.getElementById("invalidKeySizeError"); + var unsupportedPlatformError = document.getElementById("unsupportedPlatformError"); + + /// Initialise the CertEnroll code (Vista and higher) + /// returns false if initialisation fails + var initCertEnroll = function () { + var factory = null; + var providerList = null; + var cspStats = null; + + // Try to initialise the ActiveX element. Requires permissions by the user + try { + factory = new ActiveXObject("X509Enrollment.CX509EnrollmentWebClassFactory"); + if (!factory) { + throw { + name: "NoObjectError", + message: "Got null at object creation" + }; + } + + // also try to create a useless object here so the library gets + // initialised and we don't need to check everytime later + factory.CreateObject("X509Enrollment.CObjectId"); + + form.style.display = ""; + noActiveX.style.display = "none"; + } catch (e) { + return false; + } + + /// Get the selected provider + var getProvider = function () { + var providerIndex = provider.options[provider.selectedIndex].value; + return providerList.ItemByIndex(providerIndex); + } + + /// Get the selected algorithm + var getAlgorithm = function () { + var algorithmIndex = algorithm.options[algorithm.selectedIndex].value; + return alg = cspStats.ItemByIndex(algorithmIndex).CspAlgorithm; + } + + /// Get the selected key size + var getKeySize = function () { + var alg = getAlgorithm(); + + var bits = parseInt(keySize.value, 10); + if ( + (bits < alg.MinLength) || + (bits > alg.MaxLength) || + ( + alg.IncrementLength && + ((bits - alg.MinLength) % alg.IncrementLength !== 0) + ) + ) { + return false; + } + + return bits; + } + + /// Fill the key size list + var getKeySizeList = function () { + if (!cspStats) { + return false; + } + + var alg = getAlgorithm(); + + // HTML5 attributes + keySize.setAttribute("min", alg.MinLength); + keySize.setAttribute("max", alg.MaxLength); + keySize.setAttribute("step", alg.IncrementLength); + keySize.setAttribute("value", alg.DefaultLength); + keySize.value = ""+alg.DefaultLength; + + // ugly, but buggy otherwise if done with text nodes + keySizeMin.innerHTML = alg.MinLength; + keySizeMax.innerHTML = alg.MaxLength; + keySizeStep.innerHTML = alg.IncrementLength; + + return true; + } + + /// Fill the algorithm list + var getAlgorithmList = function () { + var i; + + if (!providerList) { + return false; + } + + var csp = getProvider(); + + cspStats = providerList.GetCspStatusesFromOperations( + 0x1c, //XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION + //0x10, //XCN_NCRYPT_SIGNATURE_OPERATION + //0x8, //XCN_NCRYPT_SECRET_AGREEMENT_OPERATION + //0x4, //XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION + csp + ); + + removeChildren(algorithm); + for (i = 0; i < cspStats.Count; i++) { + var alg = cspStats.ItemByIndex(i).CspAlgorithm; + algorithm.appendChild(option(alg.Name, i)); + } + + return getKeySizeList(); + } + + /// Fill the crypto provider list + var getProviderList = function () { + var i; + + var csps = factory.CreateObject("X509Enrollment.CCspInformations"); + + // Get provider information + csps.AddAvailableCsps(); + + removeChildren(provider); + + for (i = 0; i < csps.Count; i++) { + var csp = csps.ItemByIndex(i); + provider.appendChild(option(csp.Name, i)); + } + + providerList = csps; + + return getAlgorithmList(); + } + + /// Generate a key and create and submit the actual CSR + var createCSR = function () { + var providerName, algorithmOid, bits; + + var level = securityLevel.options[securityLevel.selectedIndex]; + if (level.value === "custom") { + providerName = getProvider().Name; + var alg = getAlgorithm(); + algorithmOid = alg.GetAlgorithmOid(0, 0) + bits = getKeySize(); + if (!bits) { + window.alert(invalidKeySizeError.innerHTML); + return false; + } + } else { + providerName = "Microsoft Software Key Storage Provider"; + + algorithmOid = factory.CreateObject("X509Enrollment.CObjectId"); + algorithmOid.InitializeFromValue("1.2.840.113549.1.1.1"); // RSA + // "1.2.840.10040.4.1" == DSA + // "1.2.840.10046.2.1" == DH + + if (level.value === "high") { + bits = 4096; + } else { // medium + bits = 2048; + } + } + + var privateKey = factory.CreateObject("X509Enrollment.CX509PrivateKey"); + privateKey.ProviderName = providerName; + privateKey.Algorithm = algorithmOid; + privateKey.Length = bits; + privateKey.KeyUsage = 0xffffff; // XCN_NCRYPT_ALLOW_ALL_USAGES + + var request = factory.CreateObject("X509Enrollment.CX509CertificateRequestPkcs10"); + request.InitializeFromPrivateKey( + 1, // ContextUser + privateKey, + "" // don't use a template + ); + + var enroll = factory.CreateObject("X509Enrollment.CX509Enrollment"); + enroll.InitializeFromRequest(request); + + generatingKeyNotice.style.display = ""; + + // The request needs to be created after we return so the "please wait" + // message gets rendered + var createCSRHandler = function () { + try { + csr.value = enroll.CreateRequest(0x1); //XCN_CRYPT_STRING_BASE64 + form.submit(); + } catch (e) { + showError(createRequestErrorChooseAlgorithm.innerHTML, e); + } + + generatingKeyNotice.style.display = "none"; + } + + window.setTimeout(createCSRHandler, 0); + + // Always return false, form is submitted by deferred method + return false; + } + + /// Call if securityLevel has changed + var refreshSecurityLevel = function () { + var level = securityLevel.options[securityLevel.selectedIndex]; + if (level.value === "custom") { + getProviderList(); + customSettings.style.display = ""; + } else { + customSettings.style.display = "none"; + } + } + + securityLevel.onchange = refreshSecurityLevel; + provider.onchange = getAlgorithmList; + algorithm.onchange = getKeySizeList; + genReq.onclick = createCSR; + + return true; + } // end of initCertEnroll() + + /// Initialise Xenroll code (XP and lower) + /// returns false if initialisation fails + var initXEnroll = function () { + cenroll = null; + + providerTypes = Array( + 1, //PROV_RSA_FULL + 2, //PROV_RSA_SIG + 3, //PROV_DSS + 4, //PROV_FORTEZZA + 5, //PROV_MS_EXCHANGE + 6, //PROV_SSL + 12, //PROV_RSA_SCHANNEL + 13, //PROV_DSS_DH + 14, //PROV_EC_ECDSA_SIG + 15, //PROV_EC_ECNRA_SIG + 16, //PROV_EC_ECDSA_FULL + 17, //PROV_EC_ECNRA_FULL + 18, //PROV_DH_SCHANNEL + 20, //PROV_SPYRUS_LYNKS + 21, //PROV_RNG + 22, //PROV_INTEL_SEC + 23, //PROV_REPLACE_OWF + 24 //PROV_RSA_AES + ); + + algClasses = Array( + 1 << 13, //ALG_CLASS_SIGNATURE + //2 << 13, //ALG_CLASS_MSG_ENCRYPT + //3 << 13, //ALG_CLASS_DATA_ENCRYPT + //4 << 13, //ALG_CLASS_HASH + 5 << 13 //ALG_CLASS_KEY_EXCHANGE + ); + + // Try to initialise the ActiveX element. + try { + cenroll = new ActiveXObject("CEnroll.CEnroll"); + + if (!cenroll) { + throw { + name: "NoObjectError", + message: "Got null at object creation" + }; + } + + form.style.display = ""; + algorithm.disabled = true; + noActiveX.style.display = "none"; + } catch (e) { + return false; + } + + /// Get the name of the selected provider + var getProviderName = function () { + return provider.options[provider.selectedIndex].text; + } + + /// Get the type of the selected provider + var getProviderType = function () { + return parseInt(provider.options[provider.selectedIndex].value, 10); + } + + var refreshProvider = function () { + cenroll.ProviderName = getProviderName(); + cenroll.ProviderType = getProviderType(); + } + + /// Get the ID of the selected algorithm + var getAlgorithmId = function () { + return parseInt(algorithm.options[algorithm.selectedIndex].value, 10); + } + + /// Minimum bit length for exchange keys + var getMinExKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLen(true, true); + } catch (e) { + return false; + } + } + + /// Maximum bit length for exchange keys + var getMaxExKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLen(false, true); + } catch (e) { + return false; + } + } + + /// Step size for exchange keys + /// This might not be available on older platforms + var getStepExKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLenEx(3, 1); + } catch (e) { + return false; + } + } + + /// Minimum bit length for signature keys + var getMinSigKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLen(true, false); + } catch (e) { + return false; + } + } + + /// Maximum bit length for signature keys + var getMaxSigKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLen(false, false); + } catch (e) { + return false; + } + } + + /// Step size for signature keys + /// This might not be available on older platforms + var getStepSigKeyLength = function () { + refreshProvider(); + + try { + return cenroll.GetKeyLenEx(3, 2); + } catch (e) { + return false; + } + } + + /// Get the selected key size + var getKeySize = function () { + var bits = parseInt(keySize.value, 10); + if ( + (bits < getMinSigKeyLength()) || + (bits > getMaxSigKeyLength()) || + ( + getStepSigKeyLength() && + ((bits - getMinSigKeyLength()) % getStepSigKeyLength() !== 0) + ) + ) { + return false; + } + + return bits; + } + + var getKeySizeLimits = function () { + // HTML5 attributes + keySize.setAttribute("min", getMinSigKeyLength()); + keySize.setAttribute("max", getMaxSigKeyLength()); + if (getStepSigKeyLength()) { + keySize.setAttribute("step", getStepSigKeyLength()); + } + + // ugly, but buggy otherwise if done with text nodes + keySizeMin.innerHTML = getMinSigKeyLength(); + keySizeMax.innerHTML = getMaxSigKeyLength(); + keySizeStep.innerHTML = getStepSigKeyLength(); + + if (getMinSigKeyLength() === getMaxSigKeyLength()) { + keySize.value = getMaxSigKeyLength(); + } + + return true; + } + + /// Fill the algorithm selection box + var getAlgorithmList = function () { + var i, j; + + refreshProvider(); + + removeChildren(algorithm); + + for (i = 0; i < algClasses.length; ++i) { + for (j = 0; true; ++j) { + try { + var algId = cenroll.EnumAlgs(j, algClasses[i]); + var algName = cenroll.GetAlgName(algId); + algorithm.appendChild(option(algName, algId)); + } catch (e) { + break; + } + } + } + + getKeySizeLimits(); + } + + /// Fill the provider selection box + var getProviderList = function () { + var i, j; + + removeChildren(provider); + + for (i = 0; i < providerTypes.length; ++i) { + cenroll.providerType = providerTypes[i]; + + var providerName = "invalid"; + for (j = 0; true; ++j) { + try { + providerName = cenroll.enumProviders(j, 0); + provider.appendChild(option(providerName, providerTypes[i])); + } catch (e) { + break; + } + } + } + + return getAlgorithmList(); + } + + var createCSR = function () { + var providerName, bits; + + var level = securityLevel.options[securityLevel.selectedIndex]; + if (level.value === "custom") { + refreshProvider(); + + bits = getKeySize(); + if (bits === false) { + window.alert(invalidKeySizeError.innerHTML); + return false; + } + } else { + cenroll.ProviderName = "Microsoft Enhanced Cryptographic Provider v1.0"; + cenroll.ProviderType = 1; //PROV_RSA_FULL + + if (level.value === "high") { + bits = 4096; + } else { // medium + bits = 2048; + } + } + + cenroll.GenKeyFlags = bits << 16; // keysize is encoded in the uper 16 bits + //cenroll.GenKeyFlags = cenroll.GenKeyFlags | 0x1; //CRYPT_EXPORTABLE + + generatingKeyNotice.style.display = ""; + + // The request needs to be created after we return so the "please wait" + // message gets rendered + var createCSRHandler = function () { + try { + csr.value = cenroll.createPKCS10("", "1.3.6.1.5.5.7.3.2"); + form.submit(); + } catch (e) { + if (e.number === -2147023673) { + // 0x800704c7 => dialogue declined + showError(createRequestErrorConfirmDialogue.innerHTML, e); + } else if (e.number === -2146435043) { + // 0x8010001d => crypto-device not connected + showError(createRequestErrorConnectDevice.innerHTML, e); + } else { + showError(createRequestError.innerHTML, e); + } + } + + generatingKeyNotice.style.display = "none"; + cenroll.Reset(); + } + + window.setTimeout(createCSRHandler, 0); + + // Always return false, form is submitted by deferred method + return false; + } + + /// Call if securityLevel has changed + var refreshSecurityLevel = function () { + var level = securityLevel.options[securityLevel.selectedIndex]; + if (level.value === "custom") { + getProviderList(); + customSettings.style.display = ""; + } else { + customSettings.style.display = "none"; + } + } + + securityLevel.onchange = refreshSecurityLevel; + provider.onchange = getAlgorithmList; + algorithm.onchange = getKeySizeLimits; + genReq.onclick = createCSR; + + return true; + }; + + // Run the init functions until one is successful + if (initCertEnroll()) { + form.style.display = ""; + noActiveX.style.display = "none"; + } else if (initXEnroll()) { + form.style.display = ""; + noActiveX.style.display = "none"; + } else { + window.alert(unsupportedPlatformError.innerHTML); + } +} (); diff --git a/www/policy/AssurancePolicy.html b/www/policy/AssurancePolicy.html new file mode 100644 index 0000000..8a3beec --- /dev/null +++ b/www/policy/AssurancePolicy.html @@ -0,0 +1,723 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head> +<title>Assurance Policy</title> + +<meta name="CREATED" content="20080530;0"> +<meta name="CHANGEDBY" content="Teus Hagen"> +<meta name="CHANGED" content="20080709;12381800"> +<meta name="CREATEDBY" content="Ian Grigg"> +<meta name="CHANGEDBY" content="Teus Hagen"> +<meta name="CHANGEDBY" content="Robert Cruikshank"> +<meta name="CHANGEDBY" content="Teus Hagen"> +<style type="text/css"> +<!-- +P { color: #000000 } +TD P { color: #000000 } +H1 { color: #000000 } +H2 { color: #000000 } +DT { color: #000000 } +DD { color: #000000 } +H3 { color: #000000 } +TH P { color: #000000 } +--> +</style></head> +<body style="direction: ltr; color: rgb(0, 0, 0);" lang="en-GB"> +<h1>Assurance Policy for CAcert Community Members</h1> +<p><a href="PolicyOnPolicy.html"><img src="/images/cacert-policy.png" id="graphics1" alt="CAcert Policy Status == POLICY" align="bottom" border="0" height="33" width="90"></a> +<br> +Editor: Teus Hagen<br> +Creation date: 2008-05-30<br> +Last change by: Iang<br> +Last change date: 2009-01-08<br> +Status: POLICY p20090105.2 +</p> + +<h2><a name="0">0.</a> Preamble</h2> +<h3><a name="0.1">0.1.</a> Definition of Terms</h3> +<dl> +<dt><i>Member</i> </dt> +<dd> A Member is an individual who has agreed to the CAcert +Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html" target="_blank">CCA</a>) +and has created successfully +a CAcert login account on the CAcert web site. </dd> +<dt> <i>Assurance</i> </dt> +<dd> Assurance is the process by which a Member of CAcert +Community (Assurer) identifies an individual (<span lang="en-US">Assuree</span>). +</dd> +<dt> <i>Prospective Member</i> </dt> +<dd> An individual who participates in the process of Assurance, +but has not yet created a CAcert login account. </dd> +<dt> <i>Name</i> </dt> +<dd> A Name is the full name of an individual. +</dd> +<dt> <i>Secondary Distinguishing Feature</i> +</dt> +<dd> An additional personal data item of the Member +that assists discrimination from Members with similar full names. +(Currently this is the Date of Birth (DoB).) +</dd> +</dl> + +<h3><a name="0.2">0.2.</a> The CAcert Web of Trust</h3> +<p> +In face-to-face meetings, +an Assurer allocates a number of Assurance Points +to the Member being Assured. +CAcert combines the Assurance Points +into a global <i>Web-of-Trust</i> (or "WoT"). +</p> +<p> +CAcert explicitly chooses to meet its various goals by +construction of a Web-of-Trust of all Members. +</p> + +<h3><a name="0.3">0.3.</a> Related Documentation</h3> +<p> +Documentation on Assurance is split between this +Assurance Policy (AP) and the +<a href="http://wiki.cacert.org/wiki/AssuranceHandbook2" target="_blank">Assurance +Handbook</a>. The policy is controlled by Configuration Control +Specification +(<a href="http://wiki.cacert.org/wiki/PolicyDrafts/ConfigurationControlSpecification" target="_blank">CCS</a>) +under Policy on Policy +(<a href="http://www.cacert.org/policy/PolicyOnPolicy.html" target="_blank">PoP</a>) +policy document regime. Because Assurance is an active area, much +of the practice is handed over to the Assurance Handbook, which is +not a controlled policy document, and can more easily respond to +experience and circumstances. It is also more readable. +</p> +<p> +See also Organisation Assurance Policy (<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.php" target="_blank">OAP</a>) +and CAcert Policy Statement (<a href="http://www.cacert.org/policy/CertificationPracticeStatement.html" target="_blank">CPS</a>). +</p> + +<h2><a name="1">1.</a> Assurance Purpose</h2> +<p>The purpose of Assurance is to add confidence +in the Assurance Statement made by the CAcert Community of a Member. </p> +<p>With sufficient assurances, a Member may: (a) issue certificates +with their assured Name included, (b) participate in assuring others, +and (c) other related activities. The strength of these activities is +based on the strength of the assurance. </p> + +<h3><a name="1.1">1.1.</a>The Assurance Statement</h3> +<p> +The Assurance Statement makes the following claims +about a person: +</p> +<ol> +<li> +<p>The person is a bona fide Member. In other words, the +person is a member of the CAcert Community as defined by the CAcert +Community Agreement (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html" target="_blank">CCA</a>); </p> +</li> +<li> +<p>The Member has a (login) account with CAcert's on-line +registration and service system; </p> +</li> +<li> +<p>The Member can be determined from any CAcert certificate +issued by the Account; </p> +</li> +<li> +<p>The Member is bound into CAcert's Arbitration as defined +by the CAcert Community Agreement; </p> +</li> +<li> +<p>Some personal details of the Member are known to CAcert: +the individual Name(s), primary and other listed individual email +address(es), secondary distinguishing feature (e.g. DoB). </p> +</li> +</ol> +<p>The confidence level of the Assurance Statement is expressed by +the Assurance Points. </p> +<h3><a name="1.2">1.2.</a>Relying Party Statement</h3> +<p>The primary goal of the Assurance Statement is for the express +purpose of certificates to meet the needs of the <i>Relying Party +Statement</i>, which latter is found in the Certification Practice +Statement (<a href="http://www.cacert.org/policy/CertificationPracticeStatement.html" target="_blank">CPS</a>). +</p> +<p>When a certificate is issued, some of the Assurance Statement may +be incorporated, e.g. Name. Other parts may be implied, e.g. +Membership, exact account and status. They all are part of the +<i>Relying Party Statement</i>. In short, this means that other +Members of the Community may rely on the information verified by +Assurance and found in the certificate.</p> +<p>In particular, certificates are sometimes considered to provide +reliable indications of e.g. the Member's Name and email address. The +nature of Assurance, the number of Assurance Points, and other +policies and processes should be understood as limitations on any +reliance. </p> +<h2><a name="2">2.</a> The Member</h2> +<h3><a name="2.1">2.1.</a> The Member's Name </h3> +<p> +At least one individual Name is recorded in the Member's +CAcert login account. The general standard of a Name is: +</p> +<ul> +<li> +<p> +The Name should be recorded as written in a +government-issued photo identity document (ID). +</p> +</li> +<li> +<p> +The Name should be recorded as completely as possible. +That is, including all middle names, any titles and extensions, +without abbreviations, and without transliteration of characters. +</p> +</li> +<li> +<p>The Name is recorded as a string of characters, +encoded in <span lang="en-US">unicode</span> +transformation format.</p> +</li> +</ul> +<h3><a name="2.2">2.2.</a> Multiple Names and variations</h3> +<p> +In order to handle the contradictions in the above general standard, +a Member may record multiple Names or multiple variations of a Name +in her CAcert online Account. +Examples of variations include married names, +variations of initials of first or middle names, +abbreviations of a first name, +different language or country variations, +and transliterations of characters in a name. +</p> + +<h3><a name="2.3">2.3.</a> Status and Capabilities</h3> +<p> +A Name which has reached +the level of 50 Assurance Points is defined as an Assured +Name. An Assured Name can be used in a certificate issued by CAcert. +A Member with at least one Assured Name has reached the Assured +Member status. +Additional capabilities are described in Table 1. +</p> + +<blockquote> +<p align="left"><font size="2"><i>Table 1: +Assurance Capability</i></font></p> +<table border="1" cellpadding="5" cellspacing="0"> +<tbody> +<tr> +<td width="10%"> +<p align="left"><i>Minimum Assurance Points</i></p> +</td> +<td width="15%"> +<p align="left"><i>Capability</i></p> +</td> +<td width="15%"> +<p align="left"><i>Status</i></p> +</td> +<td width="60%"> +<p align="left"><i>Comment</i></p> +</td> +</tr> +<tr valign="top"> +<td> +<p align="center">0</p> +</td> +<td> +<p align="left">Request Assurance</p> +</td> +<td> +<p align="left">Prospective Member</p> +</td> +<td> +<p align="left">Individual taking part of an +Assurance, who does not have created a CAcert login account (yet). The +allocation of Assurance Points is awaiting login account creation.</p> +</td> +</tr> +<tr valign="top"> +<td> +<p align="center">0</p> +</td> +<td> +<p align="left">Request unnamed certificates</p> +</td> +<td> +<p align="left">Member</p> +</td> +<td> +<p align="left">Although the Member's details are +recorded in the account, they are not highly assured.</p> +</td> +</tr> +<tr valign="top"> +<td> +<p align="center">50</p> +</td> +<td> +<p align="left">Request named certificates</p> +</td> +<td> +<p align="left">Assured Member</p> +</td> +<td> +<p align="left">Statements of Assurance: the Name is +assured to 50 Assurance Points or more</p> +</td> +</tr> +<tr valign="top"> +<td> +<p align="center">100</p> +</td> +<td> +<p align="left">Become an Assurer</p> +</td> +<td> +<p align="left">Prospective Assurer</p> +</td> +<td> +<p align="left">Assured to 100 Assurance Points (or +more) on at least one Name, and passing the Assurer Challenge.</p> +</td> +</tr> +</tbody> +</table> +</blockquote> + + +<p> +A Member may check the status of another Member, especially +for an assurance process. +Status may be implied from information in a certificate. +The number of Assurance Points for each Member is not published. +</p> + +<p> +The CAcert Policy Statement +(<a href="http://www.cacert.org/policy/CertificationPracticeStatement.html" target="_blank">CPS</a>) +and other policies may list other capabilities that rely on Assurance +Points. +</p> + +<h2><a name="3">3.</a> The Assurer</h2> +<p>An Assurer is a Member with the following: </p> +<ul> +<li> +<p>Is assured to a minimum of 100 Assurance Points; </p> +</li> +<li> +<p>Has passed the CAcert Assurer Challenge. </p> +</li> +</ul> +<p>The Assurer Challenge is administered by the Education Team on +behalf of the Assurance Officer. </p> +<h3><a name="3.1">3.1.</a> The Obligations of the Assurer</h3> +<p>The Assurer is obliged to: </p> +<ul> +<li> +<p>Follow this Assurance Policy; </p> +</li> +<li> +<p>Follow any additional rules of detail laid out by the +CAcert Assurance Officer; </p> +</li> +<li> +<p>Be guided by the CAcert <a href="http://wiki.cacert.org/wiki/AssuranceHandbook2" target="_blank">Assurance Handbook</a> in their +judgement; </p> +</li> +<li> +<p>Make a good faith effort at identifying and verifying +Members; </p> +</li> +<li> +<p>Maintain the documentation on each Assurance; </p> +</li> +<li> +<p>Deliver documentation to Arbitration, or as otherwise +directed by the Arbitrator; </p> +</li> +<li> +<p>Keep up-to-date with developments within the CAcert +Community. </p> +</li> +</ul> +<h2><a name="4">4.</a> The Assurance</h2> +<h3><a name="4.1">4.1.</a> The Assurance Process</h3> +<p>The Assurer conducts the process of Assurance with each +Member. </p> +<p>The process consists of: </p> +<ol> +<li> +<p>Voluntary agreement by both Assurer and Member or +Prospective Member to conduct the Assurance; </p> +</li> +<li> +<p>Personal meeting of Assurer and Member or Prospective +Member; </p> +</li> +<li> +<p>Recording of essential details on CAcert Assurance +Programme form; </p> +</li> +<li> +<p>Examination of Identity documents by Assurer and +verification of recorded details (the Name(s) and Secondary +Distinguishing Feature, e.g., DoB); </p> +</li> +<li> +<p>Allocation of Assurance Points by Assurer; </p> +</li> +<li> +<p>Optional: supervision of reciprocal Assurance made by +Assuree (Mutual Assurance); </p> +</li> +<li> +<p>Safekeeping of the CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) +forms by Assurer. </p> +</li> +</ol> +<h3><a name="4.2">4.2.</a> Mutual Assurance</h3> +<p>Mutual Assurance follows the principle of reciprocity. This +means +that the Assurance may be two-way, and that each member participating +in the Assurance procedure should be able to show evidence of their +identity to the other. </p> +<p>In the event that an Assurer is assured by a Member who is not +certified as an Assurer, the Assurer supervises the Assurance +procedure and process, and is responsible for the results. </p> +<p>Reciprocity maintains a balance between the (new) member and +the +Assurer, and reduces any sense of power. It is also an important aid +to the assurance training for future Assurers. </p> + +<h3><a name="4.3">4.3.</a> Assurance Points</h3> +<p>The Assurance applies Assurance Points to each Member which +measure the increase of confidence in the Statement (above). +Assurance Points should not be interpreted for any other purpose. +Note that, even though they are sometimes referred to as <i>Web-of-Trust</i> +(Assurance) Points, or <i>Trust</i> Points, the meaning +of the word +'Trust' is not well defined. </p> +<p><i>Assurance Points Allocation</i><br> +An Assurer can allocate a +number of Assurance Points to the Member according to the Assurer's +experience (Experience Point system, see below). The allocation of +the maximum means that the Assurer is 100% confident in the +information presented: </p> +<ul> +<li> +<p>Detail on form, system, documents, person in accordance; </p> +</li> +<li> +<p>Sufficient quality identity documents have been checked; </p> +</li> +<li> +<p>Assurer's familiarity with identity documents; </p> +</li> +<li> +<p>The Assurance Statement is confirmed. </p> +</li> +</ul> +<p> +Any lesser confidence should result in less Assurance Points for a +Name. If the Assurer has no confidence in the information presented, +then <i>zero</i> Assurance Points may be allocated by the Assurer. +For example, this may happen if the identity documents are totally +unfamiliar to the Assurer. The number of Assurance Points from <i>zero</i> +to <i>maximum</i> is guided by the Assurance Handbook +and the judgement of the Assurer. +If there is negative confidence the Assurer should consider +filing a dispute. +</p> +<p>Multiple Names should be allocated Assurance Points +independently within a single Assurance. </p> +<p> +A Member who is not an Assurer may award an Assurer in a +reciprocal process a maximum of 2 Assurance Points, according to +her judgement. The Assurer should strive to have the Member allocate +according to the Member's judgement, and stay on the cautious side; +the Member new to the assurance process +should allocate <i>zero</i> Assurance Points +until she gains some confidence in what is happening. +</p> +<p> +In general, for a Member to reach 50 Assurance Points, the Member must +have participated in at least two assurances, and +at least one Name will have been assured to that level. +</p> +<p> +To reach 100 Assurance +Points, at least one Name of the Assured Member must have been +assured at least three times. +</p> +<p> +The maximum number of Assurance +Points which can be allocated for an Assurance under this policy +and under any act under any +Subsidiary Policy (below) is 50 Assurance Points. +</p> + +<h3><a name="4.4">4.4.</a> Experience Points</h3> +<p>The maximum number of Assurance Points that may be awarded by +an +Assurer is determined by the Experience Points of the Assurer. </p> +<blockquote> +<p align="left"><font size="2"><i>Table 2: +Maximum of Assurance Points </i></font> +</p> +<table border="1" cellpadding="2" cellspacing="0" width="15%"> +<tbody> +<tr> +<td> +<p><i>Assurer's Experience Points</i></p> +</td> +<td> +<p><i>Allocatable Assurance Points</i></p> +</td> +</tr> +<tr> +<td> +<p align="center">0</p> +</td> +<td> +<p align="center">10</p> +</td> +</tr> +<tr> +<td> +<p align="center">10</p> +</td> +<td> +<p align="center">15</p> +</td> +</tr> +<tr> +<td> +<p align="center">20</p> +</td> +<td> +<p align="center">20</p> +</td> +</tr> +<tr> +<td> +<p align="center">30</p> +</td> +<td> +<p align="center">25</p> +</td> +</tr> +<tr> +<td> +<p align="center">40</p> +</td> +<td> +<p align="center">30</p> +</td> +</tr> +<tr> +<td> +<p align="center">>=50</p> +</td> +<td> +<p align="center">35</p> +</td> +</tr> +</tbody> +</table> +</blockquote> +<p>An Assurer is given a maximum of 2 Experience Points for every +completed Assurance. On reaching Assurer status, the Experience +Points start at 0 (zero). </p> +<p>Less Experience Points (1) may be given for mass Assurance +events, +where each Assurance is quicker. </p> +<p>Additional Experience Points may be granted temporarily or +permanently to an Assurer by CAcert Inc.'s Committee (board), on +recommendation from the Assurance Officer. </p> +<p>Experience Points are not to be confused with Assurance +Points. </p> +<h3><a name="4.5">4.5.</a> CAcert Assurance Programme (CAP) form</h3> +<p>The CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) +form requests the following details of each Member or Prospective +Member: </p> +<ul> +<li> +<p>Name(s), as recorded in the on-line account; </p> +</li> +<li> +<p>Primary email address, as recorded in the on-line account; +</p> +</li> +<li> +<p>Secondary Distinguishing Feature, as recorded in the +on-line account (normally, date of birth); </p> +</li> +<li> +<p>Statement of agreement with the CAcert Community +Agreement; </p> +</li> +<li> +<p>Permission to the Assurer to conduct the Assurance +(required for privacy reasons); </p> +</li> +<li> +<p>Date and signature of the Assuree. </p> +</li> +</ul> +<p>The CAP form requests the following details of the Assurer: </p> +<ul> +<li> +<p>At least one Name as recorded in the on-line account of +the Assurer; </p> +</li> +<li> +<p>Assurance Points for each Name in the identity +document(s); </p> +</li> +<li> +<p>Statement of Assurance; </p> +</li> +<li> +<p>Optional: If the Assurance is reciprocal, then the +Assurer's email address and Secondary Distinguishing Feature are +required as well; </p> +</li> +<li> +<p>Date, location of Assurance and signature of Assurer. </p> +</li> +</ul> +<p>The CAP forms are to be kept at least for 7 years by the +Assurer. </p> +<h2><a name="5">5.</a> The Assurance Officer</h2> +<p>The Committee (board) of CAcert Inc. appoints an Assurance +Officer +with the following responsibilities: </p> +<ul> +<li> +<p>Reporting to the Committee and advising on all matters to +do with Assurance; </p> +</li> +<li> +<p>Training and testing of Assurers, in association with the +Education Team; </p> +</li> +<li> +<p>Updating this Assurance Policy, under the process +established by Policy on Policy (<a href="https://www.cacert.org/policy/PolicyOnPolicy.html" target="_blank">PoP</a>); </p> +</li> +<li> +<p>Management of all Subsidiary Policies (see below) for +Assurances, under Policy on Policy; </p> +</li> +<li> +<p>Managing and creating rules of detail or procedure where +inappropriate for policies; </p> +</li> +<li> +<p>Incorporating rulings from Arbitration into policies, +procedures or guidelines; </p> +</li> +<li> +<p>Assisting the Arbitrator in any requests; </p> +</li> +<li> +<p>Managing the Assurer Handbook; </p> +</li> +<li> +<p>Maintaining a sufficient strength in the Assurance process +(web-of-trust) to meet the agreed needs of the Community. </p> +</li> +</ul> +<h2><a name="6">6.</a> Subsidiary Policies</h2> +<p>The Assurance Officer manages various exceptions and additional +processes. Each must be covered by an approved Subsidiary Policy +(refer to Policy on Policy => CAcert Official Document COD1). +Subsidiary Policies specify any additional tests of knowledge +required and variations to process and documentation, within the +general standard stated here. </p> +<h3><a name="6.1">6.1.</a> Standard</h3> +<p>Each Subsidiary Policy must augment and improve the general +standards in this Assurance Policy. It is the responsibility of each +Subsidiary Policy to describe how it maintains and improves the +specific and overall goals. It must describe exceptions and potential +areas of risk. </p> + +<h3><a name="6.2">6.2.</a> High Risk Applications</h3> +<p>In addition to the Assurance or Experience Points ratings set +here and in other subsidiary policies, the Assurance Officer or policies can +designate certain applications as high risk. If so, additional +measures may be added to the Assurance process that specifically +address the risks.</p> +<p>Additional measures may include: +</p> +<ul> +<li> +<p>Additional information can be required in process of assurance: </p> +<ul> +<li>unique numbers of identity documents,</li> +<li>photocopy of identity documents,</li> +<li>photo of User,</li> +<li>address of User.</li> +</ul> +<p>Additional Information is to be kept by Assurer, attached to +CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) +form. Assurance Points allocation by this assurance is unchanged. +User's CAcert login account should be annotated to record type of +additional information;</p> +</li> +<li> +<p>Arbitration: </p> +<ul> +<li> Member to participate in Arbitration. This confirms +their acceptance of the forum as well as trains in the process and +import, +</li> +<li> Member to file Arbitration to present case. This +allows Arbitrator as final authority; +</li> +</ul> +</li> +<li> +<p>Additional training; </p> +</li> +<li> +<p>Member to be Assurer (at least 100 Assurance Points and +passed Assurer Challenge); </p> +</li> +<li> +<p>Member agrees to additional specific agreement(s); </p> +</li> +<li> +<p>Additional checking/auditing of systems data by CAcert +support administrators. </p> +</li> +</ul> +<p>Applications that might attract additional measures include +code-signing certificates and administration roles. </p> +<h2><a name="7">7.</a> Privacy</h2> +<p>CAcert is a "privacy" organisation, and takes the +privacy of its Members seriously. The process maintains the security +and privacy of both parties. </p> +<p>Information is collected primarily to make claims within the +certificates requested by users and to contact the Members. It is +used secondarily for training, testing, administration and other +internal purposes. </p> +<p>The Member's information can be accessed under these +circumstances: </p> +<ul> +<li> +<p>Under Arbitrator ruling, in a duly filed dispute (<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html" target="_blank">Dispute Resolution Policy</a> +=> COD7); </p> +</li> +<li> +<p>An Assurer in the process of an Assurance, as permitted on +the CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) +form; </p> +</li> +<li> +<p>CAcert support administration and CAcert systems +administration when operating under the authority of Arbitrator or +under CAcert policy. </p> +</li> +</ul> +<p><a href="http://validator.w3.org/check?uri=referer"><img src="/images/valid-xhtml11-blue" id="graphics2" alt="Valid XHTML 1.1" align="bottom" border="0" height="33" width="90"></a> +</p> +</body></html> + diff --git a/www/policy/AssurancePolicy.php b/www/policy/AssurancePolicy.php index 4998de5..025d37b 100644 --- a/www/policy/AssurancePolicy.php +++ b/www/policy/AssurancePolicy.php @@ -1,723 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head> -<title>Assurance Policy</title> - -<meta name="CREATED" content="20080530;0"> -<meta name="CHANGEDBY" content="Teus Hagen"> -<meta name="CHANGED" content="20080709;12381800"> -<meta name="CREATEDBY" content="Ian Grigg"> -<meta name="CHANGEDBY" content="Teus Hagen"> -<meta name="CHANGEDBY" content="Robert Cruikshank"> -<meta name="CHANGEDBY" content="Teus Hagen"> -<style type="text/css"> -<!-- -P { color: #000000 } -TD P { color: #000000 } -H1 { color: #000000 } -H2 { color: #000000 } -DT { color: #000000 } -DD { color: #000000 } -H3 { color: #000000 } -TH P { color: #000000 } ---> -</style></head> -<body style="direction: ltr; color: rgb(0, 0, 0);" lang="en-GB"> -<h1>Assurance Policy for CAcert Community Members</h1> -<p><a href="PolicyOnPolicy.php"><img src="/images/cacert-policy.png" id="graphics1" alt="CAcert Policy Status == POLICY" align="bottom" border="0" height="33" width="90"></a> -<br> -Editor: Teus Hagen<br> -Creation date: 2008-05-30<br> -Last change by: Iang<br> -Last change date: 2009-01-08<br> -Status: POLICY p20090105.2 -</p> - -<h2><a name="0">0.</a> Preamble</h2> -<h3><a name="0.1">0.1.</a> Definition of Terms</h3> -<dl> -<dt><i>Member</i> </dt> -<dd> A Member is an individual who has agreed to the CAcert -Community Agreement -(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php" target="_blank">CCA</a>) -and has created successfully -a CAcert login account on the CAcert web site. </dd> -<dt> <i>Assurance</i> </dt> -<dd> Assurance is the process by which a Member of CAcert -Community (Assurer) identifies an individual (<span lang="en-US">Assuree</span>). -</dd> -<dt> <i>Prospective Member</i> </dt> -<dd> An individual who participates in the process of Assurance, -but has not yet created a CAcert login account. </dd> -<dt> <i>Name</i> </dt> -<dd> A Name is the full name of an individual. -</dd> -<dt> <i>Secondary Distinguishing Feature</i> -</dt> -<dd> An additional personal data item of the Member -that assists discrimination from Members with similar full names. -(Currently this is the Date of Birth (DoB).) -</dd> -</dl> - -<h3><a name="0.2">0.2.</a> The CAcert Web of Trust</h3> -<p> -In face-to-face meetings, -an Assurer allocates a number of Assurance Points -to the Member being Assured. -CAcert combines the Assurance Points -into a global <i>Web-of-Trust</i> (or "WoT"). -</p> -<p> -CAcert explicitly chooses to meet its various goals by -construction of a Web-of-Trust of all Members. -</p> - -<h3><a name="0.3">0.3.</a> Related Documentation</h3> -<p> -Documentation on Assurance is split between this -Assurance Policy (AP) and the -<a href="http://wiki.cacert.org/wiki/AssuranceHandbook2" target="_blank">Assurance -Handbook</a>. The policy is controlled by Configuration Control -Specification -(<a href="http://wiki.cacert.org/wiki/PolicyDrafts/ConfigurationControlSpecification" target="_blank">CCS</a>) -under Policy on Policy -(<a href="http://www.cacert.org/policy/PolicyOnPolicy.php" target="_blank">PoP</a>) -policy document regime. Because Assurance is an active area, much -of the practice is handed over to the Assurance Handbook, which is -not a controlled policy document, and can more easily respond to -experience and circumstances. It is also more readable. -</p> -<p> -See also Organisation Assurance Policy (<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.php" target="_blank">OAP</a>) -and CAcert Policy Statement (<a href="http://www.cacert.org/policy/CertificationPracticeStatement.php" target="_blank">CPS</a>). -</p> - -<h2><a name="1">1.</a> Assurance Purpose</h2> -<p>The purpose of Assurance is to add confidence -in the Assurance Statement made by the CAcert Community of a Member. </p> -<p>With sufficient assurances, a Member may: (a) issue certificates -with their assured Name included, (b) participate in assuring others, -and (c) other related activities. The strength of these activities is -based on the strength of the assurance. </p> - -<h3><a name="1.1">1.1.</a>The Assurance Statement</h3> -<p> -The Assurance Statement makes the following claims -about a person: -</p> -<ol> -<li> -<p>The person is a bona fide Member. In other words, the -person is a member of the CAcert Community as defined by the CAcert -Community Agreement (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php" target="_blank">CCA</a>); </p> -</li> -<li> -<p>The Member has a (login) account with CAcert's on-line -registration and service system; </p> -</li> -<li> -<p>The Member can be determined from any CAcert certificate -issued by the Account; </p> -</li> -<li> -<p>The Member is bound into CAcert's Arbitration as defined -by the CAcert Community Agreement; </p> -</li> -<li> -<p>Some personal details of the Member are known to CAcert: -the individual Name(s), primary and other listed individual email -address(es), secondary distinguishing feature (e.g. DoB). </p> -</li> -</ol> -<p>The confidence level of the Assurance Statement is expressed by -the Assurance Points. </p> -<h3><a name="1.2">1.2.</a>Relying Party Statement</h3> -<p>The primary goal of the Assurance Statement is for the express -purpose of certificates to meet the needs of the <i>Relying Party -Statement</i>, which latter is found in the Certification Practice -Statement (<a href="http://www.cacert.org/policy/CertificationPracticeStatement.php" target="_blank">CPS</a>). -</p> -<p>When a certificate is issued, some of the Assurance Statement may -be incorporated, e.g. Name. Other parts may be implied, e.g. -Membership, exact account and status. They all are part of the -<i>Relying Party Statement</i>. In short, this means that other -Members of the Community may rely on the information verified by -Assurance and found in the certificate.</p> -<p>In particular, certificates are sometimes considered to provide -reliable indications of e.g. the Member's Name and email address. The -nature of Assurance, the number of Assurance Points, and other -policies and processes should be understood as limitations on any -reliance. </p> -<h2><a name="2">2.</a> The Member</h2> -<h3><a name="2.1">2.1.</a> The Member's Name </h3> -<p> -At least one individual Name is recorded in the Member's -CAcert login account. The general standard of a Name is: -</p> -<ul> -<li> -<p> -The Name should be recorded as written in a -government-issued photo identity document (ID). -</p> -</li> -<li> -<p> -The Name should be recorded as completely as possible. -That is, including all middle names, any titles and extensions, -without abbreviations, and without transliteration of characters. -</p> -</li> -<li> -<p>The Name is recorded as a string of characters, -encoded in <span lang="en-US">unicode</span> -transformation format.</p> -</li> -</ul> -<h3><a name="2.2">2.2.</a> Multiple Names and variations</h3> -<p> -In order to handle the contradictions in the above general standard, -a Member may record multiple Names or multiple variations of a Name -in her CAcert online Account. -Examples of variations include married names, -variations of initials of first or middle names, -abbreviations of a first name, -different language or country variations, -and transliterations of characters in a name. -</p> - -<h3><a name="2.3">2.3.</a> Status and Capabilities</h3> -<p> -A Name which has reached -the level of 50 Assurance Points is defined as an Assured -Name. An Assured Name can be used in a certificate issued by CAcert. -A Member with at least one Assured Name has reached the Assured -Member status. -Additional capabilities are described in Table 1. -</p> - -<blockquote> -<p align="left"><font size="2"><i>Table 1: -Assurance Capability</i></font></p> -<table border="1" cellpadding="5" cellspacing="0"> -<tbody> -<tr> -<td width="10%"> -<p align="left"><i>Minimum Assurance Points</i></p> -</td> -<td width="15%"> -<p align="left"><i>Capability</i></p> -</td> -<td width="15%"> -<p align="left"><i>Status</i></p> -</td> -<td width="60%"> -<p align="left"><i>Comment</i></p> -</td> -</tr> -<tr valign="top"> -<td> -<p align="center">0</p> -</td> -<td> -<p align="left">Request Assurance</p> -</td> -<td> -<p align="left">Prospective Member</p> -</td> -<td> -<p align="left">Individual taking part of an -Assurance, who does not have created a CAcert login account (yet). The -allocation of Assurance Points is awaiting login account creation.</p> -</td> -</tr> -<tr valign="top"> -<td> -<p align="center">0</p> -</td> -<td> -<p align="left">Request unnamed certificates</p> -</td> -<td> -<p align="left">Member</p> -</td> -<td> -<p align="left">Although the Member's details are -recorded in the account, they are not highly assured.</p> -</td> -</tr> -<tr valign="top"> -<td> -<p align="center">50</p> -</td> -<td> -<p align="left">Request named certificates</p> -</td> -<td> -<p align="left">Assured Member</p> -</td> -<td> -<p align="left">Statements of Assurance: the Name is -assured to 50 Assurance Points or more</p> -</td> -</tr> -<tr valign="top"> -<td> -<p align="center">100</p> -</td> -<td> -<p align="left">Become an Assurer</p> -</td> -<td> -<p align="left">Prospective Assurer</p> -</td> -<td> -<p align="left">Assured to 100 Assurance Points (or -more) on at least one Name, and passing the Assurer Challenge.</p> -</td> -</tr> -</tbody> -</table> -</blockquote> - - -<p> -A Member may check the status of another Member, especially -for an assurance process. -Status may be implied from information in a certificate. -The number of Assurance Points for each Member is not published. -</p> - -<p> -The CAcert Policy Statement -(<a href="http://www.cacert.org/policy/CertificationPracticeStatement.php" target="_blank">CPS</a>) -and other policies may list other capabilities that rely on Assurance -Points. -</p> - -<h2><a name="3">3.</a> The Assurer</h2> -<p>An Assurer is a Member with the following: </p> -<ul> -<li> -<p>Is assured to a minimum of 100 Assurance Points; </p> -</li> -<li> -<p>Has passed the CAcert Assurer Challenge. </p> -</li> -</ul> -<p>The Assurer Challenge is administered by the Education Team on -behalf of the Assurance Officer. </p> -<h3><a name="3.1">3.1.</a> The Obligations of the Assurer</h3> -<p>The Assurer is obliged to: </p> -<ul> -<li> -<p>Follow this Assurance Policy; </p> -</li> -<li> -<p>Follow any additional rules of detail laid out by the -CAcert Assurance Officer; </p> -</li> -<li> -<p>Be guided by the CAcert <a href="http://wiki.cacert.org/wiki/AssuranceHandbook2" target="_blank">Assurance Handbook</a> in their -judgement; </p> -</li> -<li> -<p>Make a good faith effort at identifying and verifying -Members; </p> -</li> -<li> -<p>Maintain the documentation on each Assurance; </p> -</li> -<li> -<p>Deliver documentation to Arbitration, or as otherwise -directed by the Arbitrator; </p> -</li> -<li> -<p>Keep up-to-date with developments within the CAcert -Community. </p> -</li> -</ul> -<h2><a name="4">4.</a> The Assurance</h2> -<h3><a name="4.1">4.1.</a> The Assurance Process</h3> -<p>The Assurer conducts the process of Assurance with each -Member. </p> -<p>The process consists of: </p> -<ol> -<li> -<p>Voluntary agreement by both Assurer and Member or -Prospective Member to conduct the Assurance; </p> -</li> -<li> -<p>Personal meeting of Assurer and Member or Prospective -Member; </p> -</li> -<li> -<p>Recording of essential details on CAcert Assurance -Programme form; </p> -</li> -<li> -<p>Examination of Identity documents by Assurer and -verification of recorded details (the Name(s) and Secondary -Distinguishing Feature, e.g., DoB); </p> -</li> -<li> -<p>Allocation of Assurance Points by Assurer; </p> -</li> -<li> -<p>Optional: supervision of reciprocal Assurance made by -Assuree (Mutual Assurance); </p> -</li> -<li> -<p>Safekeeping of the CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) -forms by Assurer. </p> -</li> -</ol> -<h3><a name="4.2">4.2.</a> Mutual Assurance</h3> -<p>Mutual Assurance follows the principle of reciprocity. This -means -that the Assurance may be two-way, and that each member participating -in the Assurance procedure should be able to show evidence of their -identity to the other. </p> -<p>In the event that an Assurer is assured by a Member who is not -certified as an Assurer, the Assurer supervises the Assurance -procedure and process, and is responsible for the results. </p> -<p>Reciprocity maintains a balance between the (new) member and -the -Assurer, and reduces any sense of power. It is also an important aid -to the assurance training for future Assurers. </p> - -<h3><a name="4.3">4.3.</a> Assurance Points</h3> -<p>The Assurance applies Assurance Points to each Member which -measure the increase of confidence in the Statement (above). -Assurance Points should not be interpreted for any other purpose. -Note that, even though they are sometimes referred to as <i>Web-of-Trust</i> -(Assurance) Points, or <i>Trust</i> Points, the meaning -of the word -'Trust' is not well defined. </p> -<p><i>Assurance Points Allocation</i><br> -An Assurer can allocate a -number of Assurance Points to the Member according to the Assurer's -experience (Experience Point system, see below). The allocation of -the maximum means that the Assurer is 100% confident in the -information presented: </p> -<ul> -<li> -<p>Detail on form, system, documents, person in accordance; </p> -</li> -<li> -<p>Sufficient quality identity documents have been checked; </p> -</li> -<li> -<p>Assurer's familiarity with identity documents; </p> -</li> -<li> -<p>The Assurance Statement is confirmed. </p> -</li> -</ul> -<p> -Any lesser confidence should result in less Assurance Points for a -Name. If the Assurer has no confidence in the information presented, -then <i>zero</i> Assurance Points may be allocated by the Assurer. -For example, this may happen if the identity documents are totally -unfamiliar to the Assurer. The number of Assurance Points from <i>zero</i> -to <i>maximum</i> is guided by the Assurance Handbook -and the judgement of the Assurer. -If there is negative confidence the Assurer should consider -filing a dispute. -</p> -<p>Multiple Names should be allocated Assurance Points -independently within a single Assurance. </p> -<p> -A Member who is not an Assurer may award an Assurer in a -reciprocal process a maximum of 2 Assurance Points, according to -her judgement. The Assurer should strive to have the Member allocate -according to the Member's judgement, and stay on the cautious side; -the Member new to the assurance process -should allocate <i>zero</i> Assurance Points -until she gains some confidence in what is happening. -</p> -<p> -In general, for a Member to reach 50 Assurance Points, the Member must -have participated in at least two assurances, and -at least one Name will have been assured to that level. -</p> -<p> -To reach 100 Assurance -Points, at least one Name of the Assured Member must have been -assured at least three times. -</p> -<p> -The maximum number of Assurance -Points which can be allocated for an Assurance under this policy -and under any act under any -Subsidiary Policy (below) is 50 Assurance Points. -</p> - -<h3><a name="4.4">4.4.</a> Experience Points</h3> -<p>The maximum number of Assurance Points that may be awarded by -an -Assurer is determined by the Experience Points of the Assurer. </p> -<blockquote> -<p align="left"><font size="2"><i>Table 2: -Maximum of Assurance Points </i></font> -</p> -<table border="1" cellpadding="2" cellspacing="0" width="15%"> -<tbody> -<tr> -<td> -<p><i>Assurer's Experience Points</i></p> -</td> -<td> -<p><i>Allocatable Assurance Points</i></p> -</td> -</tr> -<tr> -<td> -<p align="center">0</p> -</td> -<td> -<p align="center">10</p> -</td> -</tr> -<tr> -<td> -<p align="center">10</p> -</td> -<td> -<p align="center">15</p> -</td> -</tr> -<tr> -<td> -<p align="center">20</p> -</td> -<td> -<p align="center">20</p> -</td> -</tr> -<tr> -<td> -<p align="center">30</p> -</td> -<td> -<p align="center">25</p> -</td> -</tr> -<tr> -<td> -<p align="center">40</p> -</td> -<td> -<p align="center">30</p> -</td> -</tr> -<tr> -<td> -<p align="center">>=50</p> -</td> -<td> -<p align="center">35</p> -</td> -</tr> -</tbody> -</table> -</blockquote> -<p>An Assurer is given a maximum of 2 Experience Points for every -completed Assurance. On reaching Assurer status, the Experience -Points start at 0 (zero). </p> -<p>Less Experience Points (1) may be given for mass Assurance -events, -where each Assurance is quicker. </p> -<p>Additional Experience Points may be granted temporarily or -permanently to an Assurer by CAcert Inc.'s Committee (board), on -recommendation from the Assurance Officer. </p> -<p>Experience Points are not to be confused with Assurance -Points. </p> -<h3><a name="4.5">4.5.</a> CAcert Assurance Programme (CAP) form</h3> -<p>The CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) -form requests the following details of each Member or Prospective -Member: </p> -<ul> -<li> -<p>Name(s), as recorded in the on-line account; </p> -</li> -<li> -<p>Primary email address, as recorded in the on-line account; -</p> -</li> -<li> -<p>Secondary Distinguishing Feature, as recorded in the -on-line account (normally, date of birth); </p> -</li> -<li> -<p>Statement of agreement with the CAcert Community -Agreement; </p> -</li> -<li> -<p>Permission to the Assurer to conduct the Assurance -(required for privacy reasons); </p> -</li> -<li> -<p>Date and signature of the Assuree. </p> -</li> -</ul> -<p>The CAP form requests the following details of the Assurer: </p> -<ul> -<li> -<p>At least one Name as recorded in the on-line account of -the Assurer; </p> -</li> -<li> -<p>Assurance Points for each Name in the identity -document(s); </p> -</li> -<li> -<p>Statement of Assurance; </p> -</li> -<li> -<p>Optional: If the Assurance is reciprocal, then the -Assurer's email address and Secondary Distinguishing Feature are -required as well; </p> -</li> -<li> -<p>Date, location of Assurance and signature of Assurer. </p> -</li> -</ul> -<p>The CAP forms are to be kept at least for 7 years by the -Assurer. </p> -<h2><a name="5">5.</a> The Assurance Officer</h2> -<p>The Committee (board) of CAcert Inc. appoints an Assurance -Officer -with the following responsibilities: </p> -<ul> -<li> -<p>Reporting to the Committee and advising on all matters to -do with Assurance; </p> -</li> -<li> -<p>Training and testing of Assurers, in association with the -Education Team; </p> -</li> -<li> -<p>Updating this Assurance Policy, under the process -established by Policy on Policy (<a href="https://www.cacert.org/policy/PolicyOnPolicy.php" target="_blank">PoP</a>); </p> -</li> -<li> -<p>Management of all Subsidiary Policies (see below) for -Assurances, under Policy on Policy; </p> -</li> -<li> -<p>Managing and creating rules of detail or procedure where -inappropriate for policies; </p> -</li> -<li> -<p>Incorporating rulings from Arbitration into policies, -procedures or guidelines; </p> -</li> -<li> -<p>Assisting the Arbitrator in any requests; </p> -</li> -<li> -<p>Managing the Assurer Handbook; </p> -</li> -<li> -<p>Maintaining a sufficient strength in the Assurance process -(web-of-trust) to meet the agreed needs of the Community. </p> -</li> -</ul> -<h2><a name="6">6.</a> Subsidiary Policies</h2> -<p>The Assurance Officer manages various exceptions and additional -processes. Each must be covered by an approved Subsidiary Policy -(refer to Policy on Policy => CAcert Official Document COD1). -Subsidiary Policies specify any additional tests of knowledge -required and variations to process and documentation, within the -general standard stated here. </p> -<h3><a name="6.1">6.1.</a> Standard</h3> -<p>Each Subsidiary Policy must augment and improve the general -standards in this Assurance Policy. It is the responsibility of each -Subsidiary Policy to describe how it maintains and improves the -specific and overall goals. It must describe exceptions and potential -areas of risk. </p> - -<h3><a name="6.2">6.2.</a> High Risk Applications</h3> -<p>In addition to the Assurance or Experience Points ratings set -here and in other subsidiary policies, the Assurance Officer or policies can -designate certain applications as high risk. If so, additional -measures may be added to the Assurance process that specifically -address the risks.</p> -<p>Additional measures may include: -</p> -<ul> -<li> -<p>Additional information can be required in process of assurance: </p> -<ul> -<li>unique numbers of identity documents,</li> -<li>photocopy of identity documents,</li> -<li>photo of User,</li> -<li>address of User.</li> -</ul> -<p>Additional Information is to be kept by Assurer, attached to -CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) -form. Assurance Points allocation by this assurance is unchanged. -User's CAcert login account should be annotated to record type of -additional information;</p> -</li> -<li> -<p>Arbitration: </p> -<ul> -<li> Member to participate in Arbitration. This confirms -their acceptance of the forum as well as trains in the process and -import, -</li> -<li> Member to file Arbitration to present case. This -allows Arbitrator as final authority; -</li> -</ul> -</li> -<li> -<p>Additional training; </p> -</li> -<li> -<p>Member to be Assurer (at least 100 Assurance Points and -passed Assurer Challenge); </p> -</li> -<li> -<p>Member agrees to additional specific agreement(s); </p> -</li> -<li> -<p>Additional checking/auditing of systems data by CAcert -support administrators. </p> -</li> -</ul> -<p>Applications that might attract additional measures include -code-signing certificates and administration roles. </p> -<h2><a name="7">7.</a> Privacy</h2> -<p>CAcert is a "privacy" organisation, and takes the -privacy of its Members seriously. The process maintains the security -and privacy of both parties. </p> -<p>Information is collected primarily to make claims within the -certificates requested by users and to contact the Members. It is -used secondarily for training, testing, administration and other -internal purposes. </p> -<p>The Member's information can be accessed under these -circumstances: </p> -<ul> -<li> -<p>Under Arbitrator ruling, in a duly filed dispute (<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.php" target="_blank">Dispute Resolution Policy</a> -=> COD7); </p> -</li> -<li> -<p>An Assurer in the process of an Assurance, as permitted on -the CAcert Assurance Programme (<a href="http://www.cacert.org/cap.php" target="_blank">CAP</a>) -form; </p> -</li> -<li> -<p>CAcert support administration and CAcert systems -administration when operating under the authority of Arbitrator or -under CAcert policy. </p> -</li> -</ul> -<p><a href="http://validator.w3.org/check?uri=referer"><img src="/images/valid-xhtml11-blue" id="graphics2" alt="Valid XHTML 1.1" align="bottom" border="0" height="33" width="90"></a> -</p> -</body></html> - +<?php +header('HTTP/1.0 301 Moved Permanently'); +header('Location: AssurancePolicy.html'); +exit();
\ No newline at end of file diff --git a/www/policy/CAcertCommunityAgreement.html b/www/policy/CAcertCommunityAgreement.html new file mode 100644 index 0000000..7882d8a --- /dev/null +++ b/www/policy/CAcertCommunityAgreement.html @@ -0,0 +1,512 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> + +<html> +<head><title>CAcert Community Agreement</title></head> +<body> + + + + +<h3> <a name="0"> 0. </a> Introduction </h3> + +<p> +This agreement is between +you, being a registered member ("Member") +within CAcert's community at large ("Community") +and CAcert Incorporated ("CAcert"), +being an operator of services to the Community. +</p> + +<h4> <a name="0.1"> 0.1 </a> Terms </h4> +<ol><li> + "CAcert" + means CAcert Inc., + a non-profit Association of Members incorporated in + New South Wales, Australia. + Note that Association Members are distinct from + the Members defined here. + </li><li> + "Member" + means you, a registered participant within CAcert's Community, + with an account on the website and the + facility to request certificates. + Members may be individuals ("natural persons") + or organisations ("legal persons"). + </li><li> + "Organisation" + is defined under the Organisation Assurance programme, + and generally includes corporations and other entities + that become Members and become Assured. + </li><li> + "Community" + means all of the Members + that are registered by this agreement + and other parties by other agreements, + all being under CAcert's Arbitration. + </li><li> + "Non-Related Person" ("NRP"), + being someone who is not a + Member, is not part of the Community, + and has not registered their agreement. + Such people are offered the NRP-DaL + another agreement allowing the USE of certificates. + </li><li> + "Non-Related Persons - Disclaimer and Licence" ("NRP-DaL"), + another agreement that is offered to persons outside the + Community. + </li><li> + "Arbitration" + is the Community's forum for + resolving disputes, or jurisdiction. + </li><li> + "Dispute Resolution Policy" ("DRP" => COD7) + is the policy and + rules for resolving disputes. + </li><li> + "USE" + means the act by your software + to conduct its tasks, incorporating + the certificates according to software procedures. + </li><li> + "RELY" + means your human act in taking on a + risk and liability on the basis of the claim(s) + bound within a certificate. + </li><li> + "OFFER" + means the your act + of making available your certificate to another person. + Generally, you install and configure your software + to act as your agent and facilite this and other tasks. + OFFER does not imply suggestion of reliance. + </li><li> + "Issue" + means creation of a certificate by CAcert. + To create a certificate, + CAcert affixes a digital signature from the root + onto a public key and other information. + This act would generally bind a statement or claim, + such as your name, to your key. + </li><li> + "Root" + means CAcert's top level key, + used for signing certificates for Members. + In this document, the term includes any subroots. + </li><li> + "CAcert Official Document" ("COD" => COD3) + in a standard format for describing the details of + operation and governance essential to a certificate authority. + Changes are managed and controlled. + CODs define more technical terms. + See 4.2 for listing of relevant CODs. + </li><li> + "Certification Practice Statement" ("CPS" => COD6) + is the document that controls details + about operational matters within CAcert. +</li></ol> + + +<h3> <a name="1"> 1. </a> Agreement and Licence </h3> + +<h4> <a name="1.1"> 1.1 </a> Agreement </h4> + +<p> +You and CAcert both agree to the terms and conditions +in this agreement. +Your agreement is given by any of +</p> + +<ul><li> + your signature on a form to request assurance of identity + ("CAP" form), + </li><li> + your request on the website + to join the Community and create an account, + </li><li> + your request for Organisation Assurance, + </li><li> + your request for issuing of certificates, or + </li><li> + if you USE, RELY, or OFFER + any certificate issued to you. +</li></ul> + +<p> +Your agreement +is effective from the date of the first event above +that makes this agreement known to you. +This Agreement +replaces and supercedes prior agreements, +including the NRP-DaL. +</p> + + +<h4> <a name="1.2"> 1.2 </a> Licence </h4> + +<p> +As part of the Community, CAcert offers you these rights: +</p> + +<ol><li> + You may USE any certificates issued by CAcert. + </li><li> + You may RELY on any certificate issued by CAcert, + as explained and limited by CPS (COD6). + </li><li> + You may OFFER certificates issued to you by CAcert + to Members for their RELIANCE. + </li><li> + You may OFFER certificates issued to you by CAcert + to NRPs for their USE, within the general principles + of the Community. + </li><li> + This Licence is free of cost, + non-exclusive, and non-transferrable. +</li></ol> + +<h4> <a name="1.3"> 1.3 </a> Your Contributions </h4> + + +<p> +You agree to a non-exclusive non-restrictive non-revokable +transfer of Licence to CAcert for your contributions. +That is, if you post an idea or comment on a CAcert forum, +or email it to other Members, +your work can be used freely by the Community for +CAcert purposes, including placing under CAcert's licences +for wider publication. +</p> + +<p> +You retain authorship rights, and the rights to also transfer +non-exclusive rights to other parties. +That is, you can still use your +ideas and contributions outside the Community. +</p> + +<p> +Note that the following exceptions override this clause: +</p> + +<ol><li> + Contributions to controlled documents are subject to + Policy on Policy ("PoP" => COD1) + </li><li> + Source code is subject to an open source licence regime. +</li></ol> + +<h4> <a name="1.4"> 1.4 </a> Privacy </h4> + + +<p> +You give rights to CAcert to store, verify and process +and publish your data in accordance with policies in force. +These rights include shipping the data to foreign countries +for system administration, support and processing purposes. +Such shipping will only be done among +CAcert Community administrators and Assurers. +</p> + +<p> +Privacy is further covered in the Privacy Policy ("PP" => COD5). +</p> + +<h3> <a name="2"> 2. </a> Your Risks, Liabilities and Obligations </h3> + +<p> +As a Member, you have risks, liabilities +and obligations within this agreement. +</p> + +<h4> <a name="2.1"> 2.1 </a> Risks </h4> + +<ol><li> + A certificate may prove unreliable. + </li><li> + Your account, keys or other security tools may be + lost or otherwise compromised. + </li><li> + You may find yourself subject to Arbitration + (DRP => COD7). +</li></ol> + +<h4> <a name="2.2"> 2.2 </a> Liabilities </h4> + +<ol><li> + You are liable for any penalties + as awarded against you by the Arbitrator. + </li><li> + Remedies are as defined in the DRP (COD7). + An Arbitrator's ruling may + include monetary amounts, awarded against you. + </li><li> + Your liability is limited to + a total maximum of + <b>1000 Euros</b>. + </li><li> + "Foreign Courts" may assert jurisdiction. + These include your local courts, and are outside our Arbitration. + Foreign Courts will generally refer to the Arbitration + Act of their country, which will generally refer + civil cases to Arbitration. + The Arbitration Act will not apply to criminal cases. +</li></ol> + +<h4> <a name="2.3"> 2.3 </a> Obligations </h4> + +<p> + You are obliged +</p> + +<ol><li> + to provide accurate information + as part of Assurance. + You give permission for verification of the information + using CAcert-approved methods. + </li><li> + to make no false representations. + </li><li> + to submit all your disputes to Arbitration + (DRP => COD7). +</li></ol> + +<h4> <a name="2.4"> 2.4 </a> Principles </h4> + +<p> +As a Member of CAcert, you are a member of +the Community. + You are further obliged to + work within the spirit of the Principles + of the Community. + These are described in + <a href="http://svn.cacert.org/CAcert/principles.html">Principles of the Community</a>. +</p> + +<h4> <a name="2.5"> 2.5 </a> Security </h4> +<p> +CAcert exists to help you to secure yourself. +You are primarily responsible for your own security. +Your security obligations include +</p> + +<ol><li> + to secure yourself and your computing platform (e.g., PC), + </li><li> + to keep your email account in good working order, + </li><li> + to secure your CAcert account + (e.g., credentials such as username, password), + </li><li> + to secure your private keys, + </li><li> + to review certificates for accuracy, + and + </li><li> + when in doubt, notify CAcert, + </li><li> + when in doubt, take other reasonable actions, such as + revoking certificates, + changing account credentials, + and/or generating new keys. +</li></ol> + +<p> +Where, above, 'secure' means to protect to a reasonable +degree, in proportion with your risks and the risks of +others. +</p> + +<h3> <a name="3"> 3. </a> Law and Jurisdiction </h3> + +<h4> <a name="3.1"> 3.1 </a> Governing Law </h4> + +<p> +This agreement is governed under the law of +New South Wales, Australia, +being the home of the CAcert Inc. Association. +</p> + +<h4> <a name="3.2"> 3.2 </a> Arbitration as Forum of Dispute Resolution </h4> + +<p> +You agree, with CAcert and all of the Community, +that all disputes arising out +of or in connection to our use of CAcert services +shall be referred to and finally resolved +by Arbitration under the rules within the +Dispute Resolution Policy of CAcert +(DRP => COD7). +The rules select a single Arbitrator chosen by CAcert +from among senior Members in the Community. +The ruling of the Arbitrator is binding and +final on Members and CAcert alike. +</p> + +<p> +In general, the jurisdiction for resolution of disputes +is within CAcert's own forum of Arbitration, +as defined and controlled by its own rules (DRP => COD7). +</p> + +<p> +We use Arbitration for many purposes beyond the strict +nature of disputes, such as governance and oversight. +A systems administrator may +need authorisation to conduct a non-routine action, +and Arbitration may provide that authorisation. +Thus, you may find yourself party to Arbitration +that is simply support actions, and you may file disputes in +order to initiate support actions. +</p> + +<h4> <a name="3.3"> 3.3 </a> Termination </h4> +<p> +You may terminate this agreement by resigning +from CAcert. You may do this at any time by +writing to CAcert's online support forum and +filing dispute to resign. +All services will be terminated, and your +certificates will be revoked. +However, some information will continue to +be held for certificate processing purposes. +</p> + +<p> +The provisions on Arbitration survive any termination +by you by leaving CAcert. +That is, even if you resign from CAcert, +you are still bound by the DRP (COD7), +and the Arbitrator may reinstate any provision of this +agreement or bind you to a ruling. +</p> + +<p> +Only the Arbitrator may terminate this agreement with you. +</p> + +<h4> <a name="3.4"> 3.4 </a> Changes of Agreement </h4> + +<p> +CAcert may from time to time vary the terms of this Agreement. +Changes will be done according to the documented CAcert policy +for changing policies, and is subject to scrutiny and feedback +by the Community. +Changes will be notified to you by email to your primary address. +</p> + +<p> +If you do not agree to the changes, you may terminate as above. +Continued use of the service shall be deemed to be agreement +by you. +</p> + +<h4> <a name="3.5"> 3.5 </a> Communication </h4> + +<p> +Notifications to CAcert are to be sent by +email to the address +<b>support</b> <i>at</i> CAcert.org. +You should attach a digital signature, +but need not do so in the event of security +or similar urgency. +</p> + +<p> +Notifications to you are sent +by CAcert to the primary email address +registered with your account. +You are responsible for keeping your email +account in good working order and able +to receive emails from CAcert. +</p> + +<p> +Arbitration is generally conducted by email. +</p> + +<h3> <a name="4"> 4. </a> Miscellaneous </h3> + +<h4> <a name="4.1"> 4.1 </a> Other Parties Within the Community </h4> + +<p> +As well as you and other Members in the Community, +CAcert forms agreements with third party +vendors and others. +Thus, such parties will also be in the Community. +Such agreements are also controlled by the same +policy process as this agreement, and they should +mirror and reinforce these terms. +</p> + + +<h4> <a name="4.2"> 4.2 </a> References and Other Binding Documents </h4> + +<p> +This agreement is CAcert Official Document 9 (COD9) +and is a controlled document. +</p> + +<p> +You are also bound by +</p> + +<ol><li> + <a href="http://www.cacert.org/policy/CertificationPracticeStatement.html"> + Certification Practice Statement</a> (CPS => COD6). + </li><li> + <a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html"> + Dispute Resolution Policy</a> (DRP => COD7). + </li><li> + <a href="PrivacyPolicy.html"> + Privacy Policy</a> (PP => COD5). + </li><li> + <a href="http://svn.cacert.org/CAcert/principles.html"> + Principles of the Community</a>. +</li></ol> + +<p> +Where documents are referred to as <i>=> COD x</i>, +they are controlled documents +under the control of Policy on Policies (COD1). +</p> + +<p> +This agreement and controlled documents above are primary, +and may not be replaced or waived except +by formal policy channels and by Arbitration. +</p> + +<h4> <a name="4.3"> 4.3 </a> Informative References </h4> + +<p> +The governing documents are in English. +Documents may be translated for convenience. +Because we cannot control the legal effect of translations, +the English documents are the ruling ones. +</p> + +<p> +You are encouraged to be familiar with the +Assurer Handbook, +which provides a more readable introduction for much of +the information needed. +The Handbook is not however an agreement, and is overruled +by this agreement and others listed above. +</p> + +<h4> <a name="4.4"> 4.4 </a> Not Covered in this Agreement </h4> + +<p> +<b>Intellectual Property.</b> +This Licence does not transfer any intellectual +property rights ("IPR") to you. CAcert asserts and +maintains its IPR over its roots, issued certificates, +brands, logos and other assets. +Note that the certificates issued to you +are CAcert's intellectual property +and you do not have rights other than those stated. +</p> + + +</body> +</html> diff --git a/www/policy/CAcertCommunityAgreement.php b/www/policy/CAcertCommunityAgreement.php index 3106eb1..065ad2b 100644 --- a/www/policy/CAcertCommunityAgreement.php +++ b/www/policy/CAcertCommunityAgreement.php @@ -1,512 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> - -<html> -<head><title>CAcert Community Agreement</title></head> -<body> - - - - -<h3> <a name="0"> 0. </a> Introduction </h3> - -<p> -This agreement is between -you, being a registered member ("Member") -within CAcert's community at large ("Community") -and CAcert Incorporated ("CAcert"), -being an operator of services to the Community. -</p> - -<h4> <a name="0.1"> 0.1 </a> Terms </h4> -<ol><li> - "CAcert" - means CAcert Inc., - a non-profit Association of Members incorporated in - New South Wales, Australia. - Note that Association Members are distinct from - the Members defined here. - </li><li> - "Member" - means you, a registered participant within CAcert's Community, - with an account on the website and the - facility to request certificates. - Members may be individuals ("natural persons") - or organisations ("legal persons"). - </li><li> - "Organisation" - is defined under the Organisation Assurance programme, - and generally includes corporations and other entities - that become Members and become Assured. - </li><li> - "Community" - means all of the Members - that are registered by this agreement - and other parties by other agreements, - all being under CAcert's Arbitration. - </li><li> - "Non-Related Person" ("NRP"), - being someone who is not a - Member, is not part of the Community, - and has not registered their agreement. - Such people are offered the NRP-DaL - another agreement allowing the USE of certificates. - </li><li> - "Non-Related Persons - Disclaimer and Licence" ("NRP-DaL"), - another agreement that is offered to persons outside the - Community. - </li><li> - "Arbitration" - is the Community's forum for - resolving disputes, or jurisdiction. - </li><li> - "Dispute Resolution Policy" ("DRP" => COD7) - is the policy and - rules for resolving disputes. - </li><li> - "USE" - means the act by your software - to conduct its tasks, incorporating - the certificates according to software procedures. - </li><li> - "RELY" - means your human act in taking on a - risk and liability on the basis of the claim(s) - bound within a certificate. - </li><li> - "OFFER" - means the your act - of making available your certificate to another person. - Generally, you install and configure your software - to act as your agent and facilite this and other tasks. - OFFER does not imply suggestion of reliance. - </li><li> - "Issue" - means creation of a certificate by CAcert. - To create a certificate, - CAcert affixes a digital signature from the root - onto a public key and other information. - This act would generally bind a statement or claim, - such as your name, to your key. - </li><li> - "Root" - means CAcert's top level key, - used for signing certificates for Members. - In this document, the term includes any subroots. - </li><li> - "CAcert Official Document" ("COD" => COD3) - in a standard format for describing the details of - operation and governance essential to a certificate authority. - Changes are managed and controlled. - CODs define more technical terms. - See 4.2 for listing of relevant CODs. - </li><li> - "Certification Practice Statement" ("CPS" => COD6) - is the document that controls details - about operational matters within CAcert. -</li></ol> - - -<h3> <a name="1"> 1. </a> Agreement and Licence </h3> - -<h4> <a name="1.1"> 1.1 </a> Agreement </h4> - -<p> -You and CAcert both agree to the terms and conditions -in this agreement. -Your agreement is given by any of -</p> - -<ul><li> - your signature on a form to request assurance of identity - ("CAP" form), - </li><li> - your request on the website - to join the Community and create an account, - </li><li> - your request for Organisation Assurance, - </li><li> - your request for issuing of certificates, or - </li><li> - if you USE, RELY, or OFFER - any certificate issued to you. -</li></ul> - -<p> -Your agreement -is effective from the date of the first event above -that makes this agreement known to you. -This Agreement -replaces and supercedes prior agreements, -including the NRP-DaL. -</p> - - -<h4> <a name="1.2"> 1.2 </a> Licence </h4> - -<p> -As part of the Community, CAcert offers you these rights: -</p> - -<ol><li> - You may USE any certificates issued by CAcert. - </li><li> - You may RELY on any certificate issued by CAcert, - as explained and limited by CPS (COD6). - </li><li> - You may OFFER certificates issued to you by CAcert - to Members for their RELIANCE. - </li><li> - You may OFFER certificates issued to you by CAcert - to NRPs for their USE, within the general principles - of the Community. - </li><li> - This Licence is free of cost, - non-exclusive, and non-transferrable. -</li></ol> - -<h4> <a name="1.3"> 1.3 </a> Your Contributions </h4> - - -<p> -You agree to a non-exclusive non-restrictive non-revokable -transfer of Licence to CAcert for your contributions. -That is, if you post an idea or comment on a CAcert forum, -or email it to other Members, -your work can be used freely by the Community for -CAcert purposes, including placing under CAcert's licences -for wider publication. -</p> - -<p> -You retain authorship rights, and the rights to also transfer -non-exclusive rights to other parties. -That is, you can still use your -ideas and contributions outside the Community. -</p> - -<p> -Note that the following exceptions override this clause: -</p> - -<ol><li> - Contributions to controlled documents are subject to - Policy on Policy ("PoP" => COD1) - </li><li> - Source code is subject to an open source licence regime. -</li></ol> - -<h4> <a name="1.4"> 1.4 </a> Privacy </h4> - - -<p> -You give rights to CAcert to store, verify and process -and publish your data in accordance with policies in force. -These rights include shipping the data to foreign countries -for system administration, support and processing purposes. -Such shipping will only be done among -CAcert Community administrators and Assurers. -</p> - -<p> -Privacy is further covered in the Privacy Policy ("PP" => COD5). -</p> - -<h3> <a name="2"> 2. </a> Your Risks, Liabilities and Obligations </h3> - -<p> -As a Member, you have risks, liabilities -and obligations within this agreement. -</p> - -<h4> <a name="2.1"> 2.1 </a> Risks </h4> - -<ol><li> - A certificate may prove unreliable. - </li><li> - Your account, keys or other security tools may be - lost or otherwise compromised. - </li><li> - You may find yourself subject to Arbitration - (DRP => COD7). -</li></ol> - -<h4> <a name="2.2"> 2.2 </a> Liabilities </h4> - -<ol><li> - You are liable for any penalties - as awarded against you by the Arbitrator. - </li><li> - Remedies are as defined in the DRP (COD7). - An Arbitrator's ruling may - include monetary amounts, awarded against you. - </li><li> - Your liability is limited to - a total maximum of - <b>1000 Euros</b>. - </li><li> - "Foreign Courts" may assert jurisdiction. - These include your local courts, and are outside our Arbitration. - Foreign Courts will generally refer to the Arbitration - Act of their country, which will generally refer - civil cases to Arbitration. - The Arbitration Act will not apply to criminal cases. -</li></ol> - -<h4> <a name="2.3"> 2.3 </a> Obligations </h4> - -<p> - You are obliged -</p> - -<ol><li> - to provide accurate information - as part of Assurance. - You give permission for verification of the information - using CAcert-approved methods. - </li><li> - to make no false representations. - </li><li> - to submit all your disputes to Arbitration - (DRP => COD7). -</li></ol> - -<h4> <a name="2.4"> 2.4 </a> Principles </h4> - -<p> -As a Member of CAcert, you are a member of -the Community. - You are further obliged to - work within the spirit of the Principles - of the Community. - These are described in - <a href="http://svn.cacert.org/CAcert/principles.html">Principles of the Community</a>. -</p> - -<h4> <a name="2.5"> 2.5 </a> Security </h4> -<p> -CAcert exists to help you to secure yourself. -You are primarily responsible for your own security. -Your security obligations include -</p> - -<ol><li> - to secure yourself and your computing platform (e.g., PC), - </li><li> - to keep your email account in good working order, - </li><li> - to secure your CAcert account - (e.g., credentials such as username, password), - </li><li> - to secure your private keys, - </li><li> - to review certificates for accuracy, - and - </li><li> - when in doubt, notify CAcert, - </li><li> - when in doubt, take other reasonable actions, such as - revoking certificates, - changing account credentials, - and/or generating new keys. -</li></ol> - -<p> -Where, above, 'secure' means to protect to a reasonable -degree, in proportion with your risks and the risks of -others. -</p> - -<h3> <a name="3"> 3. </a> Law and Jurisdiction </h3> - -<h4> <a name="3.1"> 3.1 </a> Governing Law </h4> - -<p> -This agreement is governed under the law of -New South Wales, Australia, -being the home of the CAcert Inc. Association. -</p> - -<h4> <a name="3.2"> 3.2 </a> Arbitration as Forum of Dispute Resolution </h4> - -<p> -You agree, with CAcert and all of the Community, -that all disputes arising out -of or in connection to our use of CAcert services -shall be referred to and finally resolved -by Arbitration under the rules within the -Dispute Resolution Policy of CAcert -(DRP => COD7). -The rules select a single Arbitrator chosen by CAcert -from among senior Members in the Community. -The ruling of the Arbitrator is binding and -final on Members and CAcert alike. -</p> - -<p> -In general, the jurisdiction for resolution of disputes -is within CAcert's own forum of Arbitration, -as defined and controlled by its own rules (DRP => COD7). -</p> - -<p> -We use Arbitration for many purposes beyond the strict -nature of disputes, such as governance and oversight. -A systems administrator may -need authorisation to conduct a non-routine action, -and Arbitration may provide that authorisation. -Thus, you may find yourself party to Arbitration -that is simply support actions, and you may file disputes in -order to initiate support actions. -</p> - -<h4> <a name="3.3"> 3.3 </a> Termination </h4> -<p> -You may terminate this agreement by resigning -from CAcert. You may do this at any time by -writing to CAcert's online support forum and -filing dispute to resign. -All services will be terminated, and your -certificates will be revoked. -However, some information will continue to -be held for certificate processing purposes. -</p> - -<p> -The provisions on Arbitration survive any termination -by you by leaving CAcert. -That is, even if you resign from CAcert, -you are still bound by the DRP (COD7), -and the Arbitrator may reinstate any provision of this -agreement or bind you to a ruling. -</p> - -<p> -Only the Arbitrator may terminate this agreement with you. -</p> - -<h4> <a name="3.4"> 3.4 </a> Changes of Agreement </h4> - -<p> -CAcert may from time to time vary the terms of this Agreement. -Changes will be done according to the documented CAcert policy -for changing policies, and is subject to scrutiny and feedback -by the Community. -Changes will be notified to you by email to your primary address. -</p> - -<p> -If you do not agree to the changes, you may terminate as above. -Continued use of the service shall be deemed to be agreement -by you. -</p> - -<h4> <a name="3.5"> 3.5 </a> Communication </h4> - -<p> -Notifications to CAcert are to be sent by -email to the address -<b>support</b> <i>at</i> CAcert.org. -You should attach a digital signature, -but need not do so in the event of security -or similar urgency. -</p> - -<p> -Notifications to you are sent -by CAcert to the primary email address -registered with your account. -You are responsible for keeping your email -account in good working order and able -to receive emails from CAcert. -</p> - -<p> -Arbitration is generally conducted by email. -</p> - -<h3> <a name="4"> 4. </a> Miscellaneous </h3> - -<h4> <a name="4.1"> 4.1 </a> Other Parties Within the Community </h4> - -<p> -As well as you and other Members in the Community, -CAcert forms agreements with third party -vendors and others. -Thus, such parties will also be in the Community. -Such agreements are also controlled by the same -policy process as this agreement, and they should -mirror and reinforce these terms. -</p> - - -<h4> <a name="4.2"> 4.2 </a> References and Other Binding Documents </h4> - -<p> -This agreement is CAcert Official Document 9 (COD9) -and is a controlled document. -</p> - -<p> -You are also bound by -</p> - -<ol><li> - <a href="http://www.cacert.org/policy/CertificationPracticeStatement.php"> - Certification Practice Statement</a> (CPS => COD6). - </li><li> - <a href="http://www.cacert.org/policy/DisputeResolutionPolicy.php"> - Dispute Resolution Policy</a> (DRP => COD7). - </li><li> - <a href="PrivacyPolicy.html"> - Privacy Policy</a> (PP => COD5). - </li><li> - <a href="http://svn.cacert.org/CAcert/principles.html"> - Principles of the Community</a>. -</li></ol> - -<p> -Where documents are referred to as <i>=> COD x</i>, -they are controlled documents -under the control of Policy on Policies (COD1). -</p> - -<p> -This agreement and controlled documents above are primary, -and may not be replaced or waived except -by formal policy channels and by Arbitration. -</p> - -<h4> <a name="4.3"> 4.3 </a> Informative References </h4> - -<p> -The governing documents are in English. -Documents may be translated for convenience. -Because we cannot control the legal effect of translations, -the English documents are the ruling ones. -</p> - -<p> -You are encouraged to be familiar with the -Assurer Handbook, -which provides a more readable introduction for much of -the information needed. -The Handbook is not however an agreement, and is overruled -by this agreement and others listed above. -</p> - -<h4> <a name="4.4"> 4.4 </a> Not Covered in this Agreement </h4> - -<p> -<b>Intellectual Property.</b> -This Licence does not transfer any intellectual -property rights ("IPR") to you. CAcert asserts and -maintains its IPR over its roots, issued certificates, -brands, logos and other assets. -Note that the certificates issued to you -are CAcert's intellectual property -and you do not have rights other than those stated. -</p> - - -</body> -</html> +<?php +header('HTTP/1.0 301 Moved Permanently'); +header('Location: CAcertCommunityAgreement.html'); +exit();
\ No newline at end of file diff --git a/www/policy/CertificationPracticeStatement.html b/www/policy/CertificationPracticeStatement.html new file mode 100644 index 0000000..9877335 --- /dev/null +++ b/www/policy/CertificationPracticeStatement.html @@ -0,0 +1,4087 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta name="copyright" content="CAcert Inc http://www.cacert.org/"> + <title>Certification Practice Statement (CPS)</title> + +<style type="text/css"> +<!-- +body { + font-family : verdana, helvetica, arial, sans-serif; +} + +pre, code, kbd, tt, samp { + font-family : courier, monospace; +} + +th { + text-align : left; +} + +.blockpar { + text-indent : 2em; + margin-top : 0em; + margin-bottom : 0.5em; + text-align : justify; +} + +.figure { + text-align : center; + color : gray; + margin-top : 0.5em; +} + +.center { + text-align : center; +} + +.q { + color : green; + font-weight: bold; + text-align: center; + font-style:italic; +} + +.error { + color : red; + font-weight: bold; + text-align: center; + font-style:italic; +} + +.change { + color : blue; + font-weight: bold; +} + +a:hover { + color : gray; +} +--> +</style> + + +</head> +<body> + +<h1>CAcert CPS and CP</h1> + +<a href="PolicyOnPolicy.html"><img src="cacert-draft.png" alt="CAcert Policy Status" height="31" width="88" style="border-style: none;" /></a><br /> +Creation date: 20060726<br /> +Status: DRAFT p20091108<br /> +<!-- $Id: CertificationPracticeStatement.html,v 1.3 2012-07-27 16:00:29 wytze Exp $ --> + + +<font size="-1"> + +<ol> + <li> <a href="#p1">INTRODUCTION</a> + <ul> + <li><a href="#p1.1">1.1. Overview</a></li> + <li><a href="#p1.2">1.2. Document name and identification</a></li> + <li><a href="#p1.3">1.3. PKI participants</a> </li> + <li><a href="#p1.4">1.4. Certificate usage</a> </li> + <li><a href="#p1.5">1.5. Policy administration</a> </li> + <li><a href="#p1.6">1.6. Definitions and acronyms</a></li> + </ul> + </li> + <li> <a href="#p2">PUBLICATION AND REPOSITORY RESPONSIBILITIES</a> + <ul> + <li><a href="#p2.1">2.1. Repositories</a></li> + <li><a href="#p2.2">2.2. Publication of certification information</a></li> + <li><a href="#p2.3">2.3. Time or frequency of publication</a></li> + <li><a href="#p2.4">2.4. Access controls on repositories</a></li> + </ul> + </li> + <li> <a href="#p3">IDENTIFICATION AND AUTHENTICATION (I&A)</a> + <ul> + <li><a href="#p3.1">3.1. Naming</a> </li> + <li><a href="#p3.2">3.2. Initial Identity Verification</a> </li> + <li><a href="#p3.3">3.3. I&A for Re-key Requests</a> </li> + <li><a href="#p3.4">3.4. I&A for Revocation Request</a></li> + </ul> + </li> + <li><a href="#p4">CERTIFICATE LIFE-CYCLE OPERATIONAL REQUIREMENTS</a> + <ul> + <li><a href="#p4.1">4.1. Certificate Application</a> </li> + <li><a href="#p4.2">4.2. Certificate application processing</a> </li> + <li><a href="#p4.3">4.3. Certificate issuance</a> </li> + <li><a href="#p4.4">4.4. Certificate acceptance</a> </li> + <li><a href="#p4.5">4.5. Key pair and certificate usage</a> </li> + <li><a href="#p4.6">4.6. Certificate renewal</a> </li> + <li><a href="#p4.7">4.7. Certificate re-key</a> </li> + <li><a href="#p4.8">4.8. Certificate modification</a> </li> + <li><a href="#p4.9">4.9. Certificate revocation and suspension</a> </li> + <li><a href="#p4.10">4.10. Certificate status services</a> </li> + <li><a href="#p4.11">4.11. End of subscription</a></li> + <li><a href="#p4.12">4.12. Key escrow and recovery</a> </li> + </ul> + </li> + <li><a href="#p5">FACILITY, MANAGEMENT, AND OPERATIONAL CONTROLS</a> + <ul> + <li><a href="#p5.1">5.1. Physical controls</a> </li> + <li><a href="#p5.2">5.2. Procedural controls</a> </li> + <li><a href="#p5.3">5.3. Personnel controls</a> </li> + <li><a href="#p5.4">5.4. Audit logging procedures</a> </li> + <li><a href="#p5.5">5.5. Records archival</a> </li> + <li><a href="#p5.6">5.6. Key changeover</a></li> + <li><a href="#p5.7">5.7. Compromise and disaster recovery</a> </li> + <li><a href="#p5.8">5.8. CA or RA termination</a></li> + </ul> + </li> + <li><a href="#p6">TECHNICAL SECURITY CONTROLS</a> + <ul> + <li><a href="#p6.1">6.1. Key pair generation and installation</a> </li> + <li><a href="#p6.2">6.2. Private Key Protection and Cryptographic Module Engineering Controls</a> </li> + <li><a href="#p6.3">6.3. Other aspects of key pair management</a> </li> + <li><a href="#p6.4">6.4. Activation data</a> </li> + <li><a href="#p6.5">6.5. Computer security controls</a> </li> + <li><a href="#p6.6">6.6. Life cycle technical controls</a> </li> + <li><a href="#p6.7">6.7. Network security controls</a></li> + <li><a href="#p6.8">6.8. Time-stamping</a></li> + </ul> + </li> + <li><a href="#p7">CERTIFICATE, CRL, AND OCSP PROFILES</a> + <ul> + <li><a href="#p7.1">7.1. Certificate profile</a> </li> + <li><a href="#p7.2">7.2. CRL profile</a> </li> + <li><a href="#p7.3">7.3. OCSP profile</a> </li> + </ul> + </li> + <li><a href="#p8">COMPLIANCE AUDIT AND OTHER ASSESSMENTS</a> + <ul> + <li><a href="#p8.1">8.1. Frequency or circumstances of assessment</a></li> + <li><a href="#p8.2">8.2. Identity/qualifications of assessor</a></li> + <li><a href="#p8.3">8.3. Assessor's relationship to assessed entity</a></li> + <li><a href="#p8.4">8.4. Topics covered by assessment</a></li> + <li><a href="#p8.5">8.5. Actions taken as a result of deficiency</a></li> + <li><a href="#p8.6">8.6. Communication of results</a></li> + </ul> + </li> + <li><a href="#p9">OTHER BUSINESS AND LEGAL MATTERS</a> + <ul> + <li><a href="#p9.1">9.1. Fees</a> </li> + <li><a href="#p9.2">9.2. Financial responsibility</a> </li> + <li><a href="#p9.3">9.3. Confidentiality of business information</a> </li> + <li><a href="#p9.4">9.4. Privacy of personal information</a> </li> + <li><a href="#p9.5">9.5. Intellectual property rights</a></li> + <li><a href="#p9.6">9.6. Representations and warranties</a> </li> + <li><a href="#p9.7">9.7. Disclaimers of warranties</a></li> + <li><a href="#p9.8">9.8. Limitations of liability</a></li> + <li><a href="#p9.9">9.9. Indemnities</a></li> + <li><a href="#p9.10">9.10. Term and termination</a> </li> + <li><a href="#p9.11">9.11. Individual notices and communications with participants</a></li> + <li><a href="#p9.12">9.12. Amendments</a> </li> + <li><a href="#p9.13">9.13. Dispute resolution provisions</a></li> + <li><a href="#p9.14">9.14. Governing law</a></li> + <li><a href="#p9.15">9.15. Compliance with applicable law</a></li> + <li><a href="#p9.16">9.16. Miscellaneous provisions</a> </li> + </ul> + </li> +</ol> + +</font> + + + +<!-- *************************************************************** --> +<h2><a name="p1" id="p1">1. INTRODUCTION</a></h2> + +<h3><a name="p1.1" id="p1.1">1.1. Overview</a></h3> + +<p> +This document is the Certification Practice Statement (CPS) of +CAcert, the Community Certification Authority (CA). +It describes rules and procedures used by CAcert for +operating its CA, +and applies to all CAcert PKI Participants, +including Assurers, Members, and CAcert itself. +</p> + +<p> +</p> + +<h3><a name="p1.2" id="p1.2">1.2. Document name and identification</a></h3> + +<p> +This document is the Certification Practice Statement (CPS) of CAcert. +The CPS also fulfills the role of the Certificate Policy (CP) +for each class of certificate. +</p> + +<ul> + <li> + This document is COD6 under CAcert Official Documents numbering scheme. + </li> + <li> + The document is structured according to + Chokhani, et al, + <a href="http://www.ietf.org/rfc/rfc3647.txt">RFC3647</a>, + <a href="http://tools.ietf.org/html/rfc3647#section-4">chapter 4</a>. + All headings derive from that Chapter. + </li> + <li> + It has been improved and reviewed (or will be reviewed) + to meet or exceed the criteria of the + <cite>Certificate Authority Review Checklist</cite> + from <i>David E. Ross</i> ("DRC") + and Mozilla Foundation's CA policy. + </li> + <li> + OID assigned to this document: 1.3.6.1.4.1.18506.4.4.x (x=approved Version) + (<a href="http://www.iana.org/assignments/enterprise-numbers">iana.org</a>) + <p class="q"> .x will change to .1 in the first approved instance.</p> + </li> + <li> + © CAcert Inc. 2006-2009. + <!-- note that CCS policies must be controlled by CAcert Inc. --> + </li> + <li> + Issued under the CAcert document licence policy, + as and when made policy. + See <a href="http://wiki.cacert.org/wiki/PolicyDrafts/DocumentLicence"> + PolicyDrafts/DocumentLicence</a>. + <ul class="q"> + <li> The cited page discusses 2 options: CCau Attribute-Share-alike and GNU Free Document License. Refer to that. </li> + <li> Note that the noun Licence in Australian English has two Cs. The verb License is spelt the same way as American English. </li> + </ul> + </li> + <li> + Earlier notes were written by Christian Barmala + in a document placed under GNU Free Document License + and under FSF copyright. + However this clashed with the control provisions of + Configuration-Control Specification + (COD2) within Audit criteria. + </li> + <li> + <span class="q">In this document:</span> + <ul> + <li> + <span class="q">green text</span> + refers to questions that seek answers, + </li><li> + <span class="error">red text</span> + refers to probably audit fails or serious errors. + </li><li> + <span class="change">blue text</span> + refers to changes written after the document got seriously reviewed. + </ul> + <span class="q"> + None is to be considered part of the policy, + and they should disappear in the DRAFT + and must disappear in the POLICY. + </span> + </li> +<!-- + <li> + Some content is incorporated under +<!-- <a href="http://xkcd.com/license.html">Creative Commons license</a> --> +<!-- from <a href="http://xkcd.com/">xkcd.com</a>. --> + 198 177 515 + </li> +--> +</ul> + +<p> +The CPS is an authoritive document, +and rules other documents +except where explicitly deferred to. +See also <a href="#p1.5.1">1.5.1 Organisation Administering the Document</a>. +</p> + +<h3><a name="p1.3" id="p1.3">1.3. PKI participants</a></h3> +<p> +The CA is legally operated by CAcert Incorporated, +an Association registered in 2002 in +New South Wales, Australia, +on behalf of the wider Community of Members of CAcert. +The Association details are at the +<a href="http://wiki.cacert.org/wiki/CAcertIncorporated">CAcert wiki</a>. +</p> + +<p> +CAcert is a Community formed of Members who agree to the +<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html"> +CAcert Community Agreement</a>. +The CA is technically operated by the Community, +under the direction of the Board of CAcert Incorporated. +(The Members of the Community are not to be confused +with the <i>Association Members</i>, which latter are +not referred to anywhere in this CPS.) +</p> + +<h4><a name="p1.3.1" id="p1.3.1">1.3.1. Certification authorities</a></h4> +<p> +CAcert does not issue certificates to external +intermediate CAs under the present CPS. +</p> + +<h4><a name="p1.3.2" id="p1.3.2">1.3.2. Registration authorities</a></h4> +<p> +Registration Authorities (RAs) are controlled under Assurance Policy +(<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<h4><a name="p1.3.3" id="p1.3.3">1.3.3. Subscribers</a></h4> + +<p> +CAcert issues certificates to Members only. +Such Members then become Subscribers. +</p> + + +<h4><a name="p1.3.4" id="p1.3.4">1.3.4. Relying parties</a></h4> + +<p> +A relying party is a Member, +having agreed to the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>), +who, in the act of using a CAcert certificate, +makes a decision on the basis of that certificate. +</p> + +<h4><a name="p1.3.5" id="p1.3.5">1.3.5. Other participants</a></h4> + +<p> +<b>Member.</b> +Membership of the Community is as defined in the +<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>. +Only Members may RELY or may become Subscribers. +Membership is free. +</p> + +<p> +<b>Arbitrator.</b> +A senior and experienced Member of the CAcert Community +who resolves disputes between Members, including ones +of certificate reliance, under +Dispute Resolution Policy +(<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html">COD7</a>). +</p> + +<p> +<b>Vendor.</b> +Software suppliers who integrate the root certificates of CAcert +into their software also assume a proxy role of Relying Parties, +and are subject to another licence. +<span class="q"> +At the time of writing, the +"3rd Party Vendor - Disclaimer and Licence" +is being worked upon, but is neither approved nor offered. +</span> +</p> + +<p> +<b>Non-Related Persons</b> (NRPs). +These are users of browsers and similar software who are +unaware of the CAcert certificates they may use, and +are unaware of the ramifications of usage. +Their relationship with CAcert +is described by the +Non-related Persons - Disclaimer and Licence +(<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>). +No other rights nor relationship is implied or offered. +</p> + + +<h3><a name="p1.4" id="p1.4">1.4. Certificate usage</a></h3> + +<p>CAcert serves as issuer of certificates for +individuals, businesses, governments, charities, +associations, churches, schools, +non-governmental organisations or other groups. +CAcert certificates are intended for low-cost +community applications especially where volunteers can +become Assurers and help CAcert to help the Community. +</p> + +<p> +Types of certificates and their appropriate and +corresponding applications are defined in +<a href="#p1.4.1">§1.4.1</a>. +Prohibited applications are defined in <a href="#p1.4.2">§1.4.2</a>. +Specialist uses may be agreed by contract or within +a specific environment, as described in +<a href="#p1.4.4">§1.4.4</a>. +Note also the +unreliable applications in +<a href="#p1.4.3">§1.4.3</a> +and risks, liabilities and obligations in +<a href="#p9">§9</a>. +</p> + + +<center> +<table border="1" cellpadding="5"> + <tr> + <td colspan="2"><center><i>Type</center></i></td> + <td colspan="2"><center><i>Appropriate Certificate uses</center></i></th> + </tr> + <tr> + <th>General</th> + <th>Protocol</th> + <th><center>Description</center></th> + <th><center>Comments</center></th> + </tr> + <tr> + <td rowspan="2"><center>Server</center></td> + <td> TLS </td> + <td> web server encryption </td> + <td> enables encryption </td> + </tr> + <tr> + <td> embedded </td> + <td> embedded server authentication </td> + <td> mail servers, IM-servers </td> + </tr> + <tr> + <td rowspan="4"><center>Client</center></td> + <td> S/MIME </td> + <td> email encryption </td> + <td> "digital signatures" employed in S/MIME + are not legal / human signatures, + but instead enable the encryption mode of S/MIME </td> + </tr> + <tr> + <td> TLS </td> + <td> client authentication </td> + <td> the nodes must be secure </td> + </tr> + <tr> + <td> TLS </td> + <td> web based signature applications </td> + <td> the certificate authenticates only. See <a href="#p1.4.3">§1.4.3</a>. </td> + </tr> + <tr> + <td> "Digital Signing" </td> + <td> for human signing over documents </td> + <td> Only within a wider application and rules + such as by separate policy, + as agreed by contract, etc. + See <a href="#p1.4.4">§1.4.4</a>. + </td> + </tr> + <tr> + <td><center>Code</center></td> + <td> Authenticode, ElfSign, Java </td> + <td> Code Signing </td> + <td> Signatures on packages are evidence of their Membership and indicative of Identity </td> + </tr> + <tr> + <td><center>PGP</center></td> + <td> OpenPGP </td> + <td> Key Signing </td> + <td> Signatures on Member Keys are evidence of their Membership and indicative of Identity </td> + </tr> + <tr> + <td><center>Special</center></td> + <td> X.509 </td> + <td> OCSP, Timestamping </td> + <td> Only available to CAcert Systems Administrators, as controlled by Security Policy </td> + </tr> +</table> + +<span class="figure">Table 1.4. Types of Certificate</span> +</center> + +<h4><a name="p1.4.1" id="p1.4.1">1.4.1. Appropriate certificate uses</a></h4> + +<p> +General uses. +</p> + +<ul><li> + CAcert server certificates can be used to enable encryption + protection in web servers. + Suitable applications include webmail and chat forums. + </li><li> + CAcert server certificates can be used to enable encryption + in SSL/TLS links in embedded protocols such as mail servers + and IM-servers. + </li><li> + CAcert client certificates can be used to enable encryption + protection in email clients. + (See <a href="#p1.4.3">§1.4.3</a> for caveat on signatures.) + </li><li> + CAcert client certificates can be used to replace password-based + authentication to web servers. + </li><li> + OpenPGP keys with CAcert signatures can be used + to encrypt and sign files and emails, + using software compatible with OpenPGP. + </li><li> + CAcert client certificates can be used in web-based + authentication applications. + </li><li> + CAcert code signing certificates can be used to sign code + for distribution to other people. + </li><li> + Time stamping can be used to attach a time record + to a digital document. +</li></ul> + + +<h4><a name="p1.4.2" id="p1.4.2">1.4.2. Prohibited certificate uses</a></h4> +<p> +CAcert certificates are not designed, intended, or authorised for +the following applications: +</p> +<ul><li> + Use or resale as control equipment in hazardous circumstances + or for uses requiring fail-safe performance such as the operation + of nuclear facilities, aircraft navigation or communication systems, + air traffic control systems, or weapons control systems, + where failure could lead directly to death, personal injury, + or severe environmental damage. +</li></ul> + +<h4><a name="p1.4.3" id="p1.4.3">1.4.3. Unreliable Applications</a></h4> + +<p> +CAcert certificates are not designed nor intended for use in +the following applications, and may not be reliable enough +for these applications: +</p> + +<ul><li> + <b>Signing within Protocols.</b> + Digital signatures made by CAcert certificates carry + <u>NO default legal or human meaning</u>. + See <a href="#p9.15.1">§9.15.1</a>. + Especially, protocols such as S/MIME commonly will automatically + apply digital signatures as part of their protocol needs. + The purpose of the cryptographic signature in S/MIME + and similar protocols is limited by default to strictly + protocol security purposes: + to provide some confirmation that a familiar certificate + is in use, to enable encryption, and to ensure the integrity + of the email in transit. +</li><li> + <b>Non-repudiation applications.</b> + Non-repudiation is not to be implied from use of + CAcert certificates. Rather, certificates may + provide support or evidence of actions, but that + evidence is testable in any dispute. +</li><li> + <b>Ecommerce applications.</b> + Financial transactions or payments or valuable e-commerce. +</li><li> + Use of anonymous (Class 1 or Member SubRoot) certificates + in any application that requires or expects identity. +</li></ul> + +<!-- <center><a href="http://xkcd.com/341/"> <img src="http://imgs.xkcd.com/comics/1337_part_1.png"> </a> </center> --> + +<h4><a name="p1.4.4" id="p1.4.4">1.4.4. Limited certificate uses</a></h4> + +<p> +By contract or within a specific environment +(e.g. internal to a company), +CAcert Members are permitted to use Certificates +for higher security, customised or experimental applications. +Any such usage, however, is limited to such entities +and these entities take on the whole responsible for +any harm or liability caused by such usage. +</p> + +<p> + <b>Digital signing applications.</b> + CAcert client certificates + may be used by Assured Members in + applications that provide or support the human signing of documents + (known here as "digital signing"). + This must be part of a wider framework and set of rules. + Usage and reliance + must be documented either under a separate CAcert digital signing + policy or other external regime agreed by the parties. +</p> + +<h4><a name="p1.4.5" id="p1.4.5">1.4.5. Roots and Names</a></h4> + +<p> +<b>Named Certificates.</b> +Assured Members may be issued certificates +with their verified names in the certificate. In this role, CAcert +operates and supports a network of Assurers who verify the +identity of the Members. +All Names are verified, either by Assurance or another defined +method under policy (c.f. Organisations). +</p> + +<p> +<b>Anonymous Certificates.</b> +Members can be issued certificates that are anonymous, +which is defined as the certificate with no Name included, +or a shared name such as "Community Member". +These may be considered to be somewhere between Named certificates +and self-signed certificates. They have serial numbers in them +which is ultimately traceable via dispute to a Member, but +reliance is undefined. +In this role, CAcert provides the +infrastructure, saving the Members from managing a difficult +and messy process in order to get manufactured certificates. +</p> + +<p> +<b>Psuedonymous Certificates.</b> +Note that CAcert does not currently issue pseudonymous certificates, +being those with a name chosen by the Member and not verifiable +according to documents. +</p> + +<p> +<b>Advanced Certificates.</b> +Members who are as yet unassured are not permitted to create +advanced forms such as wildcard or subjectAltName +certificates. +</p> + + +<p> +<b> Roots.</b> +The <span class="q"> (new) </span> CAcert root layout is as below. +These roots are pending Audit, +and will be submitted to vendors via the (Top-level) Root. +</p> +<ul><li> + <b>(Top-level) Root.</b> + Used to sign on-line CAcert SubRoots only. + This Root is kept offline. + </li><li> + <b>Member SubRoot.</b> + For Community Members who are new and unassured (some restrictions exist). + Reliance is undefined. + (Replacement for the Class 1 root, matches "Domain Validation" type.) + </li><li> + <b>Assured SubRoot.</b> + Only available for Assured individual Members, + intended to sign certificates with Names. + Suitable for Reliance under this and other policies. + Approximates the type known as Individual Validation. + </li><li> + <b>Organisation SubRoot.</b> + Only available for Assured Organisation Members. + Suitable for Reliance under this and other policies. + Approximates the type known as Organisational Validation. + +</li></ul> + + + +<center> +<table border="1" cellpadding="5"> + <tr> + <td></td> + <td colspan="5"><center><i>Level of Assurance</center></i></td> + <th> </th> + </tr> + <tr> + <th></th> + <th colspan="2"><center> Members † </center></th> + <th colspan="2"><center> Assured Members</center></th> + <th colspan="1"><center> Assurers </center></th> + <th colspan="1"><center> </center></th> + </tr> + <tr> + <td><i>Class of Root</i></td> + <th>Anon</th> + <td>Name</td> + <td>Anon</td> + <th>Name</th> + <td>Name+Anon</td> + <td colspan="1"><center><i>Remarks</center></i></td> + </tr> + <tr> + <td><center>Top level<br><big><b>Root</b></big></center></td> + <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> + <td> Signs other CAcert SubRoots only. </td> + </tr> + <tr> + <td><center><big><b>Member</b></big><br>SubRoot</center></td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> † For Members meeting basic checks in <a href="#p4.2.2">§4.2.2</a><br>(Reliance is undefined.) </td> + </tr> + <tr> + <td><center><big><b>Assured</b></big><br>SubRoot</center></td> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> Assured Members only.<br>Fully intended for reliance. </td> + </tr> + <tr> + <td><center><big><b>Organisation</b></big><br>SubRoot</center></td> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> Assured Organisation Members only.<br>Fully intended for reliance. </td> + </tr> + <tr> + <th>Expiry of Certificates</th> + <td colspan="2"><center>6 months</center></th> + <td colspan="3"><center>24 months</center></th> + </tr> + <tr> + <th>Types</th> + <td colspan="2"><center>client, server</center></th> + <td colspan="2"><center>wildcard, subjectAltName</center></th> + <td colspan="1"><center>code-signing</center></th> + <td> (Inclusive to the left.) </td> + </tr> +</table> + +<span class="figure">Table 1.4.5.b Certificate under Audit Roots</span> +</center> + + +<p class="q"> +Following information on OLD roots here for +descriptive and historical purposes only. +When CPS goes to DRAFT, this needs to be +converted into a short summary of the way +OLD roots are used and its relationship to +this CPS. E.g., "OLD roots are used for +testing and other purposes outside this CPS." +Because ... they still exist, and people will +look at the CPS to figure it out. +</p> + +<center> +<table border="1" cellpadding="5"> + <tr> + <td></td> + <td colspan="4"><center><i>Level of Assurance</center></i></td> + <th> </th> + </tr> + <tr> + <th></th> + <th colspan="2"><center>Members</center></th> + <th colspan="2"><center>Assured Members</center></th> + <th colspan="1"><center> </center></th> + </tr> + <tr> + <td><i>Class of Root</i></td> + <th>Anonymous</th> + <td>Named</td> + <td>Anonymous</td> + <th>Named</th> + <td colspan="1"><center><i>Remarks</center></i></td> + </tr> + <tr> + <td><center>Class<br><big><b>1</b></big></center></td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> Available for all Members,<br>reliance is undefined.</td> + </tr> + <tr> + <td><center>Class<br><big><b>3</b></big></center></td> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> + <td> Assured Members only.<br> Intended for Reliance. </center> </td> + </tr> + <tr> + <th>Expiry of Certificates</th> + <td colspan="2"><center>6 months</center></th> + <td colspan="2"><center>24 months</center></th> + </tr> + <tr> + <th>Types available</th> + <td colspan="2"><center>simple only</center></th> + <td colspan="2"><center>wildcard, subjectAltName</center></th> + </tr> +</table> + +<span class="figure">Table 1.4.5. Certificates under Old Roots - <b>Audit Fail</b> </span> +</center> + +<p> +<b> Old Roots.</b> +The old CAcert root layout is as below. These roots are <b>Audit Fail</b> +and will only be used where new roots do not serve: +</p> +<ul><li> + (old) <b>Class 1 root.</b> + Used primarily for certificates with no names and by + unassured Members. + For compatibility only, + Assured Members may also use this root. + </li><li> + (old) <b>Class 3 root.</b> + Used primarily for certificates including the names + of Assured Members. + Signed by Class 1 root. + Members can decide to rely on these + certificates for Assured Members + by selecting the Class 3 root for + Assured Members as trust anchor. +</li></ul> + + <ul class="q"> + <li> Current Mozilla position has drifted from Class 1,2,3s to DV, IV+OV and EV posture. Except, the actual posture is either unstated or difficult to fathom.</li> + <li> scheme for future roots is at <a href="http://wiki.cacert.org/wiki/Roots/NewRootsTaskForce">NewRootsTaskForce</a>.</li> + <li>END OLD ROOTS </li> + </ul> + +<h3><a name="p1.5" id="p1.5">1.5. Policy administration</a></h3> + +<p>See <a href="#p1.2">1.2 Document Name and Identification</a> + for general scope of this document.</p> + +<h4><a name="p1.5.1" id="p1.5.1">1.5.1. Organization administering the document</a></h4> + +<p> +This document is administered by the policy group of +the CAcert Community under Policy on Policy (<a href="http://www.cacert.org/policy/PolicyOnPolicy.html">COD1</a>). +</p> + +<h4><a name="p1.5.2" id="p1.5.2">1.5.2. Contact person</a></h4> +<p> +For questions including about this document: +</p> + +<ul> + <li>Join the policy group, by means of the discussion forum at + <a href="http://lists.cacert.org/mailman/listinfo"> + lists.cacert.org</a> . </li> + <li>Send email to < support AT cacert DOT org > </li> + <li>IRC: irc.cacert.org #CAcert (ssl port 7000, non-ssl port 6667)</li> +</ul> + +<h4><a name="p1.5.3" id="p1.5.3">1.5.3. Person determining CPS suitability for the policy</a></h4> +<p> +This CPS and all other policy documents are managed by +the policy group, which is a group of Members of the +Community found at policy forum. See discussion forums above. +</p> + +<h4><a name="p1.5.4" id="p1.5.4">1.5.4. CPS approval procedures</a></h4> +<p> +CPS is controlled and updated according to the +Policy on Policy +(<a href="http://www.cacert.org/policy/PolicyOnPolicy.html">COD1</a>) +which is part of +Configuration-Control Specification (COD2). +</p> + +<p> +In brief, the policy forum prepares and discusses. +After a last call, the document moves to DRAFT status +for a defined period. +If no challenges have been received in the defined period, +it moves to POLICY status. +The process is modelled after some elements of +the RFC process by the IETF. +</p> + +<h4><a name="p1.5.5" id="p1.5.5">1.5.5 CPS updates</a></h4> + +<p> +As per above. +</p> + + +<h3><a name="p1.6" id="p1.6">1.6. Definitions and acronyms</a></h3> +<p> +<b><a name="d_cert" id="d_cert">Certificate</a></b>. + A certificate is a piece of cryptographic data used + to validate certain statements, especially those of + identity and membership. +</p> +<p> +<b><a name="d_cacert" id="d_cacert">CAcert</a></b>. + CAcert is a Community certificate authority as defined under + <a href="#p1.2">§1.2 Identification</a>. +</p> +<p> +<b><a name="d_member" id="d_member">Member</a></b>. + Everyone who agrees to the + CAcert Community Agreement + (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>). + This generally implies having an account registered + at CAcert and making use of CAcert's data, programs or services. + A Member may be an individual ("natural person") + or an organisation (sometimes, "legal person"). +</p> +<p> +<b><a name="d_community" id="d_community">Community</a></b>. + The group of Members who agree to the + CAcert Community Agreement + (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>) + or equivalent agreements. +</p> +<p> +<b><a name="d_unassured" id="d_unassured">Unassured Member</a></b>. + A Member who has not yet been Assured. +</p> +<p> +<b><a name="d_subscriber" id="d_subscriber">Subscriber</a></b>. + A Member who requests and receives a certificate. +</p> +<p> +<b><a name="d_assured" id="d_assured">Assured Member</a></b>. + A Member whose identity has been sufficiently + verified by Assurers or other + approved methods under Assurance Policy.</p> +</p> +<p> +<b><a name="d_assurer" id="d_assurer">Assurer</a></b>. + An Assured Member who is authorised under Assurance Policy + to verify the identity of other Members. +</p> +<p> +<b><a name="d_name" id="d_name">Name</a></b>. + As defined in the + Assurance Policy + (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>), + to describe a name of a Member + that is verified by the Assurance process. +<p> +<b><a name="d_oadmin" id="d_oadmin">Organisation Administrator</a></b>. + ("O-Admin") + An Assurer who is authorised to act for an Organisation. + The O-Admin is authorised by an organisation + to vouch for the identity of other users of the organisation. +</p> +<p> +<b><a name="d_org_ass" id="d_org_ass">Organisation Assurer</a></b>. + An Assurer who is authorised to conduct assurances on + organisations. +</p> +<p> +<b><a name="d_user" id="d_user">Non-Related Persons</a></b>. + ("NRPs") + are general users of browsers and similar software. + The NRPs are generally unaware of + CAcert or the certificates that they may use, and + are unaware of the ramifications of usage. + They are not permitted to RELY, but may USE, under the + Non-Related Persons - Disclaimer and Licence (<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>). +</p> +<p> +<b><a name="rel" id="d_reliance">Reliance</a></b>. + An industry term referring to + the act of making a decision, including taking a risk, + which decision is in part or in whole + informed or on the basis of the contents of a certificate. +</p> +<p> +<b><a name="rel" id="rel">Relying Party</a></b>. + An industry term refering to someone who relies + (that is, makes decisions or takes risks) + in part or in whole on a certificate. +</p> +<p> + <b>Subscriber Naming.</b> + The term used in this CPS to + describe all naming data within a certificate. + Approximately similar terms from Industry such as + "Subject naming" and "Distinguished Name" + are not used here. +</p> +<p> +<b><a name="ver" id="d_verification">Verification</a></b>. + An industry term referring to + the act of checking and controlling + the accuracy and utility of a single claim. +</p> +<p> +<b><a name="ver" id="d_validation">Validation</a></b>. + An industry term referring to the process of + inspecting and verifying the information and + subsidiary claims behind a claim. +</p> +<p> +<b><a name="rel" id="rel">Usage</a></b>. + The event of allowing a certificate to participate in + a protocol, as decided and facilitated by a user's software. + Generally, Usage does not require significant input, if any, + on the part of the user. + This defers all decisions to the user software, + thus elevating the software as user's only and complete + Validation Authority or Agent. +</p> +<p> +<b><a name="drel" id="drel">CAcert Relying Party</a></b>. + CAcert Members who make decisions based in part or in whole + on a certificate issued by CAcert. + Only CAcert Members are permitted to Rely on CAcert certificates, + subject to the CAcert Community Agreement. +</p> +<p> +<b><a name="ddst" id="ddst">Vendors</a></b>. + Non-members who distribute CAcert's root or intermediate certificates + in any way, including but not limited to delivering these + certificates with their products, e.g. browsers, mailers or servers. + Vendors are covered under a separate licence. + <span class="q"> As of the moment, this licence is not written.</span> +</p> +<p> +<b><a name="d_ccs" id="d_ccs">Configuration-Control Specification</a></b> "CCS". + The audit criteria that controls this CPS. + The CCS is documented in COD2, itself a controlled document under CCS. +</p> +<p> +<p> +<b><a name="d_cod" id="d_cod">CAcert Official Document</a></b> (COD). + Controlled Documents that are part of the CCS. +</p> + + + +<!-- *************************************************************** --> +<h2><a name="p2" id="p2">2. PUBLICATION AND REPOSITORY RESPONSIBILITIES</a></h2> + + +<h3><a name="p2.1" id="p2.1">2.1. Repositories</a></h3> + +<p> +CAcert operates no repositories in the sense +of lookup for non-certificate-related information +for the general public. +</p> + +<p> +Under the Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>), +there are means for Members to search, retrieve +and verify certain data about themselves and others. +</p> + +<h3><a name="p2.2" id="p2.2">2.2. Publication of certification information</a></h3> + +<p> +CAcert publishes: +</p> + +<ul> + <li>A repository of CRLs. An OCSP responder is in operation.</li> + <li>The root certificate and intermediate certificates.</li> +</ul> + +<p> +CAcert does not expressly publish information on issued certificates. +However, due to the purpose of certificates, and the essential +public nature of Names and email addresses, all information within +certificates is presumed to be public and published, once +issued and delivered to the Member. +</p> + +<h3><a name="p2.3" id="p2.3">2.3. Time or frequency of publication</a></h3> + +<p> +Root and Intermediate Certificates and CRLs are +made available on issuance. +</p> + +<h3><a name="p2.4" id="p2.4">2.4. Access controls on repositories</a></h3> +<p> No stipulation. </p> + + + +<!-- *************************************************************** --> +<h2><a name="p3" id="p3">3. IDENTIFICATION AND AUTHENTICATION</a></h2> + +<h3><a name="p3.1" id="p3.1">3.1. Naming</a></h3> + +<h4><a name="p3.1.1" id="p3.1.1">3.1.1. Types of names</a></h4> + +<p> +<b>Client Certificates.</b> +The Subscriber Naming consists of: +</p> +<ul> + <li><tt>subjectAltName=</tt> + One, or more, of the Subscriber's verified email addresses, + in rfc822Name format. + + <ul class="q"> + <li>SSO in subjectAltName?.</li> + </ul> + <li><tt>EmailAddress=</tt> + One, or more, of the Subscriber's verified email addresses. + This is deprecated under + RFC5280 <a href="http://tools.ietf.org/html/rfc5280#section-4.2.1.6">4 +.1.2.6</a> + and is to be phased out. Also includes a SHA1 hash of a random number if + the member selects SSO (Single Sign On ID) during submission of CSR. + </li> + <li><tt>CN=</tt> The common name takes its value from one of: + <ul><li> + For all Members, + the string "<tt>CAcert WoT Member</tt>" may be used for + anonymous certificates. + </li><li> + For individual Members, + a Name of the Subscriber, + as Assured under AP. + </li><li> + For Organisation Members, + an organisation-chosen name, + as verified under OAP. + </li></ul> +</ul> + + <ul class="q"> + <li> <a href="http://bugs.cacert.org/view.html?id=672"> bug 672</a> filed on subjectAltName.</li> + <li> O-Admin must verify as per <a href="http://wiki.cacert.org/wiki/PolicyDecisions">p20081016</a>. </li> + <li> it is a wip for OAP to state how this is done. </li> + <li> curiously, (RFC5280) verification is only mandated for subjectAltName not subject field. </li> + <li> what Directory String is used in above? UTF8String is specified by RFC52804.1.2.6? is this important for the CPS to state?</li> + </ul> + +<p> +<b>Individual Server Certificates.</b> +The Subscriber Naming consists of: +</p> +<ul> + <li><tt>CN=</tt> + The common name is the host name out of a domain + for which the Member is a domain master. + </li> <li> + <tt>subjectAltName=</tt> + Additional host names for which the Member + is a domain master may be added to permit the + certificate to serve multiple domains on one IP number. + </li> <li> + All other fields are optional and must either match + the CN or they must be empty +</li> </ul> + +<p> +<b>Certificates for Organisations.</b> +In addition to the above, the following applies: +</p> + +<ul> + <li><tt>OU=</tt> + organizationalUnitName (set by O-Admin, must be verified by O-Admin).</li> + <li><tt>O=</tt> + organizationName is the fixed name of the Organisation.</li> + <li><tt>L=</tt> + localityName</li> + <li><tt>ST=</tt> + stateOrProvinceName</li> + <li><tt>C=</tt> + countryName</li> + <li><tt>contact=</tt> + EMail Address of Contact. + <!-- not included in RFC5280 4.1.2.4 list, but list is not restricted --> + </li> +</ul> + +<p> +Except for the OU and CN, fields are taken from the Member's +account and are as verified by the Organisation Assurance process. +Other Subscriber information that is collected and/or retained +does not go into the certificate. +</p> + +<h4><a name="p3.1.2" id="p3.1.2">3.1.2. Need for names to be meaningful</a></h4> + +<p> +Each Member's Name (<tt>CN=</tt> field) +is assured under the Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>) +or subsidiary policies (such as Organisation Assurance Policy). +Refer to those documents for meanings and variations. +</p> + +<p> +Anonymous certificates have the same <code>subject</code> +field common name. +See <a href="#p1.4.5">§1.4.5.</a>. +</p> + +<p> +Email addresses are verified according to +<a href="#p4.2.2">§4.2.2.</a> +</p> + +<!-- <center><a href="http://xkcd.com/327/"> <img src="http://imgs.xkcd.com/comics/exploits_of_a_mom.png"> </a> </center> --> + +<h4><a name="p3.1.3" id="p3.1.3">3.1.3. Anonymity or pseudonymity of subscribers</a></h4> + +<p> +See <a href="#p1.4.5">§1.4.5</a>. +</p> + +<h4><a name="p3.1.4" id="p3.1.4">3.1.4. Rules for interpreting various name forms</a></h4> +<p> +Interpretation of Names is controlled by the Assurance Policy, +is administered by means of the Member's account, +and is subject to change by the Arbitrator. +Changes to the interpretation by means of Arbitration +should be expected as fraud (e.g., phishing) +may move too quickly for policies to fully document rules. +</p> + +<h4><a name="p3.1.5" id="p3.1.5">3.1.5. Uniqueness of names</a></h4> + +<p> +Uniqueness of Names within certificates is not guaranteed. +Each certificate has a unique serial number which maps +to a unique account, and thus maps to a unique Member. +See the Assurance Statement within Assurance Policy +(<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<p> +Domain names and email address +can only be registered to one Member. +</p> + +<h4><a name="p3.1.6" id="p3.1.6">3.1.6. Recognition, authentication, and role of trademarks</a></h4> + +<p> +Organisation Assurance Policy +(<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.html">COD11</a>) +controls issues such as trademarks where applicable. +A trademark can be disputed by filing a dispute. +See +<a href="#adr">§9.13</a>. +</p> + +<h4><a name="p3.1.7" id="p3.1.7">3.1.7. International Domain Names</a></h4> + +<p> +Certificates containing International Domain Names, being those containing a +ACE prefix (<a href="http://www.ietf.org/rfc/rfc3490#section-5">RFC3490 +Section 5</a>), will only be issued to domains satisfying one or more +of the following conditions: +<ul> +<li>The Top Level Domain (TLD) Registrar associated with the domain has a policy +that has taken measures to prevent two homographic domains being registered to +different entities down to an accepted level. +</li> +<li>Domains contain only code points from a single unicode character script, +excluding the "Common" script, with the additionally allowed numberic +characters [0-9], and an ACSII hyphen '-'. +</li> +</ul> +</p> + +<p>Email address containing International Domain Names in the domain portion of +the email address will also be required to satisfy one of the above conditions. +</p> + +<p> +The following is a list of accepted TLD Registrars: + <table> + + <tr> + <td>.ac</td> + <td><a href="http://www.nic.ac/">Registry</a></td> + <td><a href="http://www.nic.ac/pdf/AC-IDN-Policy.pdf">Policy</a></td> + </tr> + <tr> + <td>.ar</td> + + <td><a href="http://www.nic.ar/">Registry</a></td> + <td><a href="http://www.nic.ar/616.html">Policy</a></td> + </tr> + <tr> + <td>.at</td> + <td><a href="http://www.nic.at/">Registry</a></td> + <td><a href="http://www.nic.at/en/service/legal_information/registration_guidelines/">Policy</a> (<a href="http://www.nic.at/en/service/technical_information/idn/charset_converter/">character list</a>)</td> + + </tr> + <tr> + <td>.biz</td> + <td><a href="http://www.neustarregistry.biz/">Registry</a></td> + <td><a href="http://www.neustarregistry.biz/products/idns">Policy</a></td> + </tr> + <tr> + + <td>.br</td> + <td><a href="http://registro.br/">Registry</a></td> + <td><a href="http://registro.br/faq/faq6.html">Policy</a></td> + </tr> + <tr> + <td>.cat</td> + <td><a href="http://www.domini.cat/">Registry</a></td> + + <td><a href="http://www.domini.cat/normativa/en_normativa_registre.html">Policy</a></td> + </tr> + <tr> + <td>.ch</td> + <td><a href="http://www.switch.ch/id/">Registry</a></td> + <td><a href="http://www.switch.ch/id/terms/agb.html#anhang1">Policy</a></td> + </tr> + + <tr> + <td>.cl</td> + <td><a href="http://www.nic.cl/">Registry</a></td> + <td><a href="http://www.nic.cl/CL-IDN-policy.html">Policy</a></td> + </tr> + <tr> + <td>.cn</td> + + <td><a href="http://www.cnnic.net.cn/">Registry</a></td> + <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> + </tr> + <tr> + <td>.de</td> + <td><a href="http://www.denic.de/">Registry</a></td> + + <td><a href="http://www.denic.de/en/richtlinien.html">Policy</a></td> + </tr> + <tr> + <td>.dk</td> + <td><a href="http://www.dk-hostmaster.dk/">Registry</a></td> + <td><a href="http://www.dk-hostmaster.dk/index.html?id=151">Policy</a></td> + </tr> + + <tr> + <td>.es</td> + <td><a href="https://www.nic.es/">Registry</a></td> + <td><a href="https://www.nic.es/media/2008-12/1228818323935.pdf">Policy</a></td> + </tr> + <tr> + <td>.fi</td> + + <td><a href="http://www.ficora.fi/">Registry</a></td> + <td><a href="http://www.ficora.fi/en/index/palvelut/fiverkkotunnukset/aakkostenkaytto.html">Policy</a></td> + </tr> + <tr> + <td>.gr</td> + <td><a href="https://grweb.ics.forth.gr/english/index.html">Registry</a></td> + <td><a href="https://grweb.ics.forth.gr/english/ENCharacterTable1.jsp">Policy</a></td> + + </tr> + <tr> + <td>.hu</td> + <td><a href="http://www.domain.hu/domain/">Registry</a></td> + <td><a href="http://www.domain.hu/domain/English/szabalyzat.html">Policy</a> (section 2.1.2)</td> + </tr> + + <tr> + <td>.info</td> + <td><a href="http://www.afilias.info/">Registry</a></td> + <td><a href="http://www.afilias.info/register/idn/">Policy</a></td> + </tr> + <tr> + <td>.io</td> + + <td><a href="http://www.nic.io">Registry</a></td> + <td><a href="http://www.nic.io/IO-IDN-Policy.pdf">Policy</a></td> + </tr> + <tr> + <td>.ir</td> + <td><a href="https://www.nic.ir/">Registry</a></td> + <td><a href="https://www.nic.ir/IDN">Policy</a></td> + + </tr> + <tr> + <td>.is</td> + <td><a href="http://www.isnic.is/">Registry</a></td> + <td><a href="http://www.isnic.is/english/domain/rules.html">Policy</a></td> + </tr> + <tr> + + <td>.jp</td> + <td><a href="http://jprs.co.jp/">Registry</a></td> + <td><a href="http://www.iana.org/assignments/idn/jp-japanese.html">Policy</a></td> + </tr> + <tr> + <td>.kr</td> + <td><a href="http://domain.nic.or.kr/">Registry</a></td> + + <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> + </tr> + <tr> + <td>.li</td> + <td><a href="http://www.switch.ch/id/">Registry</a></td> + <td><a href="http://www.switch.ch/id/terms/agb.html#anhang1">Policy</a> (managed by .ch registry)</td> + + </tr> + <tr> + <td>.lt</td> + <td><a href="http://www.domreg.lt/public?pg=&sp=&loc=en">Registry</a></td> + <td><a href="http://www.domreg.lt/public?pg=8A7FB6&sp=idn&loc=en">Policy</a> (<a href="http://www.domreg.lt/static/doc/public/idn_symbols-en.pdf">character list</a>)</td> + + </tr> + <tr> + <td>.museum</td> + <td><a href="http://about.museum/">Registry</a></td> + <td><a href="http://about.museum/idn/idnpolicy.html">Policy</a></td> + </tr> + <tr> + + <td>.no</td> + <td><a href="http://www.norid.no/">Registry</a></td> + <td><a href="http://www.norid.no/domeneregistrering/veiviser.en.html">Policy</a> (section 4)</td> + </tr> + <tr> + <td>.org</td> + + <td><a href="http://www.pir.org/">Registry</a></td> + <td><a href="http://pir.org/PDFs/ORG-Extended-Characters-22-Jan-07.pdf">Policy</a></td> + </tr> + <tr> + <td>.pl</td> + <td><a href="http://www.nask.pl/">Registry</a></td> + <td><a href="http://www.dns.pl/IDN/idn-registration-policy.txt">Policy</a></td> + + </tr> + <tr> + <td>.pr</td> + <td><a href="https://www.nic.pr/">Registry</a></td> + <td><a href="https://www.nic.pr/idn_rules.asp">Policy</a></td> + </tr> + <tr> + + <td>.se</td> + <td><a href="http://www.nic-se.se/">Registry</a></td> + <td><a href="http://www.iis.se/en/domaner/internationaliserad-doman-idn/">Policy</a> (<a href="http://www.iis.se/docs/teckentabell-03.pdf">character list</a>)</td> + </tr> + <tr> + + <td>.sh</td> + <td><a href="http://www.nic.sh">Registry</a></td> + <td><a href="http://www.nic.sh/SH-IDN-Policy.pdf">Policy</a></td> + </tr> + <tr> + <td>.th</td> + <td><a href="http://www.thnic.or.th/">Registry</a></td> + + <td><a href="http://www.iana.org/assignments/idn/th-thai.html">Policy</a></td> + </tr> + <tr> + <td>.tm</td> + <td><a href="http://www.nic.tm">Registry</a></td> + <td><a href="http://www.nic.tm/TM-IDN-Policy.pdf">Policy</a></td> + </tr> + + <tr> + <td>.tw</td> + <td><a href="http://www.twnic.net.tw/">Registry</a></td> + <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> + </tr> + <tr> + + <td>.vn</td> + <td><a href="http://www.vnnic.net.vn/">Registry</a></td> + <td><a href="http://www.vnnic.vn/english/5-6-300-2-2-04-20071115.htm">Policy</a> (<a href="http://vietunicode.sourceforge.net/tcvn6909.pdf">character list</a>)</td> + </tr> + </table> +</p> + +<p> +This criteria will apply to the email address and server host name fields for all certificate types. +</p> + +<p> +The CAcert Inc. Board has the authority to decide to add or remove accepted TLD Registrars on this list. +</p> + +<h3><a name="p3.2" id="p3.2">3.2. Initial Identity Verification</a></h3> + +<p> +Identity verification is controlled by the +<a href="http://svn.cacert.org/CAcert/Policies/AssurancePolicy.html"> +Assurance Policy</a> (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +The reader is refered to the Assurance Policy, +the following is representative and brief only. +</p> + + +<h4><a name="p3.2.1" id="p3.2.1">3.2.1. Method to prove possession of private key</a></h4> + +<p> +CAcert uses industry-standard techniques to +prove the possession of the private key. +</p> + +<p> +For X.509 server certificates, +the stale digital signature of the CSR is verified. +For X.509 client certificates for "Netscape" browsers, +SPKAC uses a challenge-response protocol +to check the private key dynamically. +For X.509 client certificates for "explorer" browsers, +ActiveX uses a challenge-response protocol +to check the private key dynamically. +</p> + +<h4><a name="p3.2.2" id="p3.2.2">3.2.2. Authentication of Individual Identity</a></h4> + +<p> +<b>Agreement.</b> +An Internet user becomes a Member by agreeing to the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>) +and registering an account on the online website. +During the registration process Members are asked to +supply information about themselves: +</p> + <ul> + <li>A valid working email. + </li> + <li>Full Name and Date of Birth such as is + found on Identity documents. + </li> + <li>Personal Questions used only for Password Retrieval.</li> + </ul> + +<p> +The online account establishes the method of authentication +for all service requests such as certificates. +</p> + +<p> +<b>Assurance.</b> +Each Member is assured according to Assurance Policy +(<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<!-- <center><a href="http://xkcd.com/364/"> <img src="http://imgs.xkcd.com/comics/responsible_behavior.png"> </a> </center> --> + + + +<p> +<b>Certificates.</b> +Based on the total number of Assurance Points +that a Member (Name) has, the Member +can get different levels of certificates. +See <a href="#p1.4.5">§1.4.5</a>. +See Table 3.2.b. +When Members have 50 or more points, they +become <i>Assured Members</i> and may then request +certificates that state their Assured Name(s). +</p> + + +<br><br> +<center> + +<table border="1" cellpadding="5"> + <tr> + <th>Assurance Points</th> + <th>Level</th> + <th>Service</th> + <th>Comments</th> + </tr> + <tr> + <td>0</td> + <td>Unassured Member</td> + <td>Anonymous</td> + <td>Certificates with no Name, under Class 1 Root. Limited to 6 months expiry.</td> + </tr> + <tr> + <td>1-49</td> + <td>Unassured Member</td> + <td>Anonymous</td> + <td>Certificates with no Name under Member SubRoot. Limited to 6 months expiry.</td> + </tr> + <tr> + <td rowspan="1">50-99</td> + <td>Assured Member</td> + <td>Verified</td> + <td>Certificates with Verified Name for S/MIME, web servers, "digital signing." + Expiry after 24 months is available.</td> + </tr> + <tr> + <td rowspan="2">100++</td> + <td rowspan="2">Assurer</td> + <td>Code-signing</td> + <td>Can create Code-signing certificates </td> + </tr> +</table> + +<span class="figure">Table 3.2.b - How Assurance Points are used in Certificates</span> + +</center> +<br> + + + +<h4><a name="p3.2.3" id="p3.2.3">3.2.3. Authentication of organization identity</a></h4> + + +<p> +Verification of organisations is delegated by +the Assurance Policy to the +Organisation Assurance Policy +(<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.html">COD11</a>). +The reader is refered to the Organisation Assurance Policy, +the following is representative and brief only. +</p> + +<p> +Organisations present special challenges. +The Assurance process for Organisations is +intended to permit the organisational Name to +appear in certificates. +The process relies heavily on the Individual +process described above. +</p> + +<p> +Organisation Assurance achieves the standard +stated in the OAP, briefly presented here: +</p> + +<ol type="a"><li> + the organisation exists, + </li><li> + the organisation name is correct and consistent, + </li><li> + signing rights: requestor can sign on behalf of the organisation, and + </li><li> + the organisation has agreed to the terms of the + CAcert Community Agreement + (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>), + and is therefore subject to Arbitration. +</li></ol> + + <ul class="error"> + <li> As of the current time of writing, OA lacks critical documentation and there are bugs identified with no response.</li> + <li> <a href="http://wiki.cacert.org/wiki/PolicyDrafts/OrganisationAssurance">documented bugs</a>. </li> + <li> Therefore Organisations will not participate in the current audit cycle of roots. </li> + <li> See <a href="http://wiki.cacert.org/wiki/OrganisationAssurance">wiki</a> for any progress on this. </li> + </ul> + + +<h4><a name="p3.2.4" id="p3.2.4">3.2.4. Non-verified subscriber information</a></h4> + +<p> +All information in the certificate is verified, +see Relying Party Statement, §4.5.2. +</p> + + +<h4><a name="p3.2.5" id="p3.2.5">3.2.5. Validation of authority</a></h4> + +<p> +The authorisation to obtain a certificate is established as follows: +</p> + +<p> +<b>Addresses.</b> +The member claims authority over a domain or email address +when adding the address, <a href="#p4.1.2">§4.1.2</a>. +(Control is tested by means described in <a href="#p4.2.2">§4.2.2</a>.) +</p> + +<p> +<b>Individuals.</b> +The authority to participate as a Member is established +by the CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>). +Assurances are requested by means of the signed CAP form. +</p> + +<p> +<b>Organisations.</b> +The authority for Organisation Assurance is established +in the COAP form, as signed by an authorised representative +of the organisation. +The authority for the +Organisation Administrator +(O-Admin) is also established on the +COAP form. +See Organisation Assurance Policy. +</p> + + +<h4><a name="p3.2.6" id="p3.2.6">3.2.6. Criteria for interoperation</a></h4> + +<p> +CAcert does not currently issue certificates to subordinate CAs +or other PKIs. +Other CAs may become Members, and are then subject to the +same reliance provisions as all Members. +</p> + +<h3><a name="p3.3" id="p3.3">3.3. Re-key Requests</a></h3> + +<p> +Via the Member's account. +</p> + +<h3><a name="p3.4" id="p3.4">3.4. Revocations Requests</a></h3> + +<p> +Via the Member's account. +In the event that the Member has lost the password, +or similar, the Member emails the support team who +either work through the lost-password questions +process or file a dispute. +</p> + + + +<!-- *************************************************************** --> +<h2><a name="p4" id="p4">4. CERTIFICATE LIFE-CYCLE OPERATIONAL REQUIREMENTS</a></h2> + +<p> +The general life-cycle for a new certificate for an Individual Member is: + +<ol><li> + Member adds claim to an address (domain/email). + </li><li> + System probes address for control. + </li><li> + Member creates key pair. + </li><li> + Member submits CSR with desired options (Anonymous Certificate, SSO, Root Certificate) . + </li><li> + System validates and accepts CSR based on + known information: claims, assurance, controls, technicalities. + </li><li> + System signs certificate. + </li><li> + System makes signed certificate available to Member. + </li><li> + Member accepts certificate. +</li></ol> + +</p> + +<p> +(Some steps are not applicable, such as anonymous certificates.) +</p> + + +<h3><a name="p4.1" id="p4.1">4.1. Certificate Application</a></h3> + +<h4><a name="p4.1.1" id="p4.1.1">4.1.1. Who can submit a certificate application</a></h4> + +<p> +Members may submit certificate applications. +On issuance of certificates, Members become Subscribers. +</p> + +<h4><a name="p4.1.2" id="p4.1.2">4.1.2. Adding Addresses</a></h4> + +<p> +The Member can claim ownership or authorised control of +a domain or email address on the online system. +This is a necessary step towards issuing a certificate. +There are these controls: +<ul><li> + The claim of ownership or control is legally significant + and may be referred to dispute resolution. + </li><li> + Each unique address can be handled by one account only. + </li><li> + When the Member makes the claim, + the certificate application system automatically initiates the + check of control, as below. +</li></ul> +</p> + +<h4><a name="p4.1.3" id="p4.1.3">4.1.3. Preparing CSR </a></h4> + +<p> +Members generate their own key-pairs. +The CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>) +obliges the Member as responsible for security. +See CCA2.5, §9.6. +</p> + +<p> +The Certificate Signing Request (CSR) is prepared by the +Member for presentation to the automated system. +</p> + +<h3><a name="p4.2" id="p4.2">4.2. Certificate application processing</a></h3> + +<!-- states what a CA does on receipt of the request --> + +<p> +The CA's certificate application process is completely automated. +Requests, approvals and rejections are handled by the website system. +Each application should be processed in less than a minute. +</p> +<p> +Where certificates are requested for more than one +purpose, the requirements for each purpose must be +fulfilled. +</p> + +<!-- all sub headings in 4.2 are local, not from Chokhani. --> + +<h4><a name="p4.2.1" id="p4.2.1">4.2.1. Authentication </a></h4> + +<p> + The Member logs in to her account on the CAcert website + and thereby authenticates herself with username + and passphrase or with her CAcert client-side digital certificate. +</p> + +<h4><a name="p4.2.2" id="p4.2.2">4.2.2. Verifying Control</a></h4> + +<p> +In principle, at least two controls are placed on each address. +</p> + +<p> +<b><a name="ping">Email-Ping</a>.</b> +Email addresses are verified by means of an +<i><a name="ping">Email-Ping test</a></i>: +</p> + +<ul><li> + The system generates a cookie + (a random, hard-to-guess code) + and formats it as a string. + </li><li> + The system sends the cookie + to the Member in an email. + </li><li> + Once the Member receives the email, + she enters the cookie into the website. + </li><li> + The entry of the code verifies + control of that email account. +</li></ul> + +<p> +<b><a name="email">Email Control</a>.</b> +Email addresses for client certificates are verified by passing the +following checks: +</p> +<ol> + <li>An Email-ping test + is done on the email address. + </li> + <li>The Member must have signed a CAP form or equivalent, + and been awarded at least one Assurance point. + </li> +</ol> + +<p> +<b><a name="domain">Domain Control</a>.</b> +Domains addresses for server certificates are verified by passing two of the +following checks: +</p> +<ol> <li> + An Email-ping test + is done on an email address chosen from <i>whois</i> + or interpolated from the domain name. + </li> <li> + The system generates a cookie + which is then placed in DNS + by the Member. + </li> <li> + The system generates a cookie + which is then placed in HTTP headers or a text file on the website + by the Member. + </li> <li> + Statement by at least 2 Assurers about + ownership/control of the domain name. + </li> <li> + The system generates a cookie + which is then placed in whois registry information + by the Member. +</li> </ol> + +<p> +Notes. +<ul><li> + Other methods can be added from time to time by CAcert. + </li><li> + Static cookies should remain for the duration of a certificate + for occasional re-testing. + </li><li> + Dynamic tests can be repeated at a later time of CAcert's choosing. + </li><li> + Domain control checks may be extended to apply to email control + in the future. +</li></ul> +</p> + + <ul class="q"> + <li> As of the time of writing, only a singular Email-ping is implemented in the technical system. </li> + <li> A further approved check is the 1 pt Assurance. </li> + <li> Practically, this would mean that certificates can only be issued under Audit Roots to Members with 1 point. </li> + <li> Criteria DRC C.7.f, A.2.q, A.2.i indicate registry whois reading. Also A.2.h. </li> + <li> Current view is that this will be resolved in BirdShack. </li> + </ul> + +<h4><a name="p4.2.3" id="p4.2.3">4.2.3. Options Available</a></h4> + +<p> +The Member has options available: +</p> + +<ul> + <li>Each Email address that is verified + is available for Client Certificates. + </li> + <li>Each Domain address that is verified + is available for Server Certificates. + </li> + <li>If the Member is unassured then only the Member SubRoot is available. + </li> + <li>If the Member is Assured then both Assured Member and Member SubRoots + are available. + </li> + <li>If a Name is Assured then it may be + put in a client certificate or an OpenPGP signature. + </li> +</ul> + +<h4><a name="p4.2.4" id="p4.2.4">4.2.4. Client Certificate Procedures</a></h4> + +<p> +For an individual client certificate, the following is required. +<ul> + <li>The email address is claimed and added. </li> + <li>The email address is ping-tested. </li> + <li>For the Member Subroot, the Member must have + at least one point of Assurance and have signed a CAP form.</li> + <li>For the Assured Subroot, the Member must have + at least fifty points of Assurance. </li> + <li>To include a Name, the Name must be assured to at least fifty points. </li> + +</ul> +</p> + +<h4><a name="p4.2.5" id="p4.2.5">4.2.5. Server Certificate Procedures</a></h4> + +<p> +For a server certificate, the following is required: +<ul> + <li>The domain is claimed and added. </li> + <li>The domain is checked twice as above. </li> + <li>For the Member SubRoot, the Member must have + at least one point of Assurance and have signed a CAP form.</li> + <li>For the Assured SubRoot, the Member must have + at least fifty points of Assurance. </li> +</ul> + +</p> + +<h4><a name="p4.2.6" id="p4.2.6">4.2.6. Code-signing Certificate Procedures</a></h4> + +<p> +Code-signing certificates are made available to Assurers only. +They are processed in a similar manner to client certificates. +</p> + +<h4><a name="p4.2.7" id="p4.2.7">4.2.7. Organisation Domain Verification</a></h4> + +<p> +Organisation Domains are handled under the Organisation Assurance Policy +and the Organisation Handbook. +</p> + + <ul class="q"> + <li> As of time of writing, there is no Handbook for Organisation Assurers or for the Organisation, and the policy needs rework; so (audit) roots will not have OA certs .... </li> + <li> <a href="http://wiki.cacert.org/wiki/PolicyDrafts/OrganisationAssurance"> Drafts </a> for ongoing story. </li> + </ul> + +<h3><a name="p4.3" id="p4.3">4.3. Certificate issuance</a></h3> + + +<!-- <a href="http://xkcd.com/153/"> <img align="right" src="http://imgs.xkcd.com/comics/cryptography.png"> </a> --> +<h4><a name="p4.3.1" id="p4.3.1">4.3.1. CA actions during certificate issuance</a></h4> + +<p> +<b>Key Sizes.</b> +Members may request keys of any size permitted by the key algorithm. +Many older hardware devices require small keys. +</p> + +<p> +<b>Algorithms.</b> +CAcert currently only supports the RSA algorithm for X.509 keys. +X.509 signing uses the SHA-1 message digest algorithm. +OpenPGP Signing uses RSA signing over RSA and DSA keys. + +</p> + +<p> +<b>Process for Certificates:</b> +All details in each certificate are verified +by the website issuance system. +Issuance is based on a 'template' system that selects +profiles for certificate lifetime, size, algorithm. +</p> + + +<ol><li> + The CSR is verified. + </li><li> + Data is extracted from CSR and verified: + <ul> + <li> Name §3.1, </li> + <li> Email address <a href="#p4.2.2">§4.2.2</a>, </li> + <li> Domain address <a href="#p4.2.2">§4.2.2</a>. </li> + </ul> + </li><li> + Certificate is generated from template. + </li><li> + Data is copied from CSR. + </li><li> + Certificate is signed. + </li><li> + Certificate is stored as well as mailed. +</li></ol> + + +<p> +<b>Process for OpenPGP key signatures:</b> +All details in each Sub-ID are verified +by the website issuance system. +Issuance is based on the configuration that selects +the profile for signature lifetime, size, +algorithm following the process: +</p> + +<ol><li> + The public key is verified. + </li><li> + Data is extracted from the key and verified (Name, Emails). + Only the combinations of data in Table 4.3.1 are permitted. + </li><li> + OpenPGP Key Signature is generated. + </li><li> + Key Signature is applied to the key. + </li><li> + The signed key is stored as well as mailed. +</li></ol> + +<center> +<table border="1" align="center" valign="top" cellpadding="5"><tbody> + <tr> + <td><br></td> + <td>Verified Name</td> + <td valign="top">Unverified Name<br></td> + <td>Empty Name<br></td> + </tr> + <tr> + <td>Verified email<br></td> + <td><center> <font title="pass." color="green" size="+3"> ✔ </font> </center></td> + <td valign="top"><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td> + <td><center> <font title="pass." color="green" size="+3"> ✔ </font> </center></td> + </tr> + <tr> + <td>Unverified email</td> + <td><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td> + <td valign="top"><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td> + <td><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td></tr><tr><td valign="top">Empty email<br></td> + <td valign="top"><center> <font title="pass." color="green" size="+3"> ✔ </font> </center></td> + <td valign="top"><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td> + <td valign="top"><center> <font title="pass." color="red" size="+3"> ✘ </font> </center></td> + </tr> +</tbody></table><br> + +<span class="figure">Table 4.3.1. Permitted Data in Signed OpenPgp Keys</span> +</center> + +<h4><a name="p4.3.2" id="p4.3.2">4.3.2. Notification to subscriber by the CA of issuance of certificate</a></h4> + +<p> +Once signed, the certificate is +made available via the Member's account, +and emailed to the Member. +It is also archived internally. +</p> + +<h3><a name="p4.4" id="p4.4">4.4. Certificate acceptance</a></h3> + +<h4><a name="p4.4.1" id="p4.4.1">4.4.1. Conduct constituting certificate acceptance</a></h4> + +<p> +There is no need for the Member to explicitly accept the certificate. +In case the Member does not accept the certificate, +the certificate has to be revoked and made again. +</p> + +<h4><a name="p4.4.2" id="p4.4.2">4.4.2. Publication of the certificate by the CA</a></h4> + +<p> +CAcert does not currently publish the issued certificates +in any repository. +In the event that CAcert will run a repository, +the publication of certificates and signatures +there will be at the Member's options. +However note that certificates that are issued +and delivered to the Member are presumed to be +published. See §2.2. +</p> + +<h4><a name="p4.4.3" id="p4.4.3">4.4.3. Notification of certificate issuance by the CA to other entities</a></h4> + +<p> +There are no external entities that are notified about issued certificates. +</p> + +<h3><a name="p4.5" id="p4.5">4.5. Key pair and certificate usage</a></h3> + +<p> +All Members (subscribers and relying parties) +are obliged according to the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>) +See especially 2.3 through 2.5. +</p> +<h4><a name="p4.5.1" id="p4.5.1">4.5.1. Subscriber Usage and Responsibilities</a></h4> + +<p> +Subscribers should use keys only for their proper purpose, +as indicated by the certificate, or by wider agreement with +others. +</p> + +<h4><a name="p4.5.2" id="p4.5.2">4.5.2. Relying Party Usage and Responsibilities</a></h4> + + +<p> +Relying parties (Members) may rely on the following. +</p> + +<center> + <table border="1" cellpadding="25"><tr><td> + <p align="center"> + <big><b>Relying Party Statement</b></big> + <p> + Certificates are issued to Members only.<br><br> + All information in a certificate is verified. + </p> + </td></tr></table> +</center> + + +<p> +The following notes are in addition to the Relying Party Statement, +and can be seen as limitations on it. +</p> + +<h5>4.5.2.a Methods of Verification </h5> +<p> +The term Verification as used in the Relying Party Statement means one of +</p> +<table border="1" cellpadding="5"><tr> + <th>Type</th><th>How</th><th>Authority</th><th>remarks</th> +</tr><tr> + <th>Assurance</th><td>under CAcert Assurance Programme (CAP)</td> + <td>Assurance Policy</td> + <td>only information assured to 50 points under CAP is placed in the certificate </td> +</tr><tr> + <th>Evaluation</th><td>under automated domain and email checks </td> + <td>this CPS</td> + <td>see §4.2.2</td> +</tr><tr> + <th>Controlled</th><td>programs or "profiles" that check the information within the CSR </td> + <td>this CPS</td> + <td>see §7.1</td> +</tr></table> + +<h5>4.5.2.b Who may rely</h5> +<p> +<b>Members may rely.</b> +Relying parties are Members, +and as such are bound by this CPS and the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>). +The licence and permission to rely is not assignable. +</p> + +<p> +<b>Suppliers of Software.</b> +CAcert roots may be distributed in software, +and those providers may +enter into agreement with CAcert by means of the +Third Party Vendor - Disclaimer and Licence +(wip). +This licence brings the supplier in to the Community +to the extent that <span class="q"> ...WIP comment:</span> +they agree to dispute resolution +within CAcert's forum. +</p> + + <ul class="q"> + <li> Just exactly what the 3PV-DaL says is unclear.</li> + <li> The document itself is more a collection of ideas.</li> + </ul> + + +<p> +<b>NRPs may not rely.</b> +If not related to CAcert by means of an agreement +that binds the parties to dispute resolution within CAcert's forum, +a person is a Non-Related-Person (NRP). +An NRP is not permitted to rely and is not a Relying Party. +For more details, see the +NRP - Disclaimer and Licence (<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>). +</p> + +<h5>4.5.2.c The Act of Reliance </h5> + +<p> +<b>Decision making.</b> +Reliance means taking a decision that is in part or in whole +based on the information in the certificate. + +A Relying Party may incorporate +the information in the certificate, +and the implied information such as Membership, +into her decision-making. +In making a decision, +a Relying Party should also: +</p> + +<ul><li> + include her own overall risk equation, + </li><li> + include the general limitations of the Assurance process, + certificates, and wider security considerations, + </li><li> + make additional checks to provide more information, + </li><li> + consider any wider agreement with the other Member, and + </li><li> + use an appropriate protocol or custom of reliance (below). +</li></ul> + +<p> +<b>Examining the Certificate.</b> +A Relying Party must make her own decision in using +each certificate. She must examine the certificate, +a process called <i>validation</i>. +Certificate-related information includes, +but is not limited to: +</p> +<ul><li> + Name, + </li><li> + expiry time of certificate, + </li><li> + current certificate revocation list (CRL), + </li><li> + certificate chain and + the validity check of the certificates in the chain, + </li><li> + issuer of certificate (CAcert), + </li><li> + SubRoot is intended for reliance (Assured, Organisation and Class 3) + </li><li> + purpose of certificate. +</li></ul> + +<p> +<b>Keeping Records.</b> +Records should be kept, appropriate to the import of the decision. +The certificate should be preserved. +This should include sufficient +evidence to establish who the parties are +(especially, the certificate relied upon), +to establish the transaction in question, +and to establish the wider agreement that +defines the act. +</p> + +<p> +<b>Wider Protocol.</b> +In principle, reliance will be part of a wider protocol +(customary method in reaching and preserving agreement) +that presents and preserves sufficient of the evidence +for dispute resolution under CAcert's forum of Arbitration. +The protocol should be agreed amongst the parties, +and tuned to the needs. +This CPS does not define any such protocol. +In the absence of such a protocol, reliance will be weakened; +a dispute without sufficient evidence may be dismissed by an Arbitrator. +</p> + +<p> +<b>As Compared to Usage</b>. +Reliance goes beyond Usage. The latter is limited to +letting the software act as the total and only Validation +Authority. When relying, the Member also augments +the algorithmic processing of the software with her own +checks of the business, technical and certificate aspect. +</p> + +<h5>4.5.2.d Risks and Limitations of Reliance </h5> +<p> +<b>Roots and Naming.</b> +Where the Class 1 root is used, +this Subscriber may be a new Member +including one with zero points. +Where the Name is not provided, +this indicates it is not available. +In these circumstances, +reliance is not defined, +and Relying parties should take more care. +See Table 4.5.2. +</p> + +<center> +<table border="1" cellpadding="5"> + <tr> + <td></td> + <td colspan="4"><center><i>Statements of Reliance for Members</center></i></td> + </tr> + <tr> + <td><i>Class of Root</i></td> + <td><center><b>Anonymous</b><br>(all Members)</center></td> + <td><center><b>Named</b><br>(Assured Members only)</center></td> + </tr> + <tr> + <td><center>Class<br><big><b>1</b></big></center></td> + <td rowspan="2" bgcolor="red"> + <b>Do not rely.</b><BR> + Relying party must use other methods to check. </td> + <td rowspan="2" bgcolor="orange"> + Do not rely. + Although the named Member has been Assured by CAcert, + reliance is not defined with Class 1 root.<BR> + (issued for compatibility only).</td> + </tr> + <tr> + <td><center><big><b>Member</b></big><br>SubRoot</center></td> + </tr> + <tr> + <td><center>Class<br><big><b>3</b></big></center></td> + <td rowspan="2" bgcolor="orange"> + Do not rely on the Name (being available). + The Member has been Assured by CAcert, + but reliance is undefined.</td> + <td rowspan="2"> + The Member named in the certificate has been Assured by CAcert.</td> + </tr> + <tr> + <td><center><big><b>Assured</b></big><br>SubRoot</center></td> + </tr> +</table> + +<span class="figure">Table 4.5.2. Statements of Reliance</span> +</center> + +<p> +<b>Software Agent.</b> +When relying on a certificate, relying parties should +note that your software is responsible for the way it +shows you the information in a certificate. +If your software agent hides parts of the information, +your sole remedy may be to choose another software agent. +</p> + +<p> +<b>Malware.</b> +When relying on a certificate, relying parties should +note that platforms that are vulnerable to viruses or +trojans or other weaknesses may not process any certificates +properly and may give deceptive or fraudulent results. +It is your responsibility to ensure you are using a platform +that is secured according to the needs of the application. +</p> + +<h5>4.5.2.e When something goes wrong </h5> +<p> +In the event that an issue arises out of the Member's reliance, +her sole avenue is <b>to file dispute under DRP</b>. +See <a href="#p9.13">§9.13</a>. +<!-- DRC_A§A.4.d --> +For this purpose, the certificate (and other evidence) should be preserved. +</p> + +<p> +<b>Which person?</b> +Members may install certificates for other individuals or in servers, +but the Member to whom the certificate is issued +remains the responsible person. +E.g., under Organisation Assurance, an organisation is issued +a certificate for the use by individuals +or servers within that organisation, +but the Organisation is the responsible person. +</p> + +<!-- <a href="http://xkcd.com/424/"> <img align="right" src="http://imgs.xkcd.com/comics/security_holes.png"> </a> --> +<p> +<b>Software Agent.</b> +If a Member is relying on a CAcert root embedded in +the software as supplied by a vendor, +the risks, liabilities and obligations of the Member +do not automatically transfer to the vendor. +</p> + +<h3><a name="p4.6" id="p4.6">4.6. Certificate renewal</a></h3> + +<p> +A certificate can be renewed at any time. +The procedure of certificate renewal is the same +as for the initial certificate issuance. +</p> + +<h3><a name="p4.7" id="p4.7">4.7. Certificate re-key</a></h3> + +<p> +Certificate "re-keyings" are not offered nor supported. +A new certificate with a new key has to be requested and issued instead, +and the old one revoked. +</p> + +<h3><a name="p4.8" id="p4.8">4.8. Certificate modification</a></h3> + +<p> +Certificate "modifications" are not offered nor supported. +A new certificate has to be requested and issued instead. +</p> + +<h3><a name="p4.9" id="p4.9">4.9. Certificate revocation and suspension</a></h3> + +<h4><a name="p4.9.1" id="p4.9.1">4.9.1. Circumstances for revocation</a></h4> +<p> +Certificates may be revoked under the following circumstances: +</p> + +<ol><li> + As initiated by the Subscriber through her online account. + </li><li> + As initiated in an emergency action by a + support team member. + Such action will immediately be referred to dispute resolution + for ratification. + </li><li> + Under direction from the Arbitrator in a duly ordered ruling + from a filed dispute. +</li></ol> + +<p> +These are the only three circumstances under which a +revocation occurs. +</p> + +<h4><a name="p4.9.2" id="p4.9.2">4.9.2. Who can request revocation</a></h4> + +<p> +As above. +</p> + +<h4><a name="p4.9.3" id="p4.9.3">4.9.3. Procedure for revocation request</a></h4> +<p> +The Subscriber logs in to her online account through +the website at http://www.cacert.org/ . +</p> + +<p> +In any other event such as lost passwords or fraud, +a dispute should be filed +by email at + < support AT cacert DOT org > +</p> + +<h4><a name="p4.9.4" id="p4.9.4">4.9.4. Revocation request grace period</a></h4> + +<p>No stipulation.</p> + +<h4><a name="p4.9.5" id="p4.9.5">4.9.5. Time within which CA must process the revocation request</a></h4> + +<p> +The revocation automated in the Web Interface for subscribers, +and is handled generally in less than a minute. +</p> + +<p> +A filed dispute that requests a revocation should be handled +within a five business days, however the Arbitrator has discretion. +</p> + +<h4><a name="p4.9.6" id="p4.9.6">4.9.6. Revocation checking requirement for relying parties</a></h4> + +<p> +Each revoked certificate is recorded in the +certificate revocation list (CRL). +Relying Parties must check a certificate against +the most recent CRL issued, in order to validate +the certificate for the intended reliance. +</p> + +<h4><a name="p4.9.7" id="p4.9.7">4.9.7. CRL issuance frequency (if applicable)</a></h4> + +<p> +A new CRL is issued after every certificate revocation. +</p> + +<h4><a name="p4.9.8" id="p4.9.8">4.9.8. Maximum latency for CRLs (if applicable)</a></h4> + +<p> +The maximum latency between revocation and issuance of the CRL is 1 hour. +</p> + +<h4><a name="p4.9.9" id="p4.9.9">4.9.9. On-line revocation/status checking availability</a></h4> + +<p> +OCSP is available at +http://ocsp.cacert.org/ . +</p> + +<h4><a name="p4.9.10" id="p4.9.10">4.9.10. On-line revocation checking requirements</a></h4> +<p> +Relying parties must check up-to-date status before relying. +</p> + +<h4><a name="p4.9.11" id="p4.9.11">4.9.11. Other forms of revocation advertisements available</a></h4> +<p> +None. +</p> + +<h4><a name="p4.9.12" id="p4.9.12">4.9.12. Special requirements re key compromise</a></h4> +<p> +Subscribers are obliged to revoke certificates at the earliest opportunity. +</p> + +<h4><a name="p4.9.13" id="p4.9.13">4.9.13. Circumstances for suspension</a></h4> + +<p> +Suspension of certificates is not available. +</p> + +<h4><a name="p4.9.14" id="p4.9.14">4.9.14. Who can request suspension</a></h4> +<p> +Not applicable. +</p> + +<h4><a name="p4.9.15" id="p4.9.15">4.9.15. Procedure for suspension request</a></h4> +<p> +Not applicable. +</p> + +<h4><a name="p4.9.16" id="p4.9.16">4.9.16. Limits on suspension period</a></h4> +<p> +Not applicable. +</p> + + + +<h3><a name="p4.10" id="p4.10">4.10. Certificate status services</a></h3> + +<h4><a name="p4.10.1" id="p4.10.1">4.10.1. Operational characteristics</a></h4> +<p> +OCSP is available +at http://ocsp.cacert.org/ . +</p> + +<h4><a name="p4.10.2" id="p4.10.2">4.10.2. Service availability</a></h4> + +<p> +OCSP is made available on an experimental basis. +</p> + +<h4><a name="p4.10.3" id="p4.10.3">4.10.3. Optional features</a></h4> + +<p> +No stipulation. +</p> + +<h3><a name="p4.11" id="p4.11">4.11. End of subscription</a></h3> + +<p> +Certificates include expiry dates. +</p> + +<h3><a name="p4.12" id="p4.12">4.12. Key escrow and recovery</a></h3> + +<h4><a name="p4.12.1" id="p4.12.1">4.12.1. Key escrow and recovery policy and practices</a></h4> + +<p> +CAcert does not generate nor escrow subscriber keys. +</p> + +<h4><a name="p4.12.2" id="p4.12.2">4.12.2. Session key encapsulation and recovery policy and practices</a></h4> + +<p> +No stipulation. +</p> + + + +<!-- *************************************************************** --> +<h2><a name="p5" id="p5">5. FACILITY, MANAGEMENT, AND OPERATIONAL CONTROLS</a></h2> + +<!-- <a href="http://xkcd.com/87/"> <img align="right" src="http://imgs.xkcd.com/comics/velociraptors.jpg"> </a> --> + +<h3><a name="p5.1" id="p5.1">5.1. Physical controls</a></h3> + +<p> +Refer to Security Policy (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +<ul><li> + Site location and construction - SP2.1 + </li><li> + Physical access - SP2.3 +</li></ul> +</p> + + +<h4><a name="p5.1.3" id="p5.1.3">5.1.3. Power and air conditioning</a></h4> +<p> +Refer to Security Policy 2.1.2 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +</p> +<h4><a name="p5.1.4" id="p5.1.4">5.1.4. Water exposures</a></h4> +<p> +Refer to Security Policy 2.1.4 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +</p> +<h4><a name="p5.1.5" id="p5.1.5">5.1.5. Fire prevention and protection</a></h4> +<p> +Refer to Security Policy 2.1.4 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +</p> +<h4><a name="p5.1.6" id="p5.1.6">5.1.6. Media storage</a></h4> +<p> +Refer to Security Policy 4.3 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +</p> +<h4><a name="p5.1.7" id="p5.1.7">5.1.7. Waste disposal</a></h4> +<p> +No stipulation. +</p> +<h4><a name="p5.1.8" id="p5.1.8">5.1.8. Off-site backup</a></h4> +<p> +Refer to Security Policy 4.3 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) +</p> + +<h3><a name="p5.2" id="p5.2">5.2. Procedural controls</a></h3> + +<h4><a name="p5.2.1" id="p5.2.1">5.2.1. Trusted roles</a></h4> + +<ul> + <li><b> Technical teams:</b> + <ul> + <li>User support personnel</li> + <li>Systems Administrators -- critical and non-critical</li> + <li>Softare Developers</li> + <li>controllers of keys</li> + </ul> + Refer to Security Policy 9.1 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>) + + </li> + + <li><b>Assurance:</b> + <ul> + <li>Assurers</li> + <li> Any others authorised under COD13 </li> + </ul> + Refer to Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>) + </li> + + <li><b>Governance:</b> + <ul> + <li>Directors (members of the CAcert Inc. committee, or "Board") </li> + <li>Internal Auditor</li> + <li>Arbitrator</li> + </ul> + </li> +</ul> + + +<h4><a name="p5.2.2" id="p5.2.2">5.2.2. Number of persons required per task</a></h4> +<p> +CAcert operates to the principles of <i>four eyes</i> and <i>dual control</i>. +All important roles require a minimum of two persons. +The people may be tasked to operate +with an additional person observing (<i>four eyes</i>), +or with two persons controlling (<i>dual control</i>). +</p> + +<h4><a name="p5.2.3" id="p5.2.3">5.2.3. Identification and authentication for each role</a></h4> + +<p> +All important roles are generally required to be assured +at least to the level of Assurer, as per AP. +Refer to Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<p> +<b>Technical.</b> +Refer to Security Policy 9.1 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>). +</p> + +<h4><a name="p5.2.4" id="p5.2.4">5.2.4. Roles requiring separation of duties</a></h4> + +<p> +Roles strive in general for separation of duties, either along the lines of +<i>four eyes principle</i> or <i>dual control</i>. +</p> + +<h3><a name="p5.3" id="p5.3">5.3. Personnel controls</a></h3> + +<h4><a name="p5.3.1" id="p5.3.1">5.3.1. Qualifications, experience, and clearance requirements</a></h4> + +<center> +<table border="1" cellpadding="5"> + <tr> + <td><b>Role</b></td> <td><b>Policy</b></td> <td><b>Comments</b></td> + </tr><tr> + <td>Assurer</td> + <td><a href="http://www.cacert.org/policy/AssurancePolicy.html"> COD13</td> + <td> + Passes Challenge, Assured to 100 points. + </td> + </tr><tr> + <td>Organisation Assurer</td> + <td><a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.html">COD11</a></td> + <td> + Trained and tested by two supervising OAs. + </td> + </tr><tr> + <td>Technical</td> + <td>SM => COD08</td> + <td> + Teams responsible for testing. + </td> + </tr><tr> + <td>Arbitrator</td> + <td><a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html">COD7</a></td> + <td> + Experienced Assurers. + </td> + </tr> +</table> + +<span class="figure">Table 5.3.1. Controls on Roles</span> +</center> + + +<h4><a name="p5.3.2" id="p5.3.2">5.3.2. Background check procedures</a></h4> + +<p> +Refer to Security Policy 9.1.3 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>). +</p> +<!-- <a href="http://xkcd.com/538/"> <img align="right" src="http://imgs.xkcd.com/comics/security.png"> </a> --> + +<h4><a name="p5.3.3" id="p5.3.3">5.3.3. Training requirements</a></h4> +<p>No stipulation.</p> +<h4><a name="p5.3.4" id="p5.3.4">5.3.4. Retraining frequency and requirements</a></h4> +<p>No stipulation.</p> + +<h4><a name="p5.3.5" id="p5.3.5">5.3.5. Job rotation frequency and sequence</a></h4> +<p>No stipulation.</p> + +<h4><a name="p5.3.6" id="p5.3.6">5.3.6. Sanctions for unauthorized actions</a></h4> +<p> +Any actions that are questionable +- whether uncertain or grossly negligent - +may be filed as a dispute. +The Arbitrator has wide discretion in +ruling on loss of points, retraining, +or termination of access or status. +Refer to DRP. +</p> + +<h4><a name="p5.3.7" id="p5.3.7">5.3.7. Independent contractor requirements</a></h4> +<p>No stipulation.</p> + +<h4><a name="p5.3.8" id="p5.3.8">5.3.8. Documentation supplied to personnel</a></h4> +<p>No stipulation.</p> + +<h3><a name="p5.4" id="p5.4">5.4. Audit logging procedures</a></h3> + +<p> +Refer to Security Policy 4.2, 5 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>). +</p> + +<h3><a name="p5.5" id="p5.5">5.5. Records archival</a></h3> +<p> +The standard retention period is 7 years. +Once archived, records can only be obtained and verified +by means of a filed dispute. +Following types of records are archived: +</p> + +<center> +<table border="1" cellpadding="5"> + <tr> + <td><b>Record</b></td> + <td><b>Nature</b></td> + <td><b>Exceptions</b></td> + <td><b>Documentation</b></td> + </tr> + <tr> + <td>Member</td> + <td>username, primary and added addresses, security questions, Date of Birth</td> + <td>resigned non-subscribers: 0 years.</td> + <td>Security Policy and Privacy Policy</td> + </tr> + <tr> + <td>Assurance</td> + <td>CAP forms</td> + <td>"at least 7 years."<br> as per subsidiary policies</td> + <td>Assurance Policy 4.5</td> + </tr> + <tr> + <td>Organisation Assurance</td> + <td>COAP forms</td> + <td>as per subsidiary policies</td> + <td>Organisation Assurance Policy</td> + </tr> + <tr> + <td>certificates and revocations</td> + <td> for reliance </td> + <td> 7 years after termination </td> + <td>this CPS</td> + </tr> + <tr> + <td>critical roles</td> + <td>background check worksheets</td> + <td>under direct Arbitrator control</td> + <td>Security Policy 9.1.3</td> + </tr> +</table> + +<span class="figure">Table 5.5. Documents and Retention </span> +</center> + + +<h3><a name="p5.6" id="p5.6">5.6. Key changeover</a></h3> + +<p> +Refer to Security Policy 9.2 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>). +</p> + +<h3><a name="p5.7" id="p5.7">5.7. Compromise and disaster recovery</a></h3> + +<p> +Refer to Security Policy 5, 6 (<a href="http://svn.cacert.org/CAcert/Policies/SecurityPolicy.html">COD8</a>). +(Refer to <a href="#p1.4">§1.4</a> for limitations to service.) +</p> + +</p> + +<h3><a name="p5.8" id="p5.8">5.8. CA or RA termination</a></h3> + +<h4><a name="p5.8.1" id="p5.8.1">5.8.1 CA termination</a></h4> + + +<p> +<s> +If CAcert should terminate its operation or be +taken over by another organisation, the actions +will be conducted according to a plan approved +by the CAcert Inc. Board. +</s> +</p> + +<p> +In the event of operational termination, the +Roots (including SubRoots) +and all private Member information will be secured. +The Roots will be handed over to a responsible +party for the sole purpose of issuing revocations. +Member information will be securely destroyed. +</p> + +<span class="change"> +<p> +The CA cannot be transferrred to another organisation. +</p> +</span> + +<p> +<s> +In the event of takeover, +the Board will decide if it is in the interest +of the Members to be converted to the +new organisation. +Members will be notified about the conversion +and transfer of the Member information. +Such takeover, conversion or transfer may involve termination +of this CPS and other documents. +See §9.10.2. +Members will have reasonable time in which to file a related +dispute after notification +(at least one month). +See §9.13. +</s> +</p> +<s> + <ul class="error"> + <li> The ability to transfer is not given in any of CCA, PP or AP! </li> + <li> The Board does not have the power to terminate a policy, that is the role of policy group! </li> + <li> The right to transfer was against the principles of the CAcert? </li> + <li> Check Association Statutes.... </li> + </ul> +</s> + +<span class="change"> +<s> +<p> +New root keys and certificates will be made available +by the new organisation as soon as reasonably practical. +</p> +</s> +</span> + +<h4><a name="p5.8.2" id="p5.8.2">5.8.2 RA termination</a></h4> + +<p> +When an Assurer desires to voluntarily terminates +her responsibilities, she does this by filing a dispute, +and following the instructions of the Arbitrator. +</p> + +<p> +In the case of involuntary termination, the process is +the same, save for some other party filing the dispute. +</p> + + + + + +<!-- *************************************************************** --> +<h2><a name="p6" id="p6">6. TECHNICAL SECURITY CONTROLS</a></h2> + + +<!-- <a href="http://xkcd.com/221/"> <img align="right" src="http://imgs.xkcd.com/comics/random_number.png"> </a> --> + +<h3><a name="p6.1" id="p6.1">6.1. Key Pair Generation and Installation</a></h3> + +<h4><a name="p6.1.1" id="p6.1.1">6.1.1. Key Pair Generation</a></h4> + +<p> +Subscribers generate their own Key Pairs. +</p> + +<h4><a name="p6.1.2" id="p6.1.2">6.1.2. Subscriber Private key security</a></h4> + +<p> +There is no technical stipulation on how Subscribers generate +and keep safe their private keys, +however, CCA 2.5 provides for general security obligations. +See <a href="#p9.6">§9.6</a>. +</p> + +<h4><a name="p6.1.3" id="p6.1.3">6.1.3. Public Key Delivery to Certificate Issuer</a></h4> + +<p> +Members login to their online account. +Public Keys are delivered by cut-and-pasting +them into the appropriate window. +Public Keys are delivered in signed-CSR form +for X.509 and in self-signed form for OpenPGP. +</p> + +<h4><a name="p6.1.4" id="p6.1.4">6.1.4. CA Public Key delivery to Relying Parties</a></h4> + +<p> +The CA root certificates are distributed by these means: +</p> + +<ul><li> + Published on the website of CAcert, + in both HTTP and HTTPS. + </li><li> + Included in Third-Party Software such as + Browsers, Email-Clients. + Such suppliers are subject to the Third Party Vendor Agreement. +</li></ul> + +<p class="q"> Third Party Vendor Agreement is early wip, only </p> + +<h4><a name="p6.1.5" id="p6.1.5">6.1.5. Key sizes</a></h4> + +<p> +No limitation is placed on Subscriber key sizes. +</p> + +<p> +CAcert X.509 root and intermediate keys are currently 4096 bits. +X.509 roots use RSA and sign with the SHA-1 message digest algorithm. +See <a href="#p4.3.1">§4.3.1</a>. +</p> + +<p> +OpenPGP Signing uses both RSA and DSA (1024 bits). +</p> + +<p> +CAcert adds larger keys and hashes +in line with general cryptographic trends, +and as supported by major software suppliers. +</p> + + <ul class="q"> + <li> old Class 3 SubRoot is signed with MD5 </li> + <li> likely this will clash with future plans of vendors to drop acceptance of MD5</li> + <li> Is this a concern? </li> + <li> to users who have these certs, a lot? </li> + <li> to audit, not much? </li> + </ul> + + +<h4><a name="p6.1.6" id="p6.1.6">6.1.6. Public key parameters generation and quality checking</a></h4> + +<p> +No stipulation. +</p> + +<h4><a name="p6.1.7" id="p6.1.7">6.1.7. Key Usage Purposes</a></h4> + + + <ul class="q"> + <li> This section probably needs to detail the key usage bits in the certs. </li> + </ul> + + +<p> +CAcert roots are general purpose. +Each root key may sign all of the general purposes +- client, server, code. +</p> + +<p> +The website controls the usage purposes that may be signed. +This is effected by means of the 'template' system. +</p> + + + +<!-- <a href="http://xkcd.com/257/"> <img align="right" src="http://imgs.xkcd.com/comics/code_talkers.png"> </a> --> + +<h3><a name="p6.2" id="p6.2">6.2. Private Key Protection and Cryptographic Module Engineering Controls</a></h3> + + + + +<h4><a name="p6.2.1" id="p6.2.1">6.2.1. Cryptographic module standards and controls</a></h4> + +<p> +SubRoot keys are stored on a single machine which acts +as a Cryptographic Module, or <i>signing server</i>. +It operates a single daemon for signing only. +The signing server has these security features: +</p> + +<ul><li> + It is connected only by one + dedicated (serial USB) link + to the online account server. + It is not connected to the network, + nor to any internal LAN (ethernet), + nor to a console switch. + </li><li> + The protocol over the dedicated link is a custom, simple + request protocol that only handles certificate signing requests. + </li><li> + The daemon is designed not to reveal the key. + </li><li> + The daemon incorporates a dead-man switch that monitors + the one webserver machine that requests access. + </li><li> + The daemon shuts down if a bad request is detected. + </li><li> + The daemon resides on an encrypted partition. + </li><li> + The signing server can only be (re)started with direct + systems administration access. + </li><li> + Physical Access to the signing server is under dual control. +</li></ul> + +<p> +See §5. and the Security Policy 9.3.1. +</p> + +<p> +(Hardware-based, commercial and standards-based cryptographic +modules have been tried and tested, and similar have been tested, +but have been found wanting, e.g., for short key lengths and +power restrictions.) +</p> + +<ol class="q"><li> + What document is responsible for architecture? CPS? SM? + <a href="http://www.cacert.org/help.php?id=7">website</a>? + SM punts it to CPS, so above stays. + </li><li> + There is no criteria on Architecture. + </li><li> + Old questions moved to SM. + </li><li> + See + <a href="http://www.cacert.org/help.php?id=7"> + CAcert Root key protection</a> which should be deprecated by this CPS. +</li></ol> + + +<h3><a name="p6.3" id="p6.3">6.3. Other aspects of key pair management</a></h3> +<h4><a name="p6.3.1" id="p6.3.1">6.3.1. Public key archival</a></h4> + +<p> +Subscriber certificates, including public keys, +are stored in the database backing the online system. +They are not made available in a public- or subscriber-accessible +archive, see §2. +They are backed-up by CAcert's normal backup procedure, +but their availability is a subscriber responsibility. +</p> + +<h4><a name="p6.3.2" id="p6.3.2">6.3.2. Certificate operational periods and key pair usage periods</a></h4> + +<p> +The operational period of a certificate and its key pair +depends on the Assurance status of the Member, +see <a href="#p1.4.5">§1.4.5</a> and Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<p> +The CAcert (top-level) Root certificate +has a 30 year expiry. +SubRoots have 10 years, and are to be rolled over more quickly. +The keysize of the root certificates are chosen +in order to ensure an optimum security to CAcert +Members based on current recommendations from the +<a href="http://www.keylength.com/">cryptographic community</a> +and maximum limits in generally available software. +At time of writing this is 4096 bits. +</p> + +<h3><a name="p6.4" id="p6.4">6.4. Activation data</a></h3> +<p> No stipulation. </p> + +<h3><a name="p6.5" id="p6.5">6.5. Computer security controls</a></h3> +<p> +Refer to Security Policy. +</p> + +<h3><a name="p6.6" id="p6.6">6.6. Life cycle technical controls</a></h3> +<p> +Refer to SM7 "Software Development". +</p> + +<h3><a name="p6.7" id="p6.7">6.7. Network security controls</a></h3> +<p> +Refer to SM3.1 "Logical Security - Network". +</p> + +<h3><a name="p6.8" id="p6.8">6.8. Time-stamping</a></h3> +<p> +Each server synchronises with NTP. +No "timestamping" service is currently offered. +</p> + + <ul class="q"> + <li> How does the signing server syncronise if only connected over serial?</li> + <li> How is timestamping done on records?</li> + </ul> + + + + +<!-- *************************************************************** --> +<h2><a name="p7" id="p7">7. CERTIFICATE, CRL, AND OCSP PROFILES</a></h2> + +<p> +CAcert defines all the meanings, semantics and profiles +applicable to issuance of certificates and signatures +in its policies, handbooks and other documents. +Meanings that may be written in external standards or documents +or found in wider conventions are not +incorporated, are not used by CAcert, and must not be implied +by the Member or the Non-related Person. +</p> + +<h3><a name="p7.1" id="p7.1">7.1. Certificate profile</a></h3> +<h4><a name="p7.1.1" id="p7.1.1">7.1.1. Version number(s)</a></h4> +<p class="q"> What versions of PGP are signed? v3? v4? </p> + +<p> +Issued X.509 certificates are of v3 form. +The form of the PGP signatures depends on several factors, therefore no stipulation. +</p> + +<h4><a name="p7.1.2" id="p7.1.2">7.1.2. Certificate extensions</a></h4> + +<p> + Client certificates include the following extensions: +</p> +<ul> + <li>basicConstraints=CA:FALSE (critical)</li> + <li>keyUsage=digitalSignature,keyEncipherment,keyAgreement (critical)</li> + <li>extendedKeyUsage=emailProtection,clientAuth,msEFS,msSGC,nsSGC</li> + <li>authorityInfoAccess = OCSP;URI:http://ocsp.cacert.org</li> + <li>crlDistributionPoints=URI:<crlUri> where <crlUri> is replaced + with the URI where the certificate revocation list relating to the + certificate is found</li> + <li>subjectAltName=(as per <a href="#p3.1.1">§3.1.1.</a>).</li> +</ul> + <ul class="q"> + <li> what about Client Certificates Adobe Signing extensions ?</li> + <li> SubjectAltName should become critical if DN is removed http://tools.ietf.org/html/rfc5280#section-4.2.1.6</li> + </ul> + +<p> + Server certificates include the following extensions: +</p> +<ul> + <li>basicConstraints=CA:FALSE (critical)</li> + <li>keyUsage=digitalSignature,keyEncipherment,keyAgreement (critical)</li> + <li>extendedKeyUsage=clientAuth,serverAuth,nsSGC,msSGC</li> + <li>authorityInfoAccess = OCSP;URI:http://ocsp.cacert.org</li> + <li>crlDistributionPoints=URI:<crlUri> where <crlUri> is replaced + with the URI where the certificate revocation list relating to the + certificate is found</li> + <li>subjectAltName=(as per <a href="#p3.1.1">§3.1.1.</a>).</li> +</ul> + +<p> + Code-Signing certificates include the following extensions: +</p> +<ul> + <li>basicConstraints=CA:FALSE (critical)</li> + <li>keyUsage=digitalSignature,keyEncipherment,keyAgreement (critical)</li> + <li>extendedKeyUsage=emailProtection,clientAuth,codeSigning,msCodeInd,msCodeCom,msEFS,msSGC,nsSGC</li> + <li>authorityInfoAccess = OCSP;URI:http://ocsp.cacert.org</li> + <li>crlDistributionPoints=URI:<crlUri> where <crlUri> is replaced + with the URI where the certificate revocation list relating to the + certificate is found</li> + <li>subjectAltName=(as per <a href="#p3.1.1">§3.1.1.</a>).</li> +</ul> + <ul class="q"> + <li> what about subjectAltName for Code-signing</li> + </ul> + +<p> +OpenPGP key signatures currently do not include extensions. +In the future, a serial number might be included as an extension. +</p> + + +<h4><a name="p7.1.3" id="p7.1.3">7.1.3. Algorithm object identifiers</a></h4> +<p> +No stipulation. +</p> + +<h4><a name="p7.1.4" id="p7.1.4">7.1.4. Name forms</a></h4> +<p> +Refer to <a href="#p3.1.1">§3.1.1</a>. +</p> + +<h4><a name="p7.1.5" id="p7.1.5">7.1.5. Name constraints</a></h4> +<p> +Refer to <a href="#p3.1.1">§3.1.1</a>. +</p> + +<h4><a name="p7.1.6" id="p7.1.6">7.1.6. Certificate policy object identifier</a></h4> +<p> +The following OIDs are defined and should be incorporated +into certificates: +</p> + +<table border="1" cellpadding="5"> + <tr> + <td> + OID + </td> + <td> + Type/Meaning + </td> + <td> + Comment + </td> + </tr> + <tr> + <td> + 1.3.6.1.4.1.18506.4.4 + </td> + <td> + Certification Practice Statement + </td> + <td> + (this present document) + </td> + </tr> +</table> + +<p> +Versions are defined by additional numbers appended such as .1. +</p> + +<h4><a name="p7.1.7" id="p7.1.7">7.1.7. Usage of Policy Constraints extension</a></h4> +<p> +No stipulation. +</p> + +<h4><a name="p7.1.8" id="p7.1.8">7.1.8. Policy qualifiers syntax and semantics</a></h4> +<p> +No stipulation. +</p> + +<h4><a name="p7.1.9" id="p7.1.9">7.1.9. Processing semantics for the critical Certificate Policies extension</a></h4> +<p> +No stipulation. +</p> + + +<h3><a name="p7.2" id="p7.2">7.2. CRL profile</a></h3> +<h4><a name="p7.2.1" id="p7.2.1">7.2.1. Version number(s)</a></h4> +<p> +CRLs are created in X.509 v2 format. +</p> + +<h4><a name="p7.2.2" id="p7.2.2">7.2.2. CRL and CRL entry extensions</a></h4> + +<p> +No extensions. +</p> + +<h3><a name="p7.3" id="p7.3">7.3. OCSP profile</a></h3> +<h4><a name="p7.3.1" id="p7.3.1">7.3.1. Version number(s)</a></h4> +<p> +The OCSP responder operates in Version 1. +</p> +<h4><a name="p7.3.2" id="p7.3.2">7.3.2. OCSP extensions</a></h4> +<p> +No stipulation. +</p> + + + +<!-- *************************************************************** --> +<h2><a name="p8" id="p8">8. COMPLIANCE AUDIT AND OTHER ASSESSMENTS</a></h2> + +<p> +There are two major threads of assessment: +</p> + +<ul><li> + <b>Systems Audit</b>. + Analyses the CA for business and operations security. + This is conducted in two phases: documents for compliance + with criteria, and operations for compliance with documentation. + </li><li> + <b>Code Audit</b>. + Analyses the source code. + This is conducted at two levels: + Security concepts at the web applications level, + and source code security and bugs review. +</li></ul> + +<p> +See the Audit page at +<a href="http://wiki.cacert.org/wiki/Audit/"> +wiki.cacert.org/wiki/Audit/</a> +for more information. +</p> + +<h3><a name="p8.1" id="p8.1">8.1. Frequency or circumstances of assessment</a></h3> +<p> +The first audits started in late 2005, +and since then, assessments have been an +ongoing task. +Even when completed, they are expected to +be permanent features. +</p> + +<ul><li> + <b>Systems Audit</b>. + <span class="q"> + The first phase of the first audit is nearing completion. + The second phase starts in earnest when documentation is in + effect, at lease as DRAFT under PoP. + As the second phase is dependent on + this CPS and the Security Policy, they will + be in effect as DRAFT at least + before the first audit is completed. + Only prior and completed audits can be reported here. + </span> + </li><li> + <b>Code Audit</b>. + <span class="q"> + A complete review of entire source code has not yet been completed. + </span> +</li></ul> + +<h3><a name="p8.2" id="p8.2">8.2. Identity/qualifications of assessor</a></h3> + +<p> +<b>Systems Auditors.</b> +CAcert uses business systems auditors with broad experience +across the full range of business, information systems +and security fields. +In selecting a business systems auditor, CAcert looks for +experience that includes but is not limited to +cryptography, PKI, governance, auditing, +compliance and regulatory environments, +business strategy, software engineering, +networks, law (including multijurisdictional issues), +identity systems, fraud, IT management. +</p> + +<!-- <center><a href="http://xkcd.com/511/"> <img src="http://imgs.xkcd.com/comics/sleet.png"> </a> </center> --> + +<p> +<b>Code Auditors.</b> +See Security Policy, sections 7, 9.1. +</p> + +<h3><a name="p8.3" id="p8.3">8.3. Assessor's relationship to assessed entity</a></h3> + +<p> +Specific internal restrictions on audit personnel: +</p> + +<ul><li> + Must be Assured by CAcert Assurers + and must be background checked. + </li><li> + Must not have been active in any (other) role in CAcert. + Specifically, must not be an Assurer, a member of the association, + or in any other defined role or office. + </li><li> + Although the Auditor may be expected to undertake various + of the activities (Assurance, Training) + during the process of the audit, any results are frozen + until resignation as auditor is effected. + </li><li> + The Auditor is required to declare to CAcert all + potential conflicts of interest on an ongoing basis. +</li></ul> + +<p> +Specific external restrictions on audit personnel: +</p> + +<ul><li> + Should have a verifiable and lengthy history in + user privacy and user security. + </li><li> + Must not have worked for a competitive organisation. + </li><li> + Must not have worked for national security, intelligence, + LEO or similar agencies. +</li></ul> + +<p> +An Auditor may convene an audit team. +The same restrictions apply in general +to all members of the team, but may be varied. +Any deviations must be documented and approved +by the CAcert Inc. Board. +</p> + +<h3><a name="p8.4" id="p8.4">8.4. Topics covered by assessment</a></h3> + +<p> +Systems Audits are generally conducted to criteria. +CAcert requires that the criteria are open: +</p> + +<ul><li> + Published. + The criteria must be reviewable by all interested parties. + </li><li> + Understandable. + They should be understandable, in that they provide the + sufficient information in a readable form for interested + parties to follow the gist and importance. + (Arcane security criteria may stretch this requirement.) + </li><li> + Complete. + There must be sufficent background information that the + whole story is there. Especially, criteria that refer + to undocumented practices or conventions deliberately + kept secret must be avoided. + </li><li> + Applicable. The criteria should relate directly + and unambiguously to a need of the identified interested parties + (Members, Relying Parties, Subscribers, Assurers). +</li></ul> + +<p> +See +<a href="http://rossde.com/CA_review/">DRC</a> +for the current criteria. +If Auditor determines that a criteria fails to +follow the meet the above requirements, then the criteria +should be reworked to conform, or should be dropped +(both with explanatory notes). +</p> + +<h3><a name="p8.5" id="p8.5">8.5. Actions taken as a result of deficiency</a></h3> +<p> +See the current +<a href="http://wiki.cacert.org/wiki/Audit/Done">Audit Done list</a> +for work completed, and +<a href="http://wiki.cacert.org/wiki/AuditToDo">Audit Todo list</a> +for work in progress. +</p> + +<p> +Auditor may issue directives instructing changes, +where essential to audit success or other extreme +situations. +Directives should be grounded on criteria, +on established minimum or safe practices, +or clearly described logic. +Adequate discussion with Community +(e.g., CAcert Inc. Board and with Policy Group) +should precede any directive. +They should be presented to the same standard +as the criteria, above. +</p> + +<p> +The +<a href="http://wiki.cacert.org/wiki/AuditDirectives"> +wiki.cacert.org/wiki/AuditDirectives</a> +documents issued directives and actions. +</p> + +<h3><a name="p8.6" id="p8.6">8.6. Communication of results</a></h3> + +<p> +Current and past Audit information is available at +<a href="http://wiki.cacert.org/wiki/Audit/">wiki.CAcert.org/wiki/Audit/</a>. +CAcert runs an open disclosure policy and +Audit is no exception. +</p> + +<p> +This CPS and other documents are subject to +the process in Policy on Policy (<a href="http://www.cacert.org/policy/PolicyOnPolicy.html">COD1</a>). +Audits cover the overall processes more +than any one document, and documents may vary +even as Audit reports are delivered. +</p> + + + + +<!-- *************************************************************** --> +<h2><a name="p9" id="p9">9. OTHER BUSINESS AND LEGAL MATTERS</a></h2> +<h3><a name="p9.1" id="p9.1">9.1. Fees</a></h3> + + +<p> +The current fees structure is posted at +<a href="http://wiki.cacert.org/wiki/Price">wiki.cacert.org/wiki/Price</a>. +Changes to the fees structure will be announced +from time to time on the <a href="http://blog.cacert.org/">blog</a>. +CAcert retains the right to charge fees for services. +All fees are non-refundable. +</p> + + +<h3><a name="p9.2" id="p9.2">9.2. Financial responsibility</a></h3> + +<p> +Financial risks are dealt with primarily by +the Dispute Resolution Policy +(<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html">COD7</a>). +</p> + +<h4><a name="p9.2.1" id="p9.2.1">9.2.1. Insurance coverage</a></h4> + +<p> +No stipulation. +</p> + +<h4><a name="p9.2.2" id="p9.2.2">9.2.2. Other assets</a></h4> + +<p> +No stipulation. +</p> + +<h4><a name="p9.2.3" id="p9.2.3">9.2.3. Insurance or warranty coverage for end-entities</a></h4> + +<p> +No stipulation. +</p> + +<h3><a name="p9.3" id="p9.3">9.3. Confidentiality of business information</a></h3> + +<h4><a name="p9.3.1" id="p9.3.1">9.3.1. Scope of confidential information</a></h4> + +<p> +CAcert has a policy of transparency and openness. +The default posture is that information is public +to the extent possible, +unless covered by specific policy provisions +(for example, passwords) +or rulings by Arbitrator. +</p> + +<h3><a name="p9.4" id="p9.4">9.4. Privacy of personal information</a></h3> + +<!-- <center><a href="http://xkcd.com/46/"> <img src="http://imgs.xkcd.com/comics/secrets.jpg"> </a> </center> --> +<p> +Privacy is covered by the +CCA (COD9) +and the Privacy Policy +(<a href="PrivacyPolicy.html">COD5</a>). +</p> + +<h4><a name="p9.4.1" id="p9.4.1">9.4.1. Privacy plan</a></h4> +<p> No stipulation. </p> +<h4><a name="p9.4.2" id="p9.4.2">9.4.2. Information treated as private</a></h4> +<p> +Member's Date of Birth and "Lost Password" questions are treated as fully private. +</p> +<h4><a name="p9.4.3" id="p9.4.3">9.4.3. Information not deemed private</a></h4> +<p> +To the extent that information is put into an issued certificate, +that information is not deemed private, +as it is expected to be published by the Member as part of routine use of +the certificate. +Such information generally includes +Names, domains, email addresses, and certificate serial numbers. +</p> +<p> +Under Assurance Policy +(<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>) +the Member's status (as Assured, Assurer, etc) is available +to other Members. +</p> +<p> +Information placed in forums outside the online system +(wiki, blogs, policies, etc) is not deemed private, and is +generally deemed to be published as contributions by Members. +See +CCA1.3 (COD9). +</p> +<h4><a name="p9.4.4" id="p9.4.4">9.4.4. Responsibility to protect private information</a></h4> +<p> +CAcert is a privacy organisation +and takes privacy more seriously. +Any privacy issue may be referred to dispute resolution. +</p> +<h4><a name="p9.4.5" id="p9.4.5">9.4.5. Notice and consent to use private information</a></h4> +<p> +Members are permitted to rely on certificates of other Members. +As a direct consequence of the general right to rely, +Members may read and store the certificates +and/or the information within them, where duly presented in +a relationship, and to the extent necessary for +the agreed relationship. +</p> +<h4><a name="p9.4.6" id="p9.4.6">9.4.6. Disclosure pursuant to judicial or administrative process</a></h4> +<p> +Any disclosure pursuant to process from foreign courts +(or similar) +is controlled by the Arbitrator. +</p> +<h4><a name="p9.4.7" id="p9.4.7">9.4.7. Other information disclosure circumstances</a></h4> +<p> +None. +</p> + +<h3><a name="p9.5" id="p9.5">9.5. Intellectual property rights</a></h3> + +<p> +CAcert is committed to the philosophy of +an open and free Internet, +broadly as encapsulated by open and free source. +However, due to the strict control provisions +imposed by the audit criteria (CCS), +and the general environment and role of CAs, +and the commitment to security of Members, +some deviations are necessary. +</p> + +<!-- <center><a href="http://xkcd.com/225/"> <img src="http://imgs.xkcd.com/comics/open_source.png"> </a> </center> --> + +<h4><a name="p9.5.1" id="p9.5.1">9.5.1. Ownership and Licence</a></h4> + +<p> +Assets that fall under the control of CCS +must be transferred to CAcert. +See PoP 6.2 +(<a href="http://www.cacert.org/policy/PolicyOnPolicy.html#6.2">COD1</a>), +CCA 1.3 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#1.3">COD9</a>). +That is, CAcert is free to use, modify, +distribute, and otherwise conduct the business +of the CA as CAcert sees fit with the asset. +</p> + +<h4><a name="p9.5.2" id="p9.5.2">9.5.2. Brand</a></h4> +<p> +The brand of CAcert +is made up of its logo, name, trademark, service marks, etc. +Use of the brand is strictly limited by the Board, +and permission is required. +See <a href="http://wiki.cacert.org/wiki/TopMinutes-20070917"> +m20070917.5</a>. +</p> + +<h4><a name="p9.5.3" id="p9.5.3">9.5.3. Documents</a></h4> + +<p> +CAcert owns or requires full control over its documents, +especially those covered by CCS. +See PoP 6.2 +(<a href="http://www.cacert.org/policy/PolicyOnPolicy.html#6.2">COD1</a>). +Contributors transfer the rights, +see CCA 1.3 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#1.3">COD9</a>). +Contributors warrant that they have the right to transfer. +</p> + +<p> +Documents are generally licensed under free and open licence. +See +<a href="http://wiki.cacert.org/wiki/PolicyDrafts/DocumentLicence"> +wiki.cacert.org/wiki/PolicyDrafts/DocumentLicence</a>. +Except where explicitly negotiated, +CAcert extends back to contributors a +non-exclusive, unrestricted perpetual +licence, permitting them to to re-use +their original work freely. +See PoP 6.4 +(<a href="http://www.cacert.org/policy/PolicyOnPolicy.html#6.4">COD1</a>), +CCA 1.3 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#1.3">COD9</a>). +</p> + +<h4><a name="p9.5.4" id="p9.5.4">9.5.4. Code</a></h4> + +<p> +CAcert owns its code or requires full control over code in use +by means of a free and open licence. +See CCS. +</p> + +<p class="q"> +See the (new, wip) +<a href="http://svn.cacert.cl/Documents/SourceCodeManifesto.html"> +SourceCodeManifesto</a>. +Maybe this can replace these two paras? +</p> + +<p> +CAcert licenses its code under GPL. +CAcert extends back to contributors a +non-exclusive, unrestricted perpetual +licence, permitting them to to re-use +their original work freely. +</p> + +<h4><a name="p9.5.5" id="p9.5.5">9.5.5. Certificates and Roots</a></h4> + +<p> +CAcert asserts its intellectual property rights over certificates +issued to Members and over roots. +See CCA 4.4 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#4.4">COD9</a>), +CCS. +The certificates may only be used by Members under +<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#4.4">COD9</a>, +and, +by others under the licences offered, +such as +Non-Related Persons - Disclaimer and Licence +(<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>). +</p> + +<h3><a name="p9.6" id="p9.6">9.6. Representations and warranties</a></h3> + + +<p> +<b>Members.</b> +All Members of the Community agree to the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>), +which is the primary document for +representations and warranties. +Members include Subscribers, Relying Parties, +Registration Agents and the CA itself. +</p> + +<p> +<b>RAs.</b> +Registration Agents are obliged additionally by Assurance Policy, +especially 3.1, 4.1 +(<a href="http://www.cacert.org/policy/AssurancePolicy.html">COD13</a>). +</p> + +<p> +<b>CA.</b> +The CA is obliged additionally by the CCS. +</p> + +<p> +<b>Third Party Vendors.</b> +Distributors of the roots are offered the +<span class="q">wip</span> +3rd-Party Vendors - Disclaimer and Licence +(3PV-DaL => CODx) +and are offered +<span class="q">wip</span> +the same deal as Members to the extent that they agree +to be Members in the Community. +<span class="q">wip</span> +</p> + +<h3><a name="p9.7" id="p9.7">9.7. Disclaimers of Warranties</a></h3> + +<p> +Persons who have not accepted the above Agreements are offered the +Non-Related Persons - Disclaimer and Licence +(<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>). +Any representations and +warranties are strictly limited to nominal usage. +In essence, NRPs may USE but must not RELY. +</p> + +<p> +In today's aggressive fraud environment, +and within the context of CAcert as a community CA, +all parties should understand that CAcert +and its Subscribers, Assurers and other roles +provide service on a Best Efforts basis. +See <a href="#p1.4">§1.4</a>. +CAcert seeks to provide an adequate minimum +level of quality in operations for its Members +without undue risks to NRPs. +See +<a href="http://svn.cacert.org/CAcert/principles.html">Principles</a>. +</p> + +<p> +CAcert on behalf of the Community and itself +makes no Warranty nor Guarantee nor promise +that the service or certificates are adequate +for the needs and circumstances. +</p> + +<h3><a name="p9.8" id="p9.8">9.8. Limitations of liability</a></h3> + +<h3><a name="p9.8.1" id="p9.8.1">9.8.1 Non-Related Persons </a></h3> + +<p> +CAcert on behalf of related parties +(RAs, Subscribers, etc) and itself +disclaims all liability to NRPs +in their usage of CA's certificates. +See <a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.html">COD4</a>. +</p> + +<h3><a name="p9.8.2" id="p9.8.2">9.8.2 Liabilities Between Members</a></h3> + +<p> +Liabilities between Members +are dealt with by internal dispute resolution, +which rules on liability and any limits. +See +<a href="#9.13">§9.13</a>. +</p> + + +<h3><a name="p9.9" id="p9.9">9.9. Indemnities</a></h3> + +<p> +No stipulation. +</p> + +<h3><a name="p9.10" id="p9.10">9.10. Term and termination</a></h3> +<h4><a name="p9.10.1" id="p9.10.1">9.10.1. Term</a></h4> + +<p> +No stipulation. +</p> + +<h4><a name="p9.10.2" id="p9.10.2">9.10.2. Termination</a></h4> + +<p> +Members file a dispute to terminate their agreement. +See <a href="#p9.13">§9.13</a> and CCA 3.3 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#3.3">COD9</a>). +</p> + +<p> +Documents are varied (including terminated) under <a href="http://www.cacert.org/policy/PolicyOnPolicy.html">COD1</a>. +</p> + +<p> +For termination of the CA, see <a href="#p5.8.1">§5.8.1</a>. +</p> + +<h4><a name="p9.10.3" id="p9.10.3">9.10.3. Effect of termination and survival</a></h4> + +<p> +No stipulation. +</p> + +<h3><a name="p9.11" id="p9.11">9.11. Individual notices and communications with participants</a></h3> + +<p> +All participants are obliged to keep their listed +primary email addresses in good working order. +See CCA 3.5 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#3.5">COD9</a>). +</p> + + +<h3><a name="p9.12" id="p9.12">9.12. Amendments</a></h3> + +<p> +Amendments to the CPS are controlled by <a href="http://www.cacert.org/policy/PolicyOnPolicy.html">COD1</a>. +Any changes in Member's Agreements are notified under CCA 3.4 +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html#3.4">COD9</a>). +</p> + +<h3><a name="p9.13" id="p9.13">9.13. Dispute resolution provisions</a></h3> + +<p> +CAcert provides a forum and facility for any Member +or other related party to file a dispute. +</p> + +<ul><li> + The CAcert + Dispute Resolution Policy + (<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html">COD7</a>) + includes rules for dispute resolution. + </li><li> + Filing is done via email to + < support AT cacert DOT org > +</li></ul> + +<p> +Members agree to file all disputes through CAcert's +forum for dispute resolution. +The rules include specific provisions to assist +non-Members, etc, to file dispute in this forum. +</p> + + +<h3><a name="p9.14" id="p9.14">9.14. Governing law</a></h3> + +<p> +The governing law is that of New South Wales, Australia. +Disputes are generally heard before the Arbitrator +under this law. +Exceptionally, the Arbitrator may elect to apply the +law of the parties and events, where in common, +but this is unlikely because it may create results +that are at odds with the Community. +</p> + +<h3><a name="p9.15" id="p9.15">9.15. Compliance with Applicable Law</a></h3> + +<h3><a name="p9.15.1" id="p9.15.1">9.15.1 Digital Signature Law</a></h3> +<p> +The Commonwealth and States of Australia have passed +various Electronic Transactions Acts that speak to +digital signatures. In summary, these acts follow +the "technology neutral" model and permit but do not +regulate the use of digital signatures. +</p> + +<p> +This especially means that the signatures created by +certificates issued by CAcert are not in and of themselves +legally binding human signatures, at least according to +the laws of Australia. +See <a href="#p1.4.3">§1.4.3</a>. +However, certificates may play a part in larger signing +applications. See <a href="#p1.4.1">§1.4.1</a> for "digital signing" certificates. +These applications may impose significant +obligations, risks and liabilities on the parties. +</p> + +<h3><a name="p9.15.2" id="p9.15.2">9.15.2 Privacy Law</a></h3> + +<p> +See the Privacy Policy +(<a href="PrivacyPolicy.html">COD5</a>). +</p> + +<h3><a name="p9.15.3" id="p9.15.3">9.15.3 Legal Process from External Forums</a></h3> + +<p> +CAcert will provide information about +its Members only under legal subpoena or +equivalent process +from a court of competent jurisdiction. +Any requests made by legal subpoena are +treated as under the Dispute Resolution Policy +See +<a href="#p9.13">§9.13</a> +and +<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.html">COD7</a>. +That is, all requests are treated as disputes, +as only a duly empanelled Arbitrator has the +authorisation and authority to rule on the +such requests. +<p> + +<p> +A subpoena should +include sufficient legal basis to support +an Arbitrator in ruling that information +be released pursuant to the filing, +including the names of claimants in any civil case +and an indication as to whether the claimants are +Members or not +(and are therefore subject to Dispute Resolution Policy). +</p> + +<h3><a name="p9.16" id="p9.16">9.16. Miscellaneous provisions</a></h3> +<h4><a name="p9.16.1" id="p9.16.1">9.16.1. Entire agreement</a></h4> + +<p> +All Members of the Community agree to the +CAcert Community Agreement +(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">COD9</a>). +This agreement also incorporates other key +documents, being this CPS, DRP and PP. +See CCA 4.2. +</p> + +<p> +The Configuration-Control Specification +is the set of policies that rule over the +Community, of which the above documents are part. +See COD2. +Documents that have reached full POLICY status +are located at +<a href="http://www.cacert.org/policy/"> +www.cacert.org/policy/</a>. +Although detailed practices may +be found in other places on the website +and on the wiki, the CCS documents that +have reached DRAFT and POLICY status are +the ruling documents. +</p> + +<h4><a name="p9.16.2" id="p9.16.2">9.16.2. Assignment</a></h4> + +<p> +The rights within CCA may not be ordinarily assigned. +</p> + +<h4><a name="p9.16.3" id="p9.16.3">9.16.3. Severability</a></h4> + +<p> +No stipulation. +</p> + +<h4><a name="p9.16.4" id="p9.16.4">9.16.4. Enforcement (attorneys' fees and waiver of rights)</a></h4> + +<p> +The Arbitrator will specify fees and remedies, if any. +</p> + +<h4><a name="p9.16.5" id="p9.16.5">9.16.5. Force Majeure</a></h4> + +<p> +No stipulation. +</p> + +<h2>---This is the end of the Policy---</h2> + + +</body> +</html> diff --git a/www/policy/CertificationPracticeStatement.php b/www/policy/CertificationPracticeStatement.php index b18273c..adffa0e 100644 --- a/www/policy/CertificationPracticeStatement.php +++ b/www/policy/CertificationPracticeStatement.php @@ -1,4087 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> - <meta name="copyright" content="CAcert Inc http://www.cacert.org/"> - <title>Certification Practice Statement (CPS)</title> - -<style type="text/css"> -<!-- -body { - font-family : verdana, helvetica, arial, sans-serif; -} - -pre, code, kbd, tt, samp { - font-family : courier, monospace; -} - -th { - text-align : left; -} - -.blockpar { - text-indent : 2em; - margin-top : 0em; - margin-bottom : 0.5em; - text-align : justify; -} - -.figure { - text-align : center; - color : gray; - margin-top : 0.5em; -} - -.center { - text-align : center; -} - -.q { - color : green; - font-weight: bold; - text-align: center; - font-style:italic; -} - -.error { - color : red; - font-weight: bold; - text-align: center; - font-style:italic; -} - -.change { - color : blue; - font-weight: bold; -} - -a:hover { - color : gray; -} ---> -</style> - - -</head> -<body> - -<h1>CAcert CPS and CP</h1> - -<a href="PolicyOnPolicy.html"><img src="cacert-draft.png" alt="CAcert Policy Status" height="31" width="88" style="border-style: none;" /></a><br /> -Creation date: 20060726<br /> -Status: DRAFT p20091108<br /> -<!-- $Id: CertificationPracticeStatement.php,v 1.3 2012-07-27 16:00:29 wytze Exp $ --> - - -<font size="-1"> - -<ol> - <li> <a href="#p1">INTRODUCTION</a> - <ul> - <li><a href="#p1.1">1.1. Overview</a></li> - <li><a href="#p1.2">1.2. Document name and identification</a></li> - <li><a href="#p1.3">1.3. PKI participants</a> </li> - <li><a href="#p1.4">1.4. Certificate usage</a> </li> - <li><a href="#p1.5">1.5. Policy administration</a> </li> - <li><a href="#p1.6">1.6. Definitions and acronyms</a></li> - </ul> - </li> - <li> <a href="#p2">PUBLICATION AND REPOSITORY RESPONSIBILITIES</a> - <ul> - <li><a href="#p2.1">2.1. Repositories</a></li> - <li><a href="#p2.2">2.2. Publication of certification information</a></li> - <li><a href="#p2.3">2.3. Time or frequency of publication</a></li> - <li><a href="#p2.4">2.4. Access controls on repositories</a></li> - </ul> - </li> - <li> <a href="#p3">IDENTIFICATION AND AUTHENTICATION (I&A)</a> - <ul> - <li><a href="#p3.1">3.1. Naming</a> </li> - <li><a href="#p3.2">3.2. Initial Identity Verification</a> </li> - <li><a href="#p3.3">3.3. I&A for Re-key Requests</a> </li> - <li><a href="#p3.4">3.4. I&A for Revocation Request</a></li> - </ul> - </li> - <li><a href="#p4">CERTIFICATE LIFE-CYCLE OPERATIONAL REQUIREMENTS</a> - <ul> - <li><a href="#p4.1">4.1. Certificate Application</a> </li> - <li><a href="#p4.2">4.2. Certificate application processing</a> </li> - <li><a href="#p4.3">4.3. Certificate issuance</a> </li> - <li><a href="#p4.4">4.4. Certificate acceptance</a> </li> - <li><a href="#p4.5">4.5. Key pair and certificate usage</a> </li> - <li><a href="#p4.6">4.6. Certificate renewal</a> </li> - <li><a href="#p4.7">4.7. Certificate re-key</a> </li> - <li><a href="#p4.8">4.8. Certificate modification</a> </li> - <li><a href="#p4.9">4.9. Certificate revocation and suspension</a> </li> - <li><a href="#p4.10">4.10. Certificate status services</a> </li> - <li><a href="#p4.11">4.11. End of subscription</a></li> - <li><a href="#p4.12">4.12. Key escrow and recovery</a> </li> - </ul> - </li> - <li><a href="#p5">FACILITY, MANAGEMENT, AND OPERATIONAL CONTROLS</a> - <ul> - <li><a href="#p5.1">5.1. Physical controls</a> </li> - <li><a href="#p5.2">5.2. Procedural controls</a> </li> - <li><a href="#p5.3">5.3. Personnel controls</a> </li> - <li><a href="#p5.4">5.4. Audit logging procedures</a> </li> - <li><a href="#p5.5">5.5. Records archival</a> </li> - <li><a href="#p5.6">5.6. Key changeover</a></li> - <li><a href="#p5.7">5.7. Compromise and disaster recovery</a> </li> - <li><a href="#p5.8">5.8. CA or RA termination</a></li> - </ul> - </li> - <li><a href="#p6">TECHNICAL SECURITY CONTROLS</a> - <ul> - <li><a href="#p6.1">6.1. Key pair generation and installation</a> </li> - <li><a href="#p6.2">6.2. Private Key Protection and Cryptographic Module Engineering Controls</a> </li> - <li><a href="#p6.3">6.3. Other aspects of key pair management</a> </li> - <li><a href="#p6.4">6.4. Activation data</a> </li> - <li><a href="#p6.5">6.5. Computer security controls</a> </li> - <li><a href="#p6.6">6.6. Life cycle technical controls</a> </li> - <li><a href="#p6.7">6.7. Network security controls</a></li> - <li><a href="#p6.8">6.8. Time-stamping</a></li> - </ul> - </li> - <li><a href="#p7">CERTIFICATE, CRL, AND OCSP PROFILES</a> - <ul> - <li><a href="#p7.1">7.1. Certificate profile</a> </li> - <li><a href="#p7.2">7.2. CRL profile</a> </li> - <li><a href="#p7.3">7.3. OCSP profile</a> </li> - </ul> - </li> - <li><a href="#p8">COMPLIANCE AUDIT AND OTHER ASSESSMENTS</a> - <ul> - <li><a href="#p8.1">8.1. Frequency or circumstances of assessment</a></li> - <li><a href="#p8.2">8.2. Identity/qualifications of assessor</a></li> - <li><a href="#p8.3">8.3. Assessor's relationship to assessed entity</a></li> - <li><a href="#p8.4">8.4. Topics covered by assessment</a></li> - <li><a href="#p8.5">8.5. Actions taken as a result of deficiency</a></li> - <li><a href="#p8.6">8.6. Communication of results</a></li> - </ul> - </li> - <li><a href="#p9">OTHER BUSINESS AND LEGAL MATTERS</a> - <ul> - <li><a href="#p9.1">9.1. Fees</a> </li> - <li><a href="#p9.2">9.2. Financial responsibility</a> </li> - <li><a href="#p9.3">9.3. Confidentiality of business information</a> </li> - <li><a href="#p9.4">9.4. Privacy of personal information</a> </li> - <li><a href="#p9.5">9.5. Intellectual property rights</a></li> - <li><a href="#p9.6">9.6. Representations and warranties</a> </li> - <li><a href="#p9.7">9.7. Disclaimers of warranties</a></li> - <li><a href="#p9.8">9.8. Limitations of liability</a></li> - <li><a href="#p9.9">9.9. Indemnities</a></li> - <li><a href="#p9.10">9.10. Term and termination</a> </li> - <li><a href="#p9.11">9.11. Individual notices and communications with participants</a></li> - <li><a href="#p9.12">9.12. Amendments</a> </li> - <li><a href="#p9.13">9.13. Dispute resolution provisions</a></li> - <li><a href="#p9.14">9.14. Governing law</a></li> - <li><a href="#p9.15">9.15. Compliance with applicable law</a></li> - <li><a href="#p9.16">9.16. Miscellaneous provisions</a> </li> - </ul> - </li> -</ol> - -</font> - - - -<!-- *************************************************************** --> -<h2><a name="p1" id="p1">1. INTRODUCTION</a></h2> - -<h3><a name="p1.1" id="p1.1">1.1. Overview</a></h3> - -<p> -This document is the Certification Practice Statement (CPS) of -CAcert, the Community Certification Authority (CA). -It describes rules and procedures used by CAcert for -operating its CA, -and applies to all CAcert PKI Participants, -including Assurers, Members, and CAcert itself. -</p> - -<p> -</p> - -<h3><a name="p1.2" id="p1.2">1.2. Document name and identification</a></h3> - -<p> -This document is the Certification Practice Statement (CPS) of CAcert. -The CPS also fulfills the role of the Certificate Policy (CP) -for each class of certificate. -</p> - -<ul> - <li> - This document is COD6 under CAcert Official Documents numbering scheme. - </li> - <li> - The document is structured according to - Chokhani, et al, - <a href="http://www.ietf.org/rfc/rfc3647.txt">RFC3647</a>, - <a href="http://tools.ietf.org/html/rfc3647#section-4">chapter 4</a>. - All headings derive from that Chapter. - </li> - <li> - It has been improved and reviewed (or will be reviewed) - to meet or exceed the criteria of the - <cite>Certificate Authority Review Checklist</cite> - from <i>David E. Ross</i> ("DRC") - and Mozilla Foundation's CA policy. - </li> - <li> - OID assigned to this document: 1.3.6.1.4.1.18506.4.4.x (x=approved Version) - (<a href="http://www.iana.org/assignments/enterprise-numbers">iana.org</a>) - <p class="q"> .x will change to .1 in the first approved instance.</p> - </li> - <li> - © CAcert Inc. 2006-2009. - <!-- note that CCS policies must be controlled by CAcert Inc. --> - </li> - <li> - Issued under the CAcert document licence policy, - as and when made policy. - See <a href="http://wiki.cacert.org/wiki/PolicyDrafts/DocumentLicence"> - PolicyDrafts/DocumentLicence</a>. - <ul class="q"> - <li> The cited page discusses 2 options: CCau Attribute-Share-alike and GNU Free Document License. Refer to that. </li> - <li> Note that the noun Licence in Australian English has two Cs. The verb License is spelt the same way as American English. </li> - </ul> - </li> - <li> - Earlier notes were written by Christian Barmala - in a document placed under GNU Free Document License - and under FSF copyright. - However this clashed with the control provisions of - Configuration-Control Specification - (COD2) within Audit criteria. - </li> - <li> - <span class="q">In this document:</span> - <ul> - <li> - <span class="q">green text</span> - refers to questions that seek answers, - </li><li> - <span class="error">red text</span> - refers to probably audit fails or serious errors. - </li><li> - <span class="change">blue text</span> - refers to changes written after the document got seriously reviewed. - </ul> - <span class="q"> - None is to be considered part of the policy, - and they should disappear in the DRAFT - and must disappear in the POLICY. - </span> - </li> -<!-- - <li> - Some content is incorporated under -<!-- <a href="http://xkcd.com/license.html">Creative Commons license</a> --> -<!-- from <a href="http://xkcd.com/">xkcd.com</a>. --> - 198 177 515 - </li> ---> -</ul> - -<p> -The CPS is an authoritive document, -and rules other documents -except where explicitly deferred to. -See also <a href="#p1.5.1">1.5.1 Organisation Administering the Document</a>. -</p> - -<h3><a name="p1.3" id="p1.3">1.3. PKI participants</a></h3> -<p> -The CA is legally operated by CAcert Incorporated, -an Association registered in 2002 in -New South Wales, Australia, -on behalf of the wider Community of Members of CAcert. -The Association details are at the -<a href="http://wiki.cacert.org/wiki/CAcertIncorporated">CAcert wiki</a>. -</p> - -<p> -CAcert is a Community formed of Members who agree to the -<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php"> -CAcert Community Agreement</a>. -The CA is technically operated by the Community, -under the direction of the Board of CAcert Incorporated. -(The Members of the Community are not to be confused -with the <i>Association Members</i>, which latter are -not referred to anywhere in this CPS.) -</p> - -<h4><a name="p1.3.1" id="p1.3.1">1.3.1. Certification authorities</a></h4> -<p> -CAcert does not issue certificates to external -intermediate CAs under the present CPS. -</p> - -<h4><a name="p1.3.2" id="p1.3.2">1.3.2. Registration authorities</a></h4> -<p> -Registration Authorities (RAs) are controlled under Assurance Policy -(<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>). -</p> - -<h4><a name="p1.3.3" id="p1.3.3">1.3.3. Subscribers</a></h4> - -<p> -CAcert issues certificates to Members only. -Such Members then become Subscribers. -</p> - - -<h4><a name="p1.3.4" id="p1.3.4">1.3.4. Relying parties</a></h4> - -<p> -A relying party is a Member, -having agreed to the -CAcert Community Agreement -(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>), -who, in the act of using a CAcert certificate, -makes a decision on the basis of that certificate. -</p> - -<h4><a name="p1.3.5" id="p1.3.5">1.3.5. Other participants</a></h4> - -<p> -<b>Member.</b> -Membership of the Community is as defined in the -<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>. -Only Members may RELY or may become Subscribers. -Membership is free. -</p> - -<p> -<b>Arbitrator.</b> -A senior and experienced Member of the CAcert Community -who resolves disputes between Members, including ones -of certificate reliance, under -Dispute Resolution Policy -(<a href="http://www.cacert.org/policy/DisputeResolutionPolicy.php">COD7</a>). -</p> - -<p> -<b>Vendor.</b> -Software suppliers who integrate the root certificates of CAcert -into their software also assume a proxy role of Relying Parties, -and are subject to another licence. -<span class="q"> -At the time of writing, the -"3rd Party Vendor - Disclaimer and Licence" -is being worked upon, but is neither approved nor offered. -</span> -</p> - -<p> -<b>Non-Related Persons</b> (NRPs). -These are users of browsers and similar software who are -unaware of the CAcert certificates they may use, and -are unaware of the ramifications of usage. -Their relationship with CAcert -is described by the -Non-related Persons - Disclaimer and Licence -(<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.php">COD4</a>). -No other rights nor relationship is implied or offered. -</p> - - -<h3><a name="p1.4" id="p1.4">1.4. Certificate usage</a></h3> - -<p>CAcert serves as issuer of certificates for -individuals, businesses, governments, charities, -associations, churches, schools, -non-governmental organisations or other groups. -CAcert certificates are intended for low-cost -community applications especially where volunteers can -become Assurers and help CAcert to help the Community. -</p> - -<p> -Types of certificates and their appropriate and -corresponding applications are defined in -<a href="#p1.4.1">§1.4.1</a>. -Prohibited applications are defined in <a href="#p1.4.2">§1.4.2</a>. -Specialist uses may be agreed by contract or within -a specific environment, as described in -<a href="#p1.4.4">§1.4.4</a>. -Note also the -unreliable applications in -<a href="#p1.4.3">§1.4.3</a> -and risks, liabilities and obligations in -<a href="#p9">§9</a>. -</p> - - -<center> -<table border="1" cellpadding="5"> - <tr> - <td colspan="2"><center><i>Type</center></i></td> - <td colspan="2"><center><i>Appropriate Certificate uses</center></i></th> - </tr> - <tr> - <th>General</th> - <th>Protocol</th> - <th><center>Description</center></th> - <th><center>Comments</center></th> - </tr> - <tr> - <td rowspan="2"><center>Server</center></td> - <td> TLS </td> - <td> web server encryption </td> - <td> enables encryption </td> - </tr> - <tr> - <td> embedded </td> - <td> embedded server authentication </td> - <td> mail servers, IM-servers </td> - </tr> - <tr> - <td rowspan="4"><center>Client</center></td> - <td> S/MIME </td> - <td> email encryption </td> - <td> "digital signatures" employed in S/MIME - are not legal / human signatures, - but instead enable the encryption mode of S/MIME </td> - </tr> - <tr> - <td> TLS </td> - <td> client authentication </td> - <td> the nodes must be secure </td> - </tr> - <tr> - <td> TLS </td> - <td> web based signature applications </td> - <td> the certificate authenticates only. See <a href="#p1.4.3">§1.4.3</a>. </td> - </tr> - <tr> - <td> "Digital Signing" </td> - <td> for human signing over documents </td> - <td> Only within a wider application and rules - such as by separate policy, - as agreed by contract, etc. - See <a href="#p1.4.4">§1.4.4</a>. - </td> - </tr> - <tr> - <td><center>Code</center></td> - <td> Authenticode, ElfSign, Java </td> - <td> Code Signing </td> - <td> Signatures on packages are evidence of their Membership and indicative of Identity </td> - </tr> - <tr> - <td><center>PGP</center></td> - <td> OpenPGP </td> - <td> Key Signing </td> - <td> Signatures on Member Keys are evidence of their Membership and indicative of Identity </td> - </tr> - <tr> - <td><center>Special</center></td> - <td> X.509 </td> - <td> OCSP, Timestamping </td> - <td> Only available to CAcert Systems Administrators, as controlled by Security Policy </td> - </tr> -</table> - -<span class="figure">Table 1.4. Types of Certificate</span> -</center> - -<h4><a name="p1.4.1" id="p1.4.1">1.4.1. Appropriate certificate uses</a></h4> - -<p> -General uses. -</p> - -<ul><li> - CAcert server certificates can be used to enable encryption - protection in web servers. - Suitable applications include webmail and chat forums. - </li><li> - CAcert server certificates can be used to enable encryption - in SSL/TLS links in embedded protocols such as mail servers - and IM-servers. - </li><li> - CAcert client certificates can be used to enable encryption - protection in email clients. - (See <a href="#p1.4.3">§1.4.3</a> for caveat on signatures.) - </li><li> - CAcert client certificates can be used to replace password-based - authentication to web servers. - </li><li> - OpenPGP keys with CAcert signatures can be used - to encrypt and sign files and emails, - using software compatible with OpenPGP. - </li><li> - CAcert client certificates can be used in web-based - authentication applications. - </li><li> - CAcert code signing certificates can be used to sign code - for distribution to other people. - </li><li> - Time stamping can be used to attach a time record - to a digital document. -</li></ul> - - -<h4><a name="p1.4.2" id="p1.4.2">1.4.2. Prohibited certificate uses</a></h4> -<p> -CAcert certificates are not designed, intended, or authorised for -the following applications: -</p> -<ul><li> - Use or resale as control equipment in hazardous circumstances - or for uses requiring fail-safe performance such as the operation - of nuclear facilities, aircraft navigation or communication systems, - air traffic control systems, or weapons control systems, - where failure could lead directly to death, personal injury, - or severe environmental damage. -</li></ul> - -<h4><a name="p1.4.3" id="p1.4.3">1.4.3. Unreliable Applications</a></h4> - -<p> -CAcert certificates are not designed nor intended for use in -the following applications, and may not be reliable enough -for these applications: -</p> - -<ul><li> - <b>Signing within Protocols.</b> - Digital signatures made by CAcert certificates carry - <u>NO default legal or human meaning</u>. - See <a href="#p9.15.1">§9.15.1</a>. - Especially, protocols such as S/MIME commonly will automatically - apply digital signatures as part of their protocol needs. - The purpose of the cryptographic signature in S/MIME - and similar protocols is limited by default to strictly - protocol security purposes: - to provide some confirmation that a familiar certificate - is in use, to enable encryption, and to ensure the integrity - of the email in transit. -</li><li> - <b>Non-repudiation applications.</b> - Non-repudiation is not to be implied from use of - CAcert certificates. Rather, certificates may - provide support or evidence of actions, but that - evidence is testable in any dispute. -</li><li> - <b>Ecommerce applications.</b> - Financial transactions or payments or valuable e-commerce. -</li><li> - Use of anonymous (Class 1 or Member SubRoot) certificates - in any application that requires or expects identity. -</li></ul> - -<!-- <center><a href="http://xkcd.com/341/"> <img src="http://imgs.xkcd.com/comics/1337_part_1.png"> </a> </center> --> - -<h4><a name="p1.4.4" id="p1.4.4">1.4.4. Limited certificate uses</a></h4> - -<p> -By contract or within a specific environment -(e.g. internal to a company), -CAcert Members are permitted to use Certificates -for higher security, customised or experimental applications. -Any such usage, however, is limited to such entities -and these entities take on the whole responsible for -any harm or liability caused by such usage. -</p> - -<p> - <b>Digital signing applications.</b> - CAcert client certificates - may be used by Assured Members in - applications that provide or support the human signing of documents - (known here as "digital signing"). - This must be part of a wider framework and set of rules. - Usage and reliance - must be documented either under a separate CAcert digital signing - policy or other external regime agreed by the parties. -</p> - -<h4><a name="p1.4.5" id="p1.4.5">1.4.5. Roots and Names</a></h4> - -<p> -<b>Named Certificates.</b> -Assured Members may be issued certificates -with their verified names in the certificate. In this role, CAcert -operates and supports a network of Assurers who verify the -identity of the Members. -All Names are verified, either by Assurance or another defined -method under policy (c.f. Organisations). -</p> - -<p> -<b>Anonymous Certificates.</b> -Members can be issued certificates that are anonymous, -which is defined as the certificate with no Name included, -or a shared name such as "Community Member". -These may be considered to be somewhere between Named certificates -and self-signed certificates. They have serial numbers in them -which is ultimately traceable via dispute to a Member, but -reliance is undefined. -In this role, CAcert provides the -infrastructure, saving the Members from managing a difficult -and messy process in order to get manufactured certificates. -</p> - -<p> -<b>Psuedonymous Certificates.</b> -Note that CAcert does not currently issue pseudonymous certificates, -being those with a name chosen by the Member and not verifiable -according to documents. -</p> - -<p> -<b>Advanced Certificates.</b> -Members who are as yet unassured are not permitted to create -advanced forms such as wildcard or subjectAltName -certificates. -</p> - - -<p> -<b> Roots.</b> -The <span class="q"> (new) </span> CAcert root layout is as below. -These roots are pending Audit, -and will be submitted to vendors via the (Top-level) Root. -</p> -<ul><li> - <b>(Top-level) Root.</b> - Used to sign on-line CAcert SubRoots only. - This Root is kept offline. - </li><li> - <b>Member SubRoot.</b> - For Community Members who are new and unassured (some restrictions exist). - Reliance is undefined. - (Replacement for the Class 1 root, matches "Domain Validation" type.) - </li><li> - <b>Assured SubRoot.</b> - Only available for Assured individual Members, - intended to sign certificates with Names. - Suitable for Reliance under this and other policies. - Approximates the type known as Individual Validation. - </li><li> - <b>Organisation SubRoot.</b> - Only available for Assured Organisation Members. - Suitable for Reliance under this and other policies. - Approximates the type known as Organisational Validation. - -</li></ul> - - - -<center> -<table border="1" cellpadding="5"> - <tr> - <td></td> - <td colspan="5"><center><i>Level of Assurance</center></i></td> - <th> </th> - </tr> - <tr> - <th></th> - <th colspan="2"><center> Members † </center></th> - <th colspan="2"><center> Assured Members</center></th> - <th colspan="1"><center> Assurers </center></th> - <th colspan="1"><center> </center></th> - </tr> - <tr> - <td><i>Class of Root</i></td> - <th>Anon</th> - <td>Name</td> - <td>Anon</td> - <th>Name</th> - <td>Name+Anon</td> - <td colspan="1"><center><i>Remarks</center></i></td> - </tr> - <tr> - <td><center>Top level<br><big><b>Root</b></big></center></td> - <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> • </font> </center> </td> - <td> Signs other CAcert SubRoots only. </td> - </tr> - <tr> - <td><center><big><b>Member</b></big><br>SubRoot</center></td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> † For Members meeting basic checks in <a href="#p4.2.2">§4.2.2</a><br>(Reliance is undefined.) </td> - </tr> - <tr> - <td><center><big><b>Assured</b></big><br>SubRoot</center></td> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> Assured Members only.<br>Fully intended for reliance. </td> - </tr> - <tr> - <td><center><big><b>Organisation</b></big><br>SubRoot</center></td> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> Assured Organisation Members only.<br>Fully intended for reliance. </td> - </tr> - <tr> - <th>Expiry of Certificates</th> - <td colspan="2"><center>6 months</center></th> - <td colspan="3"><center>24 months</center></th> - </tr> - <tr> - <th>Types</th> - <td colspan="2"><center>client, server</center></th> - <td colspan="2"><center>wildcard, subjectAltName</center></th> - <td colspan="1"><center>code-signing</center></th> - <td> (Inclusive to the left.) </td> - </tr> -</table> - -<span class="figure">Table 1.4.5.b Certificate under Audit Roots</span> -</center> - - -<p class="q"> -Following information on OLD roots here for -descriptive and historical purposes only. -When CPS goes to DRAFT, this needs to be -converted into a short summary of the way -OLD roots are used and its relationship to -this CPS. E.g., "OLD roots are used for -testing and other purposes outside this CPS." -Because ... they still exist, and people will -look at the CPS to figure it out. -</p> - -<center> -<table border="1" cellpadding="5"> - <tr> - <td></td> - <td colspan="4"><center><i>Level of Assurance</center></i></td> - <th> </th> - </tr> - <tr> - <th></th> - <th colspan="2"><center>Members</center></th> - <th colspan="2"><center>Assured Members</center></th> - <th colspan="1"><center> </center></th> - </tr> - <tr> - <td><i>Class of Root</i></td> - <th>Anonymous</th> - <td>Named</td> - <td>Anonymous</td> - <th>Named</th> - <td colspan="1"><center><i>Remarks</center></i></td> - </tr> - <tr> - <td><center>Class<br><big><b>1</b></big></center></td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> Available for all Members,<br>reliance is undefined.</td> - </tr> - <tr> - <td><center>Class<br><big><b>3</b></big></center></td> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="red" size="+3"> ✘ </font> </center> </th> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> <center> <font title="pass." color="green" size="+3"> ✔ </font> </center> </td> - <td> Assured Members only.<br> Intended for Reliance. </center> </td> - </tr> - <tr> - <th>Expiry of Certificates</th> - <td colspan="2"><center>6 months</center></th> - <td colspan="2"><center>24 months</center></th> - </tr> - <tr> - <th>Types available</th> - <td colspan="2"><center>simple only</center></th> - <td colspan="2"><center>wildcard, subjectAltName</center></th> - </tr> -</table> - -<span class="figure">Table 1.4.5. Certificates under Old Roots - <b>Audit Fail</b> </span> -</center> - -<p> -<b> Old Roots.</b> -The old CAcert root layout is as below. These roots are <b>Audit Fail</b> -and will only be used where new roots do not serve: -</p> -<ul><li> - (old) <b>Class 1 root.</b> - Used primarily for certificates with no names and by - unassured Members. - For compatibility only, - Assured Members may also use this root. - </li><li> - (old) <b>Class 3 root.</b> - Used primarily for certificates including the names - of Assured Members. - Signed by Class 1 root. - Members can decide to rely on these - certificates for Assured Members - by selecting the Class 3 root for - Assured Members as trust anchor. -</li></ul> - - <ul class="q"> - <li> Current Mozilla position has drifted from Class 1,2,3s to DV, IV+OV and EV posture. Except, the actual posture is either unstated or difficult to fathom.</li> - <li> scheme for future roots is at <a href="http://wiki.cacert.org/wiki/Roots/NewRootsTaskForce">NewRootsTaskForce</a>.</li> - <li>END OLD ROOTS </li> - </ul> - -<h3><a name="p1.5" id="p1.5">1.5. Policy administration</a></h3> - -<p>See <a href="#p1.2">1.2 Document Name and Identification</a> - for general scope of this document.</p> - -<h4><a name="p1.5.1" id="p1.5.1">1.5.1. Organization administering the document</a></h4> - -<p> -This document is administered by the policy group of -the CAcert Community under Policy on Policy (<a href="http://www.cacert.org/policy/PolicyOnPolicy.php">COD1</a>). -</p> - -<h4><a name="p1.5.2" id="p1.5.2">1.5.2. Contact person</a></h4> -<p> -For questions including about this document: -</p> - -<ul> - <li>Join the policy group, by means of the discussion forum at - <a href="http://lists.cacert.org/mailman/listinfo"> - lists.cacert.org</a> . </li> - <li>Send email to < support AT cacert DOT org > </li> - <li>IRC: irc.cacert.org #CAcert (ssl port 7000, non-ssl port 6667)</li> -</ul> - -<h4><a name="p1.5.3" id="p1.5.3">1.5.3. Person determining CPS suitability for the policy</a></h4> -<p> -This CPS and all other policy documents are managed by -the policy group, which is a group of Members of the -Community found at policy forum. See discussion forums above. -</p> - -<h4><a name="p1.5.4" id="p1.5.4">1.5.4. CPS approval procedures</a></h4> -<p> -CPS is controlled and updated according to the -Policy on Policy -(<a href="http://www.cacert.org/policy/PolicyOnPolicy.php">COD1</a>) -which is part of -Configuration-Control Specification (COD2). -</p> - -<p> -In brief, the policy forum prepares and discusses. -After a last call, the document moves to DRAFT status -for a defined period. -If no challenges have been received in the defined period, -it moves to POLICY status. -The process is modelled after some elements of -the RFC process by the IETF. -</p> - -<h4><a name="p1.5.5" id="p1.5.5">1.5.5 CPS updates</a></h4> - -<p> -As per above. -</p> - - -<h3><a name="p1.6" id="p1.6">1.6. Definitions and acronyms</a></h3> -<p> -<b><a name="d_cert" id="d_cert">Certificate</a></b>. - A certificate is a piece of cryptographic data used - to validate certain statements, especially those of - identity and membership. -</p> -<p> -<b><a name="d_cacert" id="d_cacert">CAcert</a></b>. - CAcert is a Community certificate authority as defined under - <a href="#p1.2">§1.2 Identification</a>. -</p> -<p> -<b><a name="d_member" id="d_member">Member</a></b>. - Everyone who agrees to the - CAcert Community Agreement - (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>). - This generally implies having an account registered - at CAcert and making use of CAcert's data, programs or services. - A Member may be an individual ("natural person") - or an organisation (sometimes, "legal person"). -</p> -<p> -<b><a name="d_community" id="d_community">Community</a></b>. - The group of Members who agree to the - CAcert Community Agreement - (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>) - or equivalent agreements. -</p> -<p> -<b><a name="d_unassured" id="d_unassured">Unassured Member</a></b>. - A Member who has not yet been Assured. -</p> -<p> -<b><a name="d_subscriber" id="d_subscriber">Subscriber</a></b>. - A Member who requests and receives a certificate. -</p> -<p> -<b><a name="d_assured" id="d_assured">Assured Member</a></b>. - A Member whose identity has been sufficiently - verified by Assurers or other - approved methods under Assurance Policy.</p> -</p> -<p> -<b><a name="d_assurer" id="d_assurer">Assurer</a></b>. - An Assured Member who is authorised under Assurance Policy - to verify the identity of other Members. -</p> -<p> -<b><a name="d_name" id="d_name">Name</a></b>. - As defined in the - Assurance Policy - (<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>), - to describe a name of a Member - that is verified by the Assurance process. -<p> -<b><a name="d_oadmin" id="d_oadmin">Organisation Administrator</a></b>. - ("O-Admin") - An Assurer who is authorised to act for an Organisation. - The O-Admin is authorised by an organisation - to vouch for the identity of other users of the organisation. -</p> -<p> -<b><a name="d_org_ass" id="d_org_ass">Organisation Assurer</a></b>. - An Assurer who is authorised to conduct assurances on - organisations. -</p> -<p> -<b><a name="d_user" id="d_user">Non-Related Persons</a></b>. - ("NRPs") - are general users of browsers and similar software. - The NRPs are generally unaware of - CAcert or the certificates that they may use, and - are unaware of the ramifications of usage. - They are not permitted to RELY, but may USE, under the - Non-Related Persons - Disclaimer and Licence (<a href="http://www.cacert.org/policy/NRPDisclaimerAndLicence.php">COD4</a>). -</p> -<p> -<b><a name="rel" id="d_reliance">Reliance</a></b>. - An industry term referring to - the act of making a decision, including taking a risk, - which decision is in part or in whole - informed or on the basis of the contents of a certificate. -</p> -<p> -<b><a name="rel" id="rel">Relying Party</a></b>. - An industry term refering to someone who relies - (that is, makes decisions or takes risks) - in part or in whole on a certificate. -</p> -<p> - <b>Subscriber Naming.</b> - The term used in this CPS to - describe all naming data within a certificate. - Approximately similar terms from Industry such as - "Subject naming" and "Distinguished Name" - are not used here. -</p> -<p> -<b><a name="ver" id="d_verification">Verification</a></b>. - An industry term referring to - the act of checking and controlling - the accuracy and utility of a single claim. -</p> -<p> -<b><a name="ver" id="d_validation">Validation</a></b>. - An industry term referring to the process of - inspecting and verifying the information and - subsidiary claims behind a claim. -</p> -<p> -<b><a name="rel" id="rel">Usage</a></b>. - The event of allowing a certificate to participate in - a protocol, as decided and facilitated by a user's software. - Generally, Usage does not require significant input, if any, - on the part of the user. - This defers all decisions to the user software, - thus elevating the software as user's only and complete - Validation Authority or Agent. -</p> -<p> -<b><a name="drel" id="drel">CAcert Relying Party</a></b>. - CAcert Members who make decisions based in part or in whole - on a certificate issued by CAcert. - Only CAcert Members are permitted to Rely on CAcert certificates, - subject to the CAcert Community Agreement. -</p> -<p> -<b><a name="ddst" id="ddst">Vendors</a></b>. - Non-members who distribute CAcert's root or intermediate certificates - in any way, including but not limited to delivering these - certificates with their products, e.g. browsers, mailers or servers. - Vendors are covered under a separate licence. - <span class="q"> As of the moment, this licence is not written.</span> -</p> -<p> -<b><a name="d_ccs" id="d_ccs">Configuration-Control Specification</a></b> "CCS". - The audit criteria that controls this CPS. - The CCS is documented in COD2, itself a controlled document under CCS. -</p> -<p> -<p> -<b><a name="d_cod" id="d_cod">CAcert Official Document</a></b> (COD). - Controlled Documents that are part of the CCS. -</p> - - - -<!-- *************************************************************** --> -<h2><a name="p2" id="p2">2. PUBLICATION AND REPOSITORY RESPONSIBILITIES</a></h2> - - -<h3><a name="p2.1" id="p2.1">2.1. Repositories</a></h3> - -<p> -CAcert operates no repositories in the sense -of lookup for non-certificate-related information -for the general public. -</p> - -<p> -Under the Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>), -there are means for Members to search, retrieve -and verify certain data about themselves and others. -</p> - -<h3><a name="p2.2" id="p2.2">2.2. Publication of certification information</a></h3> - -<p> -CAcert publishes: -</p> - -<ul> - <li>A repository of CRLs. An OCSP responder is in operation.</li> - <li>The root certificate and intermediate certificates.</li> -</ul> - -<p> -CAcert does not expressly publish information on issued certificates. -However, due to the purpose of certificates, and the essential -public nature of Names and email addresses, all information within -certificates is presumed to be public and published, once -issued and delivered to the Member. -</p> - -<h3><a name="p2.3" id="p2.3">2.3. Time or frequency of publication</a></h3> - -<p> -Root and Intermediate Certificates and CRLs are -made available on issuance. -</p> - -<h3><a name="p2.4" id="p2.4">2.4. Access controls on repositories</a></h3> -<p> No stipulation. </p> - - - -<!-- *************************************************************** --> -<h2><a name="p3" id="p3">3. IDENTIFICATION AND AUTHENTICATION</a></h2> - -<h3><a name="p3.1" id="p3.1">3.1. Naming</a></h3> - -<h4><a name="p3.1.1" id="p3.1.1">3.1.1. Types of names</a></h4> - -<p> -<b>Client Certificates.</b> -The Subscriber Naming consists of: -</p> -<ul> - <li><tt>subjectAltName=</tt> - One, or more, of the Subscriber's verified email addresses, - in rfc822Name format. - - <ul class="q"> - <li>SSO in subjectAltName?.</li> - </ul> - <li><tt>EmailAddress=</tt> - One, or more, of the Subscriber's verified email addresses. - This is deprecated under - RFC5280 <a href="http://tools.ietf.org/html/rfc5280#section-4.2.1.6">4 -.1.2.6</a> - and is to be phased out. Also includes a SHA1 hash of a random number if - the member selects SSO (Single Sign On ID) during submission of CSR. - </li> - <li><tt>CN=</tt> The common name takes its value from one of: - <ul><li> - For all Members, - the string "<tt>CAcert WoT Member</tt>" may be used for - anonymous certificates. - </li><li> - For individual Members, - a Name of the Subscriber, - as Assured under AP. - </li><li> - For Organisation Members, - an organisation-chosen name, - as verified under OAP. - </li></ul> -</ul> - - <ul class="q"> - <li> <a href="http://bugs.cacert.org/view.php?id=672"> bug 672</a> filed on subjectAltName.</li> - <li> O-Admin must verify as per <a href="http://wiki.cacert.org/wiki/PolicyDecisions">p20081016</a>. </li> - <li> it is a wip for OAP to state how this is done. </li> - <li> curiously, (RFC5280) verification is only mandated for subjectAltName not subject field. </li> - <li> what Directory String is used in above? UTF8String is specified by RFC52804.1.2.6? is this important for the CPS to state?</li> - </ul> - -<p> -<b>Individual Server Certificates.</b> -The Subscriber Naming consists of: -</p> -<ul> - <li><tt>CN=</tt> - The common name is the host name out of a domain - for which the Member is a domain master. - </li> <li> - <tt>subjectAltName=</tt> - Additional host names for which the Member - is a domain master may be added to permit the - certificate to serve multiple domains on one IP number. - </li> <li> - All other fields are optional and must either match - the CN or they must be empty -</li> </ul> - -<p> -<b>Certificates for Organisations.</b> -In addition to the above, the following applies: -</p> - -<ul> - <li><tt>OU=</tt> - organizationalUnitName (set by O-Admin, must be verified by O-Admin).</li> - <li><tt>O=</tt> - organizationName is the fixed name of the Organisation.</li> - <li><tt>L=</tt> - localityName</li> - <li><tt>ST=</tt> - stateOrProvinceName</li> - <li><tt>C=</tt> - countryName</li> - <li><tt>contact=</tt> - EMail Address of Contact. - <!-- not included in RFC5280 4.1.2.4 list, but list is not restricted --> - </li> -</ul> - -<p> -Except for the OU and CN, fields are taken from the Member's -account and are as verified by the Organisation Assurance process. -Other Subscriber information that is collected and/or retained -does not go into the certificate. -</p> - -<h4><a name="p3.1.2" id="p3.1.2">3.1.2. Need for names to be meaningful</a></h4> - -<p> -Each Member's Name (<tt>CN=</tt> field) -is assured under the Assurance Policy (<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>) -or subsidiary policies (such as Organisation Assurance Policy). -Refer to those documents for meanings and variations. -</p> - -<p> -Anonymous certificates have the same <code>subject</code> -field common name. -See <a href="#p1.4.5">§1.4.5.</a>. -</p> - -<p> -Email addresses are verified according to -<a href="#p4.2.2">§4.2.2.</a> -</p> - -<!-- <center><a href="http://xkcd.com/327/"> <img src="http://imgs.xkcd.com/comics/exploits_of_a_mom.png"> </a> </center> --> - -<h4><a name="p3.1.3" id="p3.1.3">3.1.3. Anonymity or pseudonymity of subscribers</a></h4> - -<p> -See <a href="#p1.4.5">§1.4.5</a>. -</p> - -<h4><a name="p3.1.4" id="p3.1.4">3.1.4. Rules for interpreting various name forms</a></h4> -<p> -Interpretation of Names is controlled by the Assurance Policy, -is administered by means of the Member's account, -and is subject to change by the Arbitrator. -Changes to the interpretation by means of Arbitration -should be expected as fraud (e.g., phishing) -may move too quickly for policies to fully document rules. -</p> - -<h4><a name="p3.1.5" id="p3.1.5">3.1.5. Uniqueness of names</a></h4> - -<p> -Uniqueness of Names within certificates is not guaranteed. -Each certificate has a unique serial number which maps -to a unique account, and thus maps to a unique Member. -See the Assurance Statement within Assurance Policy -(<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>). -</p> - -<p> -Domain names and email address -can only be registered to one Member. -</p> - -<h4><a name="p3.1.6" id="p3.1.6">3.1.6. Recognition, authentication, and role of trademarks</a></h4> - -<p> -Organisation Assurance Policy -(<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.php">COD11</a>) -controls issues such as trademarks where applicable. -A trademark can be disputed by filing a dispute. -See -<a href="#adr">§9.13</a>. -</p> - -<h4><a name="p3.1.7" id="p3.1.7">3.1.7. International Domain Names</a></h4> - -<p> -Certificates containing International Domain Names, being those containing a -ACE prefix (<a href="http://www.ietf.org/rfc/rfc3490#section-5">RFC3490 -Section 5</a>), will only be issued to domains satisfying one or more -of the following conditions: -<ul> -<li>The Top Level Domain (TLD) Registrar associated with the domain has a policy -that has taken measures to prevent two homographic domains being registered to -different entities down to an accepted level. -</li> -<li>Domains contain only code points from a single unicode character script, -excluding the "Common" script, with the additionally allowed numberic -characters [0-9], and an ACSII hyphen '-'. -</li> -</ul> -</p> - -<p>Email address containing International Domain Names in the domain portion of -the email address will also be required to satisfy one of the above conditions. -</p> - -<p> -The following is a list of accepted TLD Registrars: - <table> - - <tr> - <td>.ac</td> - <td><a href="http://www.nic.ac/">Registry</a></td> - <td><a href="http://www.nic.ac/pdf/AC-IDN-Policy.pdf">Policy</a></td> - </tr> - <tr> - <td>.ar</td> - - <td><a href="http://www.nic.ar/">Registry</a></td> - <td><a href="http://www.nic.ar/616.html">Policy</a></td> - </tr> - <tr> - <td>.at</td> - <td><a href="http://www.nic.at/">Registry</a></td> - <td><a href="http://www.nic.at/en/service/legal_information/registration_guidelines/">Policy</a> (<a href="http://www.nic.at/en/service/technical_information/idn/charset_converter/">character list</a>)</td> - - </tr> - <tr> - <td>.biz</td> - <td><a href="http://www.neustarregistry.biz/">Registry</a></td> - <td><a href="http://www.neustarregistry.biz/products/idns">Policy</a></td> - </tr> - <tr> - - <td>.br</td> - <td><a href="http://registro.br/">Registry</a></td> - <td><a href="http://registro.br/faq/faq6.html">Policy</a></td> - </tr> - <tr> - <td>.cat</td> - <td><a href="http://www.domini.cat/">Registry</a></td> - - <td><a href="http://www.domini.cat/normativa/en_normativa_registre.html">Policy</a></td> - </tr> - <tr> - <td>.ch</td> - <td><a href="http://www.switch.ch/id/">Registry</a></td> - <td><a href="http://www.switch.ch/id/terms/agb.html#anhang1">Policy</a></td> - </tr> - - <tr> - <td>.cl</td> - <td><a href="http://www.nic.cl/">Registry</a></td> - <td><a href="http://www.nic.cl/CL-IDN-policy.html">Policy</a></td> - </tr> - <tr> - <td>.cn</td> - - <td><a href="http://www.cnnic.net.cn/">Registry</a></td> - <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> - </tr> - <tr> - <td>.de</td> - <td><a href="http://www.denic.de/">Registry</a></td> - - <td><a href="http://www.denic.de/en/richtlinien.html">Policy</a></td> - </tr> - <tr> - <td>.dk</td> - <td><a href="http://www.dk-hostmaster.dk/">Registry</a></td> - <td><a href="http://www.dk-hostmaster.dk/index.php?id=151">Policy</a></td> - </tr> - - <tr> - <td>.es</td> - <td><a href="https://www.nic.es/">Registry</a></td> - <td><a href="https://www.nic.es/media/2008-12/1228818323935.pdf">Policy</a></td> - </tr> - <tr> - <td>.fi</td> - - <td><a href="http://www.ficora.fi/">Registry</a></td> - <td><a href="http://www.ficora.fi/en/index/palvelut/fiverkkotunnukset/aakkostenkaytto.html">Policy</a></td> - </tr> - <tr> - <td>.gr</td> - <td><a href="https://grweb.ics.forth.gr/english/index.html">Registry</a></td> - <td><a href="https://grweb.ics.forth.gr/english/ENCharacterTable1.jsp">Policy</a></td> - - </tr> - <tr> - <td>.hu</td> - <td><a href="http://www.domain.hu/domain/">Registry</a></td> - <td><a href="http://www.domain.hu/domain/English/szabalyzat.html">Policy</a> (section 2.1.2)</td> - </tr> - - <tr> - <td>.info</td> - <td><a href="http://www.afilias.info/">Registry</a></td> - <td><a href="http://www.afilias.info/register/idn/">Policy</a></td> - </tr> - <tr> - <td>.io</td> - - <td><a href="http://www.nic.io">Registry</a></td> - <td><a href="http://www.nic.io/IO-IDN-Policy.pdf">Policy</a></td> - </tr> - <tr> - <td>.ir</td> - <td><a href="https://www.nic.ir/">Registry</a></td> - <td><a href="https://www.nic.ir/IDN">Policy</a></td> - - </tr> - <tr> - <td>.is</td> - <td><a href="http://www.isnic.is/">Registry</a></td> - <td><a href="http://www.isnic.is/english/domain/rules.php">Policy</a></td> - </tr> - <tr> - - <td>.jp</td> - <td><a href="http://jprs.co.jp/">Registry</a></td> - <td><a href="http://www.iana.org/assignments/idn/jp-japanese.html">Policy</a></td> - </tr> - <tr> - <td>.kr</td> - <td><a href="http://domain.nic.or.kr/">Registry</a></td> - - <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> - </tr> - <tr> - <td>.li</td> - <td><a href="http://www.switch.ch/id/">Registry</a></td> - <td><a href="http://www.switch.ch/id/terms/agb.html#anhang1">Policy</a> (managed by .ch registry)</td> - - </tr> - <tr> - <td>.lt</td> - <td><a href="http://www.domreg.lt/public?pg=&sp=&loc=en">Registry</a></td> - <td><a href="http://www.domreg.lt/public?pg=8A7FB6&sp=idn&loc=en">Policy</a> (<a href="http://www.domreg.lt/static/doc/public/idn_symbols-en.pdf">character list</a>)</td> - - </tr> - <tr> - <td>.museum</td> - <td><a href="http://about.museum/">Registry</a></td> - <td><a href="http://about.museum/idn/idnpolicy.html">Policy</a></td> - </tr> - <tr> - - <td>.no</td> - <td><a href="http://www.norid.no/">Registry</a></td> - <td><a href="http://www.norid.no/domeneregistrering/veiviser.en.html">Policy</a> (section 4)</td> - </tr> - <tr> - <td>.org</td> - - <td><a href="http://www.pir.org/">Registry</a></td> - <td><a href="http://pir.org/PDFs/ORG-Extended-Characters-22-Jan-07.pdf">Policy</a></td> - </tr> - <tr> - <td>.pl</td> - <td><a href="http://www.nask.pl/">Registry</a></td> - <td><a href="http://www.dns.pl/IDN/idn-registration-policy.txt">Policy</a></td> - - </tr> - <tr> - <td>.pr</td> - <td><a href="https://www.nic.pr/">Registry</a></td> - <td><a href="https://www.nic.pr/idn_rules.asp">Policy</a></td> - </tr> - <tr> - - <td>.se</td> - <td><a href="http://www.nic-se.se/">Registry</a></td> - <td><a href="http://www.iis.se/en/domaner/internationaliserad-doman-idn/">Policy</a> (<a href="http://www.iis.se/docs/teckentabell-03.pdf">character list</a>)</td> - </tr> - <tr> - - <td>.sh</td> - <td><a href="http://www.nic.sh">Registry</a></td> - <td><a href="http://www.nic.sh/SH-IDN-Policy.pdf">Policy</a></td> - </tr> - <tr> - <td>.th</td> - <td><a href="http://www.thnic.or.th/">Registry</a></td> - - <td><a href="http://www.iana.org/assignments/idn/th-thai.html">Policy</a></td> - </tr> - <tr> - <td>.tm</td> - <td><a href="http://www.nic.tm">Registry</a></td> - <td><a href="http://www.nic.tm/TM-IDN-Policy.pdf">Policy</a></td> - </tr> - - <tr> - <td>.tw</td> - <td><a href="http://www.twnic.net.tw/">Registry</a></td> - <td><a href="http://www.faqs.org/rfcs/rfc3743.html">Policy</a> (JET Guidelines)</td> - </tr> - <tr> - - <td>.vn</td> - <td><a href="http://www.vnnic.net.vn/">Registry</a></td> - <td><a href="http://www.vnnic.vn/english/5-6-300-2-2-04-20071115.htm">Policy</a> (<a href="http://vietunicode.sourceforge.net/tcvn6909.pdf">character list</a>)</td> - </tr> - </table> -</p> - -<p> -This criteria will apply to the email address and server host name fields for all certificate types. -</p> - -<p> -The CAcert Inc. Board has the authority to decide to add or remove accepted TLD Registrars on this list. -</p> - -<h3><a name="p3.2" id="p3.2">3.2. Initial Identity Verification</a></h3> - -<p> -Identity verification is controlled by the -<a href="http://svn.cacert.org/CAcert/Policies/AssurancePolicy.html"> -Assurance Policy</a> (<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>). -The reader is refered to the Assurance Policy, -the following is representative and brief only. -</p> - - -<h4><a name="p3.2.1" id="p3.2.1">3.2.1. Method to prove possession of private key</a></h4> - -<p> -CAcert uses industry-standard techniques to -prove the possession of the private key. -</p> - -<p> -For X.509 server certificates, -the stale digital signature of the CSR is verified. -For X.509 client certificates for "Netscape" browsers, -SPKAC uses a challenge-response protocol -to check the private key dynamically. -For X.509 client certificates for "explorer" browsers, -ActiveX uses a challenge-response protocol -to check the private key dynamically. -</p> - -<h4><a name="p3.2.2" id="p3.2.2">3.2.2. Authentication of Individual Identity</a></h4> - -<p> -<b>Agreement.</b> -An Internet user becomes a Member by agreeing to the -CAcert Community Agreement -(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>) -and registering an account on the online website. -During the registration process Members are asked to -supply information about themselves: -</p> - <ul> - <li>A valid working email. - </li> - <li>Full Name and Date of Birth such as is - found on Identity documents. - </li> - <li>Personal Questions used only for Password Retrieval.</li> - </ul> - -<p> -The online account establishes the method of authentication -for all service requests such as certificates. -</p> - -<p> -<b>Assurance.</b> -Each Member is assured according to Assurance Policy -(<a href="http://www.cacert.org/policy/AssurancePolicy.php">COD13</a>). -</p> - -<!-- <center><a href="http://xkcd.com/364/"> <img src="http://imgs.xkcd.com/comics/responsible_behavior.png"> </a> </center> --> - - - -<p> -<b>Certificates.</b> -Based on the total number of Assurance Points -that a Member (Name) has, the Member -can get different levels of certificates. -See <a href="#p1.4.5">§1.4.5</a>. -See Table 3.2.b. -When Members have 50 or more points, they -become <i>Assured Members</i> and may then request -certificates that state their Assured Name(s). -</p> - - -<br><br> -<center> - -<table border="1" cellpadding="5"> - <tr> - <th>Assurance Points</th> - <th>Level</th> - <th>Service</th> - <th>Comments</th> - </tr> - <tr> - <td>0</td> - <td>Unassured Member</td> - <td>Anonymous</td> - <td>Certificates with no Name, under Class 1 Root. Limited to 6 months expiry.</td> - </tr> - <tr> - <td>1-49</td> - <td>Unassured Member</td> - <td>Anonymous</td> - <td>Certificates with no Name under Member SubRoot. Limited to 6 months expiry.</td> - </tr> - <tr> - <td rowspan="1">50-99</td> - <td>Assured Member</td> - <td>Verified</td> - <td>Certificates with Verified Name for S/MIME, web servers, "digital signing." - Expiry after 24 months is available.</td> - </tr> - <tr> - <td rowspan="2">100++</td> - <td rowspan="2">Assurer</td> - <td>Code-signing</td> - <td>Can create Code-signing certificates </td> - </tr> -</table> - -<span class="figure">Table 3.2.b - How Assurance Points are used in Certificates</span> - -</center> -<br> - - - -<h4><a name="p3.2.3" id="p3.2.3">3.2.3. Authentication of organization identity</a></h4> - - -<p> -Verification of organisations is delegated by -the Assurance Policy to the -Organisation Assurance Policy -(<a href="http://www.cacert.org/policy/OrganisationAssurancePolicy.php">COD11</a>). -The reader is refered to the Organisation Assurance Policy, -the following is representative and brief only. -</p> - -<p> -Organisations present special challenges. -The Assurance process for Organisations is -intended to permit the organisational Name to -appear in certificates. -The process relies heavily on the Individual -process described above. -</p> - -<p> -Organisation Assurance achieves the standard -stated in the OAP, briefly presented here: -</p> - -<ol type="a"><li> - the organisation exists, - </li><li> - the organisation name is correct and consistent, - </li><li> - signing rights: requestor can sign on behalf of the organisation, and - </li><li> - the organisation has agreed to the terms of the - CAcert Community Agreement - (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>), - and is therefore subject to Arbitration. -</li></ol> - - <ul class="error"> - <li> As of the current time of writing, OA lacks critical documentation and there are bugs identified with no response.</li> - <li> <a href="http://wiki.cacert.org/wiki/PolicyDrafts/OrganisationAssurance">documented bugs</a>. </li> - <li> Therefore Organisations will not participate in the current audit cycle of roots. </li> - <li> See <a href="http://wiki.cacert.org/wiki/OrganisationAssurance">wiki</a> for any progress on this. </li> - </ul> - - -<h4><a name="p3.2.4" id="p3.2.4">3.2.4. Non-verified subscriber information</a></h4> - -<p> -All information in the certificate is verified, -see Relying Party Statement, §4.5.2. -</p> - - -<h4><a name="p3.2.5" id="p3.2.5">3.2.5. Validation of authority</a></h4> - -<p> -The authorisation to obtain a certificate is established as follows: -</p> - -<p> -<b>Addresses.</b> -The member claims authority over a domain or email address -when adding the address, <a href="#p4.1.2">§4.1.2</a>. -(Control is tested by means described in <a href="#p4.2.2">§4.2.2</a>.) -</p> - -<p> -<b>Individuals.</b> -The authority to participate as a Member is established -by the CAcert Community Agreement -(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>). -Assurances are requested by means of the signed CAP form. -</p> - -<p> -<b>Organisations.</b> -The authority for Organisation Assurance is established -in the COAP form, as signed by an authorised representative -of the organisation. -The authority for the -Organisation Administrator -(O-Admin) is also established on the -COAP form. -See Organisation Assurance Policy. -</p> - - -<h4><a name="p3.2.6" id="p3.2.6">3.2.6. Criteria for interoperation</a></h4> - -<p> -CAcert does not currently issue certificates to subordinate CAs -or other PKIs. -Other CAs may become Members, and are then subject to the -same reliance provisions as all Members. -</p> - -<h3><a name="p3.3" id="p3.3">3.3. Re-key Requests</a></h3> - -<p> -Via the Member's account. -</p> - -<h3><a name="p3.4" id="p3.4">3.4. Revocations Requests</a></h3> - -<p> -Via the Member's account. -In the event that the Member has lost the password, -or similar, the Member emails the support team who -either work through the lost-password questions -process or file a dispute. -</p> - - - -<!-- *************************************************************** --> -<h2><a name="p4" id="p4">4. CERTIFICATE LIFE-CYCLE OPERATIONAL REQUIREMENTS</a></h2> - -<p> -The general life-cycle for a new certificate for an Individual Member is: - -<ol><li> - Member adds claim to an address (domain/email). - </li><li> - System probes address for control. - </li><li> - Member creates key pair. - </li><li> - Member submits CSR with desired options (Anonymous Certificate, SSO, Root Certificate) . - </li><li> - System validates and accepts CSR based on - known information: claims, assurance, controls, technicalities. - </li><li> - System signs certificate. - </li><li> - System makes signed certificate available to Member. - </li><li> - Member accepts certificate. -</li></ol> - -</p> - -<p> -(Some steps are not applicable, such as anonymous certificates.) -</p> - - -<h3><a name="p4.1" id="p4.1">4.1. Certificate Application</a></h3> - -<h4><a name="p4.1.1" id="p4.1.1">4.1.1. Who can submit a certificate application</a></h4> - -<p> -Members may submit certificate applications. -On issuance of certificates, Members become Subscribers. -</p> - -<h4><a name="p4.1.2" id="p4.1.2">4.1.2. Adding Addresses</a></h4> - -<p> -The Member can claim ownership or authorised control of -a domain or email address on the online system. -This is a necessary step towards issuing a certificate. -There are these controls: -<ul><li> - The claim of ownership or control is legally significant - and may be referred to dispute resolution. - </li><li> - Each unique address can be handled by one account only. - </li><li> - When the Member makes the claim, - the certificate application system automatically initiates the - check of control, as below. -</li></ul> -</p> - -<h4><a name="p4.1.3" id="p4.1.3">4.1.3. Preparing CSR </a></h4> - -<p> -Members generate their own key-pairs. -The CAcert Community Agreement -(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">COD9</a>) -obliges the Member as responsible for security. -See CCA2.5, §9.6. -</p> - -<p> -The Certificate Signing Request (CSR) is prepared by the -Member for presentation to the automated system. -</p> - -<h3><a name="p4.2" id="p4.2">4.2. Certificate application processing</a></h3> - -<!-- states what a CA does on receipt of the request --> - -<p> -The CA's certificate application process is completely automated. -Requests, approvals and rejections are handled by the website system. -Each application should be processed in less than a minute. -</p> -<p> -Where certificates are requested for more than one -purpose, the requirements for each purpose must be -fulfilled. -</p> - -<!-- all sub headings in 4.2 are local, not from Chokhani. --> - -<h4><a name="p4.2.1" id="p4.2.1">4.2.1. Authentication </a></h4> - -<p> - The Member logs in to her account on the CAcert website - and thereby authenticates herself with username - and passphrase or with her CAcert client-side digital certificate. -</p> - -<h4><a name="p4.2.2" id="p4.2.2">4.2.2. Verifying Control</a></h4> - -<p> -In principle, at least two controls are placed on each address. -</p> - -<p> -<b><a name="ping">Email-Ping</a>.</b> -Email addresses are verified by means of an -<i><a name="ping">Email-Ping test</a></i>: -</p> - -<ul><li> - The system generates a cookie - (a random, hard-to-guess code) - and formats it as a string. - </li><li> - The system sends the cookie - to the Member in an email. - </li><li> - Once the Member receives the email, - she enters the cookie into the website. - </li><li> - The entry of the code verifies - control of that email account. -</li></ul> - -<p> -<b><a name="email">Email Control</a>.</b> -Email addresses for client certificates are verified by passing the -following checks: -</p> -<ol> - <li>An Email-ping test - is done on the email address. - </li> - <li>The Member must have signed a CAP form or equivalent, - and been awarded at least one Assurance point. - </li> -</ol> - -<p> -<b><a name="domain">Domain Control</a>.</b> -Domains addresses for server certificates are verified by passing two of the -following checks: -</p> -<ol> <li> - An Email-ping test - is done on an email address chosen from <i>whois</i> - or interpolated from the domain name. - </li> <li> - The system generates a cookie - which is then placed in DNS - by the Member. - </li> <li> - The system generates a cookie - which is then placed in HTTP headers or a text file on the website - by the Member. - </li> <li> - Statement by at least 2 Assurers about - ownership/control of the domain name. - </li> <li> - The system generates a cookie - which is then placed in whois registry information - by the Member. -</li> </ol> - -<p> -Notes. -<ul><li> - Other methods can be added from time to time by CAcert. - </li><li> - Static cookies should remain for the duration of a certificate - for occasional re-testing. - </li><li> - Dynamic tests can be repeated at a later time of CAcert's choosing. - </li><li> - Domain control checks may be extended to apply to email control - in the future. -</li></ul> -</p> - - <ul class="q"> - <li> As of the time of writing, only a singular Email-ping is implemented in the technical system. </li> - <li> A further approved check is the 1 pt Assurance. </li> - <li> Practically, this would mean that certificates can only be issued under Audit Roots to Members with 1 point. </li> - <li> Criteria DRC C.7.f, A.2.q, A.2.i indicate registry whois reading. Also A.2.h. </li> - <li> Current view is that this will be resolved in BirdShack. </li> - </ul> - -<h4><a name="p4.2.3" id="p4.2.3">4.2.3. Options Available</a></h4> - -<p> -The Member has options available: -</p> - -<ul> - <li>Each Email address that is verified - is available for Client Certificates. - </li> - <li>Each Domain address that is verified - is available for Server Certificates. - </li> - <li>If the Member is unassured then only the Member SubRoot is available. - </li> - <li>If the Member is Assured then both Assured Member and Member SubRoots - are available. - </li> - <li>If a Name is Assured then it may be - put in a client certificate or an OpenPGP signature. - </li> -</ul> - -<h4><a name="p4.2.4" id="p4.2.4">4.2.4. Client Certificate Procedures</a></h4> - -<p> -For an individual client certificate, the following is required. -<ul> - <li>The email address is claimed and added. </li> - <li>The email address is ping-tested. </li> - <li>For the Member Subroot, the Member must have - at least one point of Assurance and have signed a CAP form.</li> - <li>For the Assured Subroot, the Member must have - at least fifty points of Assurance. </li> - <li>To include a Name, the Name must be assured to at least fifty points. </li> - -</ul> -</p> - -<h4><a name="p4.2.5" id="p4.2.5">4.2.5. Server Certificate Procedures</a></h4> - -<p> -For a server certificate, the following is required: -<ul> - <li>The domain is claimed and added. </li> - <li>The domain is checked twice as above. </li> - <li>For the Member SubRoot, the Member must have - at least one point of Assurance and have signed a CAP form.</li> - <li>For the Assured SubRoot, the Member must have - at least fifty points of Assurance. </li> -</ul> - -</p> - -<h4><a name="p4.2.6" id="p4.2.6">4.2.6. Code-signing Certificate Procedures</a></h4> - -<p> -Code-signing certificates are made available to Assurers only. -They are processed in a similar manner to client certificates. -</p> - -<h4><a name="p4.2.7" id="p4.2.7">4.2.7. Organisation Domain Verification</a></h4> - -<p> -Organisation Domains are handled under the Organisation Assurance Policy -and the Organisation Handbook. -</p> - - <ul class="q"> - <li> As of time of writing, there is no Handbook for Organisation Assurers or for the Organisation, and the policy needs rework; so (audit) roots will not have OA certs .... </li> - <li> <a href="http://wiki.cacert.org/wiki/PolicyDrafts/OrganisationAssurance"> Drafts & |