aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #21 from elithrar/json-encoderKamil Kisiel2015-06-062-10/+82
|\ \ | |/ |/| Added support for encoding/json
| * Merge branch 'json-encoder' of github.com:elithrar/securecookie into ↵Matt Silverlock2015-05-201-1/+1
| |\ | | | | | | | | | json-encoder
| | * Fixed typo - TestEncription => TestEncryptionMatt Silverlock2015-05-161-1/+1
| | |
| | * Added a JSON encoder/decoder to securecookie.Matt Silverlock2015-05-162-7/+79
| |/ |/| | | | | | | | | | | A new "Encoder" interface with serialize/deserialize methods allows custom encoders to be specified. encoding/gob remains the default for compatibility/ease-of-use reasons, but the (often faster) encoding/json is now an option.
* | Merge pull request #19 from dchest/testinvalidKamil Kisiel2015-03-271-0/+22
|\ \ | | | | | | Add test for decoding some invalid cookies.
| | * Added a JSON encoder/decoder to securecookie.Matt Silverlock2015-05-202-10/+82
| |/ | | | | | | | | | | | | | | | | A new "Serializer" interface with serialize/deserialize methods allows custom encoders to be specified. encoding/gob remains the default for compatibility/ease-of-use reasons, but the (often faster) encoding/json is now an option. Fixed typo - TestEncription => TestEncryption
| * Add test for decoding some invalid cookies.Dmitry Chestnykh2015-03-271-0/+22
|/
* Revert "Improve Decode against timing attacks"Kamil Kisiel2015-03-271-27/+16
| | | | This reverts commit 1be1b717b743c89f2393561985403b51bc192255.
* Revert "Commenting retErr and setErr in Decode"Kamil Kisiel2015-03-271-5/+0
| | | | This reverts commit c7a729999d0c3e51964bd30c05547fac82f6527d.
* Revert "A few more comments on decoding."Kamil Kisiel2015-03-271-3/+0
| | | | This reverts commit a54a6f264e283c7afd37f9d7a772965e7a72408c.
* A few more comments on decoding.Kamil Kisiel2015-03-181-0/+3
|
* Merge pull request #16 from elithrar/patch-1Kamil Kisiel2015-03-181-1/+1
|\ | | | | Removed redundant calls to len()
| * Removed redundant calls to len()Matt Silverlock2015-03-181-1/+1
| | | | | | subtle.ConstantTimeCompare already undertakes a length check internally.
* | Merge pull request #15 from abduelhamit/masterKamil Kisiel2015-03-182-22/+48
|\ \ | |/ |/| Improve Decode against timing attacks
| * Commenting retErr and setErr in DecodeAbdülhamit Yilmaz2015-03-181-0/+5
| |
| * Improve Decode against timing attacksAbdülhamit Yilmaz2015-03-171-16/+27
| |
| * Add TestMissingKeyAbdülhamit Yilmaz2015-03-171-0/+10
| |
| * Omit unnecessary `else`sAbdülhamit Yilmaz2015-03-171-6/+6
|/ | | | See http://golang.org/doc/effective_go.html#else
* Fix broken error message on invalid MAC.Kamil Kisiel2015-02-031-1/+1
| | | | Fixes #13.
* Merge pull request #11 from dominikh/masterKamil Kisiel2014-11-201-3/+3
|\ | | | | say that we create a key of a certain length, not strength
| * say that we create a key of a certain length, not strengthDominik Honnef2014-11-201-3/+3
|/
* Merge pull request #7 from hjr265/masterKamil Kisiel2014-04-091-1/+3
|\ | | | | Expose ErrMacInvalid
| * Merge branch 'fix-6'Mahmud Ridwan2014-04-091-1/+3
|/|
| * Expose ErrMacInvalid; fixes gorilla/securecookie#6Mahmud Ridwan2014-04-091-1/+3
|/
* Add go 1.2 to travis.ymlKamil Kisiel2013-12-051-0/+1
|
* Add Travis badgeKamil Kisiel2013-12-011-1/+2
|
* Add travis.ymlKamil Kisiel2013-12-012-5/+14
|
* Better errors for {En,De}codeMulti.Kamil Kisiel2013-10-172-4/+25
|
* Merge pull request #2 from jtdowney/masterKamil Kisiel2013-01-021-2/+2
|\ | | | | Fix description for Encode
| * Fix description for EncodeJohn Downey2013-01-011-2/+2
|/
* Use the same MultiError version from the App Engine SDK.moraes2012-10-131-6/+9
|
* Better errors for EncodeMulti and DecodeMulti. Closes #1.moraes2012-10-132-2/+42
|
* Initial files.moraes2012-10-034-0/+626
|
* Initial commitrodrigo moraes2012-10-031-0/+2