Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
7c7c547131
missing headers
2005-09-03 21:26:04 +00:00
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +00:00
Glenn Maynard
e77a860f60
fix !HAVE_CRYPTOPP
2005-06-02 08:33:38 +00:00
Glenn Maynard
812c1d5f45
isolate low-level crypto stuff in CryptHelpers, so it can be used without dragging in PREFSMAN
2005-05-20 04:48:29 +00:00
Glenn Maynard
e1c1a6db20
fix messages
2005-05-20 03:50:47 +00:00
Glenn Maynard
57d9817c5c
split out crypto++-specific signing code; prefer to create our own RageFileBasic
2005-05-20 01:42:25 +00:00
Glenn Maynard
f098157a4f
split out crypto++-specific verify code; prefer to create our own RageFileBasic
2005-05-20 01:19:47 +00:00
Glenn Maynard
54bed650e4
check size before reading
2005-05-20 01:02:56 +00:00
Glenn Maynard
1cc8495a26
simplify: read files ourselves
2005-05-20 00:58:09 +00:00
Glenn Maynard
b547c631e6
simplify: read files ourselves, don't bother using SecByteBlock
2005-05-20 00:45:05 +00:00
Glenn Maynard
aa5c8699fb
allow validating from alternate keys
...
fix missing HAVE_CRYPTOPP defs
2005-05-19 21:27:14 +00:00
Glenn Maynard
d406068148
reduce crypto++ code by doing our own file writing (simpler)
2005-05-19 21:21:37 +00:00
Chris Danford
e836c16466
stub out cryptopp for Xbox
2005-04-27 01:17:47 +00:00
Glenn Maynard
c9e7232970
better error messages
2005-04-24 22:04:39 +00:00
Glenn Maynard
73caca5eea
Use NonblockingRng instead of AutoSeededRandomPool. AutoSeededRandomPool allows adding entropy from various sources, but we only have one source (the OS's random number generation). If we really want to seed entropy from multiple sources, we can use the code in crypto/ from Putty, which does the same thing in a tiny fraction of the code.
2005-01-15 02:36:07 +00:00
Glenn Maynard
367f192d6d
create keys with the same object that we sign/verify; not instantiating encrypt/decrypt objects saves ~100k stripped
2005-01-14 01:57:56 +00:00
Glenn Maynard
3d3f3a4702
fix compile on archs without OS_RNG_AVAILABLE
2004-06-15 01:46:03 +00:00
Glenn Maynard
733127d8ed
license update
2004-06-08 01:24:17 +00:00
Glenn Maynard
c53220b05e
fix CryptManager::GenerateRSAKey errors being fatal
2004-05-26 03:27:43 +00:00
Chris Danford
a12cc31f3a
add size check for signature files
2004-05-22 19:50:16 +00:00
Chris Danford
633133f19f
clean up key file names
2004-05-16 22:16:42 +00:00
Glenn Maynard
604f5badd4
unneeded
2004-05-14 22:20:00 +00:00
Glenn Maynard
fb8c64b387
crypto51 debug/release libraries were swapped
...
always link to release; we can't be uploading a 6.5 meg debug .lib every
time something in crypto51 changes
2004-05-14 05:45:46 +00:00
Glenn Maynard
031bf4c242
cleanup
2004-05-14 01:04:53 +00:00
Glenn Maynard
e959c76b9e
cleanup
2004-05-14 00:58:05 +00:00
Glenn Maynard
6e399ab8ab
use Putty code for MD5
2004-05-14 00:31:53 +00:00
Glenn Maynard
7da7aa9c85
cleanup
2004-05-13 23:43:12 +00:00
Glenn Maynard
0e7ba7af0b
fix crash on signature error
2004-05-13 23:40:55 +00:00
Chris Danford
890cac4c24
Putty -> Crypto++
2004-05-13 06:02:32 +00:00
Chris Danford
d30a6fe77b
don't throw if files are missing
2004-05-03 00:33:45 +00:00
Chris Danford
063c2cf3a4
keep a Guid in Profile
2004-03-14 17:49:38 +00:00
Glenn Maynard
6ad0103404
calling GetMD5 is OK when !PREFSMAN->m_bSignProfileData
2004-02-22 04:47:35 +00:00
Chris Danford
455d4a8383
profile cleanup
2004-02-22 02:15:34 +00:00
Glenn Maynard
5b56831893
crypt
2004-02-20 02:28:23 +00:00
Glenn Maynard
ea16b3206a
Data/
2004-02-19 04:01:14 +00:00
Glenn Maynard
2bf9431f04
dupe defs
2004-02-19 04:00:36 +00:00
Chris Danford
fc72e9479c
Don't load an unreasonably large editable.xml file
2004-02-19 03:56:03 +00:00
Glenn Maynard
e0bf756122
s/SIGNATURE_POSPEND/SIGNATURE_APPEND/
...
Disable crypto stuff for alpha 13, until some issues are worked out with
it (makes the enormous Linux binary extra-enormous, doesn't work in
Linux, doesn't compile on Mac and old Linux)
2004-02-17 22:25:13 +00:00
Chris Danford
d1a3f1fbde
add grade counts, screenshots to stats.html
2004-02-17 01:16:57 +00:00
Chris Danford
be49e33c53
add grade count and screenshots sections to stats.html
2004-02-16 09:23:34 +00:00
Chris Danford
6754c850df
Profile HTML fixes
2004-02-16 05:35:06 +00:00
Glenn Maynard
aaeb5981fa
don't generate keys right now; it's crashing in Linux
2004-02-15 23:34:31 +00:00
Glenn Maynard
c9240bd7c3
fix includes
2004-02-15 05:56:46 +00:00
Chris Danford
5cc79c5f2b
create keypair on startup if one doesn't already exist
2004-02-15 05:45:18 +00:00
Chris Danford
3d69b6e0ec
sign all files in a profile
...
make RageFile filters for use with Crypt++
2004-02-15 04:47:32 +00:00