• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Salmon Protocol - OpenWebTO
 

Salmon Protocol - OpenWebTO

on

  • 1,539 views

Presentation on the salmon protocol, given 2010-09-20 for the OpenWebTO group.

Presentation on the salmon protocol, given 2010-09-20 for the OpenWebTO group.

Statistics

Views

Total Views
1,539
Views on SlideShare
1,525
Embed Views
14

Actions

Likes
0
Downloads
7
Comments
0

2 Embeds 14

http://coderwall.com 13
https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Salmon Protocol - OpenWebTO Salmon Protocol - OpenWebTO Presentation Transcript

    • Salmon Protocol #OpenWebTO : September 20, 2010
    • what is it?
    • Salmon aims to define a standard protocol forcomments and annotations to swim upstream to original update sources -- and spawn more commentary in a virtuous cycle.
    • trackback 2.0
    • how does it work?
    • salmon flowcontent1 is submitteddiscovery performed to get thetargets salmon endpoint 2content is signed3 and postedsignature verified4 and contenthandled5
    • content 1Currently implementations in AtomSpecs also list JSONWhere or how the content isgenerated is (wisely) unspecified.
    • discovery 2Using LRDD / Host-meta (akawebfinger)Determine rel="salmon" endpoint(no centralized registry!)
    • signed3we dont want posts from anywhere(i.e. trackback)uses magic signatures*thats right, magic.
    • verified4signed data is unfoldedauthor determined - discoveryperformed for the author public keyRSA signature verificationperformed
    • handled5what the receiver does with thecontent is (wisely) out of scopesuggestions for two patterns: reply: specify atom thr:in-reply- to mention: include rel="mentioned"
    • magic signatures A lightweight, robust mechanism for digitallysigning nearly arbitrary messages, along with a simple public key infrastructure.
    • <?xml version=1.0 encoding=UTF-8?><entry xmlns=http://www.w3.org/2005/Atom> <id>tag:example.com,2009:cmt-0.44775718</id> <author><name>test@example.com</name><uri>bob@example.com</uri></author> <thr:in-reply-to xmlns:thr=http://purl.org/syndication/thread/1.0 ref=tag:blogger.com,1999:blog-893591374313312737.post-3861663258538857954> tag:blogger.com,1999:blog-893591374313312737.post-3861663258538857954 </thr:in-reply-to> <content>Salmon swim upstream!</content> <title>Salmon swim upstream!</title> <updated>2009-12-18T20:04:03Z</updated></entry>
    • POST /all-replies-endpoint HTTP/1.1Host: example.orgContent-Type: application/magic-envelope+xml<?xml version=1.0 encoding=UTF-8?><me:env xmlns:me=http://salmon-protocol.org/ns/magic-env> <me:data type=application/atom+xml> PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4KPGVudHJ5IHhtbG5zPSdod HRwOi8vd3d3LnczLm9yZy8yMDA1L0F0b20nPgogIDxpZD50YWc6ZXhhbXBsZS5jb20sMjAwOT pjbXQtMC40NDc3NTcxODwvaWQ-ICAKICA8YXV0aG9yPjxuYW1lPnRlc3RAZXhhbXBsZS5jb20 8L25hbWU-PHVyaT5ib2JAZXhhbXBsZS5jb208L3VyaT48L2F1dGhvcj4KICA8dGhyOmluLXJl cGx5LXRvIHhtbG5zOnRocj0naHR0cDovL3B1cmwub3JnL3N5bmRpY2F0aW9uL3RocmVhZC8xL jAnCiAgICAgIHJlZj0ndGFnOmJsb2dnZXIuY29tLDE5OTk6YmxvZy04OTM1OTEzNzQzMTMzMT I3MzcucG9zdC0zODYxNjYzMjU4NTM4ODU3OTU0Jz50YWc6YmxvZ2dlci5jb20sMTk5OTpibG9 nLTg5MzU5MTM3NDMxMzMxMjczNy5wb3N0LTM4NjE2NjMyNTg1Mzg4NTc5NTQKICA8L3Rocjpp bi1yZXBseS10bz4KICA8Y29udGVudD5TYWxtb24gc3dpbSB1cHN0cmVhbSE8L2NvbnRlbnQ-C iAgPHRpdGxlPlNhbG1vbiBzd2ltIHVwc3RyZWFtITwvdGl0bGU-CiAgPHVwZGF0ZWQ-MjAwOS 0xMi0xOFQyMDowNDowM1o8L3VwZGF0ZWQ-CjwvZW50cnk-CiAgICA= </me:data> <me:encoding>base64url</me:encoding> <me:alg>RSA-SHA256</me:alg> <me:sig> cAIu8VKIhs3WedN91L3ynLT3GbZFhbVidDn-skGetENVH-3EguaYIjlPTq7Ieraq4SD BknM9STM9DR90kveUrw== </me:sig></me:env>
    • what is it good for?
    • a little demo...
    • more infohttp://salmon-protocol.org/