diff --git a/includes/cacert.sql b/includes/cacert.sql index d1af637..3252325 100644 --- a/includes/cacert.sql +++ b/includes/cacert.sql @@ -1,20 +1,12 @@ -# phpMyAdmin SQL Dump -# version 2.5.7-pl1 -# http://www.phpmyadmin.net -# -# Host: localhost -# Generation Time: Dec 07, 2004 at 01:01 AM -# Server version: 4.0.22 -# PHP Version: 4.3.9-1 -# -# Database : `cacert` -# - -# -------------------------------------------------------- - -# -# Table structure for table `alerts` -# +-- MySQL dump 9.11 +-- +-- Host: localhost Database: cacert +-- ------------------------------------------------------ +-- Server version 4.0.22_Debian-6-log + +-- +-- Table structure for table `alerts` +-- CREATE TABLE `alerts` ( `memid` int(11) NOT NULL default '0', @@ -25,11 +17,9 @@ CREATE TABLE `alerts` ( PRIMARY KEY (`memid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `countries` -# +-- +-- Table structure for table `countries` +-- CREATE TABLE `countries` ( `id` int(11) NOT NULL auto_increment, @@ -38,17 +28,16 @@ CREATE TABLE `countries` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `domaincerts` -# +-- +-- Table structure for table `domaincerts` +-- CREATE TABLE `domaincerts` ( `id` int(11) NOT NULL auto_increment, `domid` int(11) NOT NULL default '0', `serial` varchar(50) NOT NULL default '', `CN` varchar(255) NOT NULL default '', + `subject` text NOT NULL, `csr_name` varchar(255) NOT NULL default '', `crt_name` varchar(255) NOT NULL default '', `created` datetime NOT NULL default '0000-00-00 00:00:00', @@ -59,11 +48,9 @@ CREATE TABLE `domaincerts` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `domains` -# +-- +-- Table structure for table `domains` +-- CREATE TABLE `domains` ( `id` int(11) NOT NULL auto_increment, @@ -77,11 +64,9 @@ CREATE TABLE `domains` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `domlink` -# +-- +-- Table structure for table `domlink` +-- CREATE TABLE `domlink` ( `certid` int(11) NOT NULL default '0', @@ -89,11 +74,9 @@ CREATE TABLE `domlink` ( UNIQUE KEY `index` (`certid`,`domid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `email` -# +-- +-- Table structure for table `email` +-- CREATE TABLE `email` ( `id` int(11) NOT NULL auto_increment, @@ -107,11 +90,9 @@ CREATE TABLE `email` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `emailcerts` -# +-- +-- Table structure for table `emailcerts` +-- CREATE TABLE `emailcerts` ( `id` int(11) NOT NULL auto_increment, @@ -120,6 +101,7 @@ CREATE TABLE `emailcerts` ( `CN` varchar(255) NOT NULL default '', `subject` text NOT NULL, `keytype` char(2) NOT NULL default 'NS', + `codesign` tinyint(1) NOT NULL default '0', `csr_name` varchar(255) NOT NULL default '', `crt_name` varchar(255) NOT NULL default '', `created` datetime NOT NULL default '0000-00-00 00:00:00', @@ -130,11 +112,9 @@ CREATE TABLE `emailcerts` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `emaillink` -# +-- +-- Table structure for table `emaillink` +-- CREATE TABLE `emaillink` ( `emailcertsid` int(11) NOT NULL default '0', @@ -142,11 +122,9 @@ CREATE TABLE `emaillink` ( KEY `index` (`emailcertsid`,`emailid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `gpg` -# +-- +-- Table structure for table `gpg` +-- CREATE TABLE `gpg` ( `id` int(11) NOT NULL auto_increment, @@ -162,11 +140,9 @@ CREATE TABLE `gpg` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `locations` -# +-- +-- Table structure for table `locations` +-- CREATE TABLE `locations` ( `id` int(11) NOT NULL auto_increment, @@ -181,11 +157,9 @@ CREATE TABLE `locations` ( UNIQUE KEY `thekey` (`ccid`,`regid`,`abbr`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `news` -# +-- +-- Table structure for table `news` +-- CREATE TABLE `news` ( `id` int(11) NOT NULL auto_increment, @@ -196,29 +170,27 @@ CREATE TABLE `news` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `notary` -# +-- +-- Table structure for table `notary` +-- CREATE TABLE `notary` ( `from` int(11) NOT NULL default '0', `to` int(11) NOT NULL default '0', `points` int(3) NOT NULL default '0', - `method` enum('Face to Face Meeting','Trusted 3rd Parties','Thawte Points Transfer','Administrative Increase','CT Magazine - Germany') NOT NULL default 'Face to Face Meeting', + `method` enum('Face to Face Meeting','Trusted 3rd Parties','Thawte Points Transfer','Administrative Increase','CT Magazine - Germany','Temporary Increase') NOT NULL default 'Face to Face Meeting', `location` varchar(255) NOT NULL default '', `date` varchar(255) NOT NULL default '', `when` datetime NOT NULL default '0000-00-00 00:00:00', + `expire` datetime NOT NULL default '0000-00-00 00:00:00', + `sponsor` int(11) NOT NULL default '0', KEY `from` (`from`), KEY `to` (`to`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `org` -# +-- +-- Table structure for table `org` +-- CREATE TABLE `org` ( `orgid` int(11) NOT NULL default '0', @@ -229,11 +201,9 @@ CREATE TABLE `org` ( UNIQUE KEY `orgid` (`orgid`,`memid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orgdomaincerts` -# +-- +-- Table structure for table `orgdomaincerts` +-- CREATE TABLE `orgdomaincerts` ( `id` int(11) NOT NULL auto_increment, @@ -250,11 +220,9 @@ CREATE TABLE `orgdomaincerts` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orgdomains` -# +-- +-- Table structure for table `orgdomains` +-- CREATE TABLE `orgdomains` ( `id` int(11) NOT NULL auto_increment, @@ -263,11 +231,9 @@ CREATE TABLE `orgdomains` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orgdomlink` -# +-- +-- Table structure for table `orgdomlink` +-- CREATE TABLE `orgdomlink` ( `orgcertid` int(11) NOT NULL default '0', @@ -275,11 +241,9 @@ CREATE TABLE `orgdomlink` ( UNIQUE KEY `index` (`orgcertid`,`orgdomid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orgemailcerts` -# +-- +-- Table structure for table `orgemailcerts` +-- CREATE TABLE `orgemailcerts` ( `id` int(11) NOT NULL auto_increment, @@ -297,11 +261,9 @@ CREATE TABLE `orgemailcerts` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orgemaillink` -# +-- +-- Table structure for table `orgemaillink` +-- CREATE TABLE `orgemaillink` ( `emailcertsid` int(11) NOT NULL default '0', @@ -309,11 +271,9 @@ CREATE TABLE `orgemaillink` ( KEY `index` (`emailcertsid`,`domid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `orginfo` -# +-- +-- Table structure for table `orginfo` +-- CREATE TABLE `orginfo` ( `id` int(11) NOT NULL auto_increment, @@ -326,11 +286,9 @@ CREATE TABLE `orginfo` ( PRIMARY KEY (`id`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `regions` -# +-- +-- Table structure for table `regions` +-- CREATE TABLE `regions` ( `id` int(11) NOT NULL auto_increment, @@ -342,11 +300,9 @@ CREATE TABLE `regions` ( UNIQUE KEY `ccid` (`id`,`ccid`) ) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `users` -# +-- +-- Table structure for table `users` +-- CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, @@ -381,3 +337,4 @@ CREATE TABLE `users` ( `deleted` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) TYPE=MyISAM; + diff --git a/www/src-lic.php b/www/src-lic.php index 26590da..3600c58 100644 --- a/www/src-lic.php +++ b/www/src-lic.php @@ -1,7 +1,7 @@