Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

[interchange] Document UserDB encryption method parameters in source code comments.

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Apr 1, 2011, 11:39 PM

Post #1 of 1 (253 views)
Permalink
[interchange] Document UserDB encryption method parameters in source code comments.

commit 1c11564db79eda0150909316881fa6b32bd3cb90
Author: Daniel Browning <db [at] kavod>
Date: Fri Apr 1 19:39:34 2011 -0700

Document UserDB encryption method parameters in source code comments.

lib/Vend/UserDB.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm
index f74af93..a17b461 100644
--- a/lib/Vend/UserDB.pm
+++ b/lib/Vend/UserDB.pm
@@ -46,6 +46,11 @@ if ($@) {
::logGlobal("SHA1 passwords disabled: $@");
}

+# The object encryption methods take three arguments: object, password, and
+# mystery meat. If called in the context of new_account(), the mystery meat
+# is the salt (which is not always used). If called in the context of
+# login(), then the mystery meat is the entire password field from the
+# database (with salt, if applicable).
my %enc_subs = (
default => sub {
my $obj = shift;

_______________________________________________
interchange-cvs mailing list
interchange-cvs [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.