<feed xmlns='http://www.w3.org/2005/Atom'>
<title>srp_js.git/django/srpproject/templates, branch master</title>
<subtitle>[srp_js] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/'/>
<entry>
<title>INCOMPATIBLE: major restructuring of the repository</title>
<updated>2012-07-20T08:56:36+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2012-07-20T08:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=50de80c5e817476ac95a096c718a66f5555fcd05'/>
<id>50de80c5e817476ac95a096c718a66f5555fcd05</id>
<content type='text'>
* removed Django code - we're keeping the tests - so I hope the two can still be used together
* removed js packer - everyone has their own packaging strategy these days
* cleaned up the repository - we only have js so javascript directory does not make much sense
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* removed Django code - we're keeping the tests - so I hope the two can still be used together
* removed js packer - everyone has their own packaging strategy these days
* cleaned up the repository - we only have js so javascript directory does not make much sense
</pre>
</div>
</content>
</entry>
<entry>
<title>This adds a file 'utils.py' to simplify templating.</title>
<updated>2009-08-15T23:15:31+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-08-15T23:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=53dcb038bd5637bee2ee68fb380920b2b0d9febb'/>
<id>53dcb038bd5637bee2ee68fb380920b2b0d9febb</id>
<content type='text'>
Functions exist to create headers that include javascript files, and create javascript functions for login and registration. There are also
functions that create login and registration forms.

These functions don't necessarily account for everything a web developer might want to do, but it should simplify things for most developers and
provide guidelines for developers who want to build on top of this functionality.

Views.py now builds the login and register pages based on these functions. The register page now uses the login.html template, and the
register.html template should be deleted in the next release.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functions exist to create headers that include javascript files, and create javascript functions for login and registration. There are also
functions that create login and registration forms.

These functions don't necessarily account for everything a web developer might want to do, but it should simplify things for most developers and
provide guidelines for developers who want to build on top of this functionality.

Views.py now builds the login and register pages based on these functions. The register page now uses the login.html template, and the
register.html template should be deleted in the next release.

</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for logins without javascript. This is configurable on a site-by-site basis.</title>
<updated>2009-08-13T01:23:34+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-08-13T01:23:34+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=14fdb872579388fda701f3dd558776cf0b6f79cb'/>
<id>14fdb872579388fda701f3dd558776cf0b6f79cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rather than passing the necessary parameters to the SRP constructor, I've made them hidden fields in the form. This way a bookmarklet will be </title>
<updated>2009-08-12T23:30:24+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-08-12T23:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=24065d78f50b2fba32d63da58fa67407b22e6451'/>
<id>24065d78f50b2fba32d63da58fa67407b22e6451</id>
<content type='text'>
able to read the fields, and authentication can be done without trusting the javascript sent by the server.

I also organized urls.py

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
able to read the fields, and authentication can be done without trusting the javascript sent by the server.

I also organized urls.py

</pre>
</div>
</content>
</entry>
<entry>
<title>When upgrading the user from a non-srp account to an SRP account, the client must send the server the password. I wasn't happy about doing this </title>
<updated>2009-08-12T17:01:23+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-08-12T17:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=124ef39cb84dec12d21a36e98039e6a5042e7317'/>
<id>124ef39cb84dec12d21a36e98039e6a5042e7317</id>
<content type='text'>
in plaintext, so I've incorporated slowAES on both the client and the server to encrypt the password before it is sent, using the key generated 
in the first SRP transaction.


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in plaintext, so I've incorporated slowAES on both the client and the server to encrypt the password before it is sent, using the key generated 
in the first SRP transaction.


</pre>
</div>
</content>
</entry>
<entry>
<title>This update separates the register functionality from the login library. The login script is now .3 kb smaller, but there is a new 1.1 kb </title>
<updated>2009-08-07T03:38:03+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-08-07T03:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=29e50956daeadaa6786b7cf34ab96387e5295bb6'/>
<id>29e50956daeadaa6786b7cf34ab96387e5295bb6</id>
<content type='text'>
register file. I think that registrations are rare enough relative to logins that this should be a worthwhile tradeoff. This also prepares a 
framework for importing an update file, which will allow existing installations to upgrade from less secure authentication protocols, so some of 
the overhead in srp.js that was added here will help reduce the size as we add the update functionality.


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
register file. I think that registrations are rare enough relative to logins that this should be a worthwhile tradeoff. This also prepares a 
framework for importing an update file, which will allow existing installations to upgrade from less secure authentication protocols, so some of 
the overhead in srp.js that was added here will help reduce the size as we add the update functionality.


</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed srp.js for IE6.</title>
<updated>2009-07-28T18:29:33+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-07-28T18:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=dc8c2fc707819fd6d4cacb0ce256d30972861545'/>
<id>dc8c2fc707819fd6d4cacb0ce256d30972861545</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>In this update we use jsPacker.pl to combine and compress javascript </title>
<updated>2009-07-28T17:59:43+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-07-28T17:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=4396bb0cd1bd2d3ac6943224524b1f5a4b477d30'/>
<id>4396bb0cd1bd2d3ac6943224524b1f5a4b477d30</id>
<content type='text'>
files. Instead of sending 6 javascript files totaling about 50KB, we 
now send 1 file totaling 21.1KB. 

After modifying any javascript files, run build-pack.sh to update 
srp.min.js. 

The login.html and register.html templates have been changed to send 
the one packed file. The file srp.js was modified so that it would pack 
properly.

Necessary files from the perl version of packer are included, but they 
shouldn't be included on production web servers. The packer files are 
released under the LGPL.


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
files. Instead of sending 6 javascript files totaling about 50KB, we 
now send 1 file totaling 21.1KB. 

After modifying any javascript files, run build-pack.sh to update 
srp.min.js. 

The login.html and register.html templates have been changed to send 
the one packed file. The file srp.js was modified so that it would pack 
properly.

Necessary files from the perl version of packer are included, but they 
shouldn't be included on production web servers. The packer files are 
released under the LGPL.


</pre>
</div>
</content>
</entry>
<entry>
<title>Moved register and login page to templates rather than cluttering views.py. Also added a 'key' function to the SRP javascript library, in case anyone wants to use K for encrypting communications.</title>
<updated>2009-07-25T17:13:27+00:00</updated>
<author>
<name>ausiv4</name>
<email>ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5</email>
</author>
<published>2009-07-25T17:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/srp_js.git/commit/?id=422e476f496d944f0713484cbe0ee11b180cb12d'/>
<id>422e476f496d944f0713484cbe0ee11b180cb12d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
