[Standards] oauth signature

Fabio Forno fabio.forno at gmail.com
Sun Feb 15 20:25:05 UTC 2009


On Sun, Feb 15, 2009 at 7:54 PM, Seth Fitzsimmons <seth at mojodna.net> wrote:

[...]
> This was calculated using my fork of the OAuth gem
> (github.com/mojodna/oauth - `sudo gem install mojodna-oauth`):
>

Thanks, I was getting the same signature string with my python code,
now I know it's correct ;)

I gave a try to the ruby gem too (installed switchboard, fire-hydrant
and oauth with "sudo gem install mojodna-oauth -s
http://gems.github.com"), but while switchboard works fine I can't run
the oauth gem, since I get

/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- net/https (LoadError)
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /var/lib/gems/1.8/gems/mojodna-oauth-0.3.1.6/lib/oauth/consumer.rb:2
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /var/lib/gems/1.8/gems/mojodna-oauth-0.3.1.6/lib/oauth/client/helper.rb:2
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /var/lib/gems/1.8/gems/mojodna-oauth-0.3.1.6/lib/oauth.rb:2
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /var/lib/gems/1.8/gems/mojodna-oauth-0.3.1.6/lib/oauth/cli.rb:2
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /var/lib/gems/1.8/gems/mojodna-oauth-0.3.1.6/bin/oauth:3
        from /var/lib/gems/1.8/bin/oauth:19:in `load'
        from /var/lib/gems/1.8/bin/oauth:19


(installed also other gems that were missing, but I can't figure out
what is missing now, since I really don't know ruby)

> Note: You may want to use bare JIDs in your URI.

Is fireagle using bare JIDs? Or should the xep be fixed?

> Signature:         9PQkM4YKgaM067wqrDGshXOwDW0=
> Escaped signature: 9PQkM4YKgaM067wqrDGshXOwDW0%3D
>
> I hope this helps.
> seth

sure, thanks!
-- 
Fabio Forno, Ph.D.
Bluendo srl http://www.bluendo.com
jabber id: ff at jabber.bluendo.com



More information about the Standards mailing list