From e1e9050522ede1b6b7efad67d7b29255a7b083d1 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Mon, 10 Nov 2014 18:14:51 +0100 Subject: [PATCH] Fix DB schema by adding missing hash algorithms --- TODO | 1 - db/fic2014.sql | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO b/TODO index c19e8c63..c755440e 100644 --- a/TODO +++ b/TODO @@ -3,4 +3,3 @@ - Retrouver toutes les dépendances - Ajouter dans la conf de nginx un ssl_dhparam + générer le fichier dans un script - Mettre à jour Smarty (et passer en « secure mode » ?) -- Admin, exercice: pas normal qu'il y ait des réponses RAW dans les data de tests diff --git a/db/fic2014.sql b/db/fic2014.sql index 0b8f5e2c..ea48d5c5 100644 --- a/db/fic2014.sql +++ b/db/fic2014.sql @@ -68,7 +68,7 @@ CREATE TABLE IF NOT EXISTS `exercice_tries` ( CREATE TABLE IF NOT EXISTS `exercice_keys` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_exercice` varchar(100) COLLATE utf8_unicode_ci NOT NULL, - `format` enum('raw','md5','sha1','sha256','sha512') COLLATE utf8_unicode_ci NOT NULL, + `format` enum('raw','md5','sha1','sha224','sha256','sha384','sha512','whirlpool') COLLATE utf8_unicode_ci NOT NULL, `value` varbinary(150) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;