Code Monkey home page Code Monkey logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024

Original comment by arkajit.dey on 6 Aug 2008 at 11:15

  • Changed title: Add Url Signer to Python Keyczar

from keyczar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
I can't find the URL Signer in the java code.  Was this feature removed?  If 
so, is this feature request still valid?  If not, is there documentation for 
the format somewhere?

Original comment by dgryski on 20 Jan 2012 at 2:14

from keyczar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
I don't know of any "URL signer", and don't see why a special-purpose URL 
signing construct would be needed.  The normal signing classes could be used to 
sign URLs.

Let's see if one of the old hands will chime in here.  Steve?

Original comment by [email protected] on 20 Jan 2012 at 2:32

from keyczar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
There is a Java URI signer under "experimental":
http://code.google.com/p/keyczar/source/browse/java/code/src/org/keyczar/experim
ental/UriSigner.java

This is a convenience class that canonicalizes URIs by sorting query parameters 
in lexicographic order before signing. The idea is that signing "a=1&b=2" will 
have the same signature as "b=2&a=1".

Another common case, which is not covered, are additional parameters that may 
be added on after the fact and are not relevant to the signature. To deal with 
that, you could associate a whitelist of signed parameter names with a key and 
ignore anything else. That's not implemented here, though.

This code could probably be dumped if nobody is using it. That's why it's under 
"experimental".

Original comment by [email protected] on 23 Jan 2012 at 5:04

from keyczar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.