Difference between revisions of "No Base String"

From IIW
Jump to: navigation, search
(Undo revision 3070 by Igiwydijok (Talk))
 
Line 1: Line 1:
=[http://enececufo.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 
 
'''Issue/Topic:''' No Base String
 
'''Issue/Topic:''' No Base String
  
Line 14: Line 13:
 
'''Discussion notes:'''
 
'''Discussion notes:'''
  
"No Base Strings - Signing JSON"
+
"No Base Strings - Signing JSON"
  
 
Examples:
 
Examples:
Line 22: Line 21:
 
.
 
.
 
base64url({
 
base64url({
"algorithm": "RSA256",
+
"algorithm": "RSA256",
"payload": base64url({"a":"b"})
+
"payload": base64url({"a":"b"})
 
})
 
})
  
Line 31: Line 30:
 
.
 
.
 
base64url({
 
base64url({
"algorithm": "AES256 RSA256",
+
"algorithm": "AES256 RSA256",
 
})
 
})
 
.
 
.
base64url(encrypt({"a":"b"}))
+
base64url(encrypt({"a":"b"}))
  
  
 
==== MULTISIG POSTCARD
 
==== MULTISIG POSTCARD
  
base64url(["base64(sigj)","base64(sig)"])
+
base64url(["base64(sigj)","base64(sig)"])
 
.
 
.
 
base64url({
 
base64url({
"algorithm": "HMAC256 HMAC256",
+
"algorithm": "HMAC256 HMAC256",
"iv": "1244"
+
"iv": "1244"
 
})
 
})
 
.
 
.
base64url(encrypt({"a":"b"}))
+
base64url(encrypt({"a":"b"}))
  
  
Line 52: Line 51:
  
 
base64url({
 
base64url({
"signature":base64url(sig),
+
"signature":base64url(sig),
"envelope":
+
"envelope":
 
base64url({
 
base64url({
"algorithm": "RSA256",
+
"algorithm": "RSA256",
 
})
 
})
"payload": base64url({"a":"b"})
+
"payload": base64url({"a":"b"})
 
})
 
})
  

Latest revision as of 16:06, 3 February 2011

Issue/Topic: No Base String

Session: Tuesday 2I

Conference: IIW-11 November 2-4, Mountain View, Complete Notes Page

Convener: Paul Tarjan

Notes-taker(s): Paul Tarjan

Tags:

Discussion notes:

"No Base Strings - Signing JSON"

Examples:

=== ENVELOPE base64url(sig) . base64url({ "algorithm": "RSA256", "payload": base64url({"a":"b"}) })


=== POSTCARD base64url(sig) . base64url({ "algorithm": "AES256 RSA256", }) . base64url(encrypt({"a":"b"}))


==== MULTISIG POSTCARD

base64url(["base64(sigj)","base64(sig)"]) . base64url({ "algorithm": "HMAC256 HMAC256", "iv": "1244" }) . base64url(encrypt({"a":"b"}))


=== JSON ENVELOPE

base64url({ "signature":base64url(sig), "envelope": base64url({ "algorithm": "RSA256", }) "payload": base64url({"a":"b"}) })

=== Votes Envelope is required? (required won) Postcard vs Envelope (postcard won) Dots vs JSON as the outer (dots won) Algorithm encodes profile (shove everything in the algo. Algorithm defines keys in envelope).