Foaf+ssl

33
Autentificación Distribuida en la Web: FOAF+SSL Philippe Camacho Universidad de Chile II Workshop “Web de Datos” Noviembre 2010

description

Presentación del protocolo FOAF+SSL durante el segundo workshop

Transcript of Foaf+ssl

Page 1: Foaf+ssl

Autentificación Distribuida en la Web:

FOAF+SSL

Philippe Camacho

Universidad de Chile II Workshop “Web de Datos”

Noviembre 2010

Page 2: Foaf+ssl

Problema

Hola, soy Bob

¿Qué tal Bob?

Page 3: Foaf+ssl

Problema

Hola, soy Bob

¿Qué tal Bob?

Page 4: Foaf+ssl

¿De qué Bob estamos hablando?

Identidad

Page 5: Foaf+ssl

Problema

Hola, soy Bob Marley

¿Que tal Bob?

Page 6: Foaf+ssl

¿Cómo Bob Marley convence Alice de que realmente es Bob Marley?

¡Sí en verdad soy

YO!

Autenticidad

Page 7: Foaf+ssl

El intermediario de confianza establece el vinculo entre información sobre la identidad y autenticidad

Para demostrar quién soy tengo que… sonreir .

Autenticidad

La identidad de una persona es entregada por un

intermediario de confianza…

Identidad

Page 8: Foaf+ssl

Cuenta VERIFICADA

De vuelta al mundo digital

Identidad

Page 9: Foaf+ssl

La identidad de una persona es entregada

por un intermediario de confianza…

Identidad

Page 10: Foaf+ssl

Para demostrar que soy realmente

Barack Obama necesito una contraseña

para publicar en mi cuenta… Autenticidad

Page 11: Foaf+ssl

Usuario / Contraseña

Identidad

Autenticidad

Page 12: Foaf+ssl

Problema

Page 13: Foaf+ssl

Otro problema

Page 14: Foaf+ssl

Más problemas

Page 15: Foaf+ssl

De vuelta al mundo “real”

Hola Philippe, te presento Tim Berners Lee,

el inventor de http.

Page 16: Foaf+ssl

Criptografía de clave pública

C = Enc( , M)

M = Dec(C, )

El secreto (clave privada) queda exclusivamente en la posesión del

usuario.

Page 17: Foaf+ssl

Ataque del hombre del medio

Page 18: Foaf+ssl

¿Cómo vincular la identidad a clave pública?

SHG56515454

M=La clave SHG56515454 Es la de Tim Berners Lee. Firma(M, XJKGHJSDGHFD)

Tim Berners Lee Claudio Gutierrez

XJKGHJSDGHFD

Page 19: Foaf+ssl

Red de Confianza con Pretty Good Privacy (PGP)

Page 20: Foaf+ssl

Infraestructura de Clave Pública (ICP)

Autoridad firma certificados de

subautoridades

Page 21: Foaf+ssl

REVOCACIÓN

¿Por qué en la práctica no funciona tan bien?

Mi clave privada ha sido comprometida. Tengo que llamar a mis 17.445 contactos para que firmen mi nueva clave pública…

¿Quizás debería usar FOAF+SSL?

Page 22: Foaf+ssl

Yves Raimond

Friend of a Friend (FOAF)

Francois Scharffe

Axel Polleres

Page 23: Foaf+ssl

Secure Socket Layer (SSL)

• Permite

– Autentificar ambos participantes

– Verificar la integridad de los mensajes

– Establecer clave de sesión secreta compartida

– Evitar ataques de re-envio

– Relacionar clave pública con identidad

– SSL no provee “no-repudiación”: no hay firmas digitales de por medio

Page 24: Foaf+ssl

FOAF+SSL

Henry Story

¿Como armar redes sociales distribuidas y seguras?

http://vimeo.com/14797957

Page 25: Foaf+ssl

http://blogs.sun.com/bblfish/entry/foaf_ssl_creating_a_global

Page 26: Foaf+ssl

Ventajas de FOAF+SSL

• Descentralizado – La información en una red

suficientemente grande es difícil adulterar. – Cada participante controla su información.

• Flexible

– No hay que firmar claves (como en PGP) (Puedo cambiar mi clave sin tener que avisar a todos mis amigos)

• Políticas de seguridad sofisticadas

– “Si al menos 5 de mis amigos conocen a Bob Marley entonces le doy acceso.”

• Simple

Page 27: Foaf+ssl

¿Cuál es el “truco”?

Page 28: Foaf+ssl

¿Todo bien entonces?

Page 29: Foaf+ssl

¿Qué pasa con DNS?

Hi Henry, I'm trying to understand FOAF+SSL and have the same issue than John. You say that : "If Romeo does not control the <https://romeo.net/> resource, he will not be able to place information there about his public key." But if Alice contacts https://romeo.net/ to retrieve its public key, how can she be sure that she reaches the proper server (I'm thinking of DNS poisoning or other man in the middle attacks). The only way is to either have obtained romeo's public key through another mean (which one ?) or to have romeo provide a certificate signed by a party that Alice trust (need key signing parties). Can you please elaborate on how you protect against man in the middle attacks in FOAF+SSL ? Thanks a lot, -Laurent

http://blogs.sun.com/bblfish/entry/more_on_authorization_in_foaf

Page 30: Foaf+ssl

¿Qué pasa con DNS?

Hi Laurent. DNS poisoning is indeed a serious issue. Indeed it is *so* serious an issue, with so many implications for commerce and security, that it is forcing the introduction of DNS-SEC. This will be mandated by the United States for the Military and the governement controlled DNS by the end of the year (2009). *…+ Henry Story.

http://blogs.sun.com/bblfish/entry/more_on_authorization_in_foaf

Page 31: Foaf+ssl

DNS(SEC): de vuelta al mismo problema…

google.com?

209.85.195.104

¿Con quien estoy conversando?

Page 32: Foaf+ssl

DNS(SEC): ¿Cómo se resuelve hoy?

Page 33: Foaf+ssl