aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-12 22:43:44 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-12 22:43:44 -0400
commitc50a51d593e911c041dfb8fc2aaa1d857a5f67f7 (patch)
treee12e1460c52bd11a9f70db73537ccb287c56bffb /lib
parentdal_syntax, italics match fix (diff)
sysenv, switch default hash digest fingerprints to sha256 (rather than md5)
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/sysenv.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb
index cc21a6c9..f11cdcbd 100644
--- a/lib/sisu/v2/sysenv.rb
+++ b/lib/sisu/v2/sysenv.rb
@@ -200,7 +200,7 @@ module SiSU_Env
LANGUAGE_CODE => 'en', #change, unecessary duplication though currently used
MULTILINGUAL => true,
CONCORD_MAX => 260000,
- DIGEST => 'md5',
+ DIGEST => 'sha256',
WEBSERV_HOST_CGI => ' http://localhost',
WEBSERV_PORT_CGI => 8081, #8111,8123,8081
POSTGRESQL_USER => @@user, #'ralph', # change user !!!
@@ -1900,16 +1900,16 @@ WOK
case @rc['default']['digest']
when /^sha(?:2|256)?$/; 'sha256'
when /^md5$/; 'md5'
- else 'md5'
+ else 'sha256'
end
- else 'md5'
+ else 'sha256'
end
end
def length
case digest.type
when /sha256/; 64
when /md5/; 32
- else 32
+ else 64
end
end
def pattern