A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+

Privacy is a rising concern globally, and more of our personal information is stored online. It is therefore, important to securely authenticate and encrypt all communication between the client and the server. Password authenticated key-exchange (PAKE) protocols are promising schemes for more secure...

Full description

Bibliographic Details
Main Authors: Petri, Oliver, Sebek, Fredrik
Format: Others
Language:English
Published: KTH, Skolan för elektroteknik och datavetenskap (EECS) 2019
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259992
id ndltd-UPSALLA1-oai-DiVA.org-kth-259992
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-kth-2599922019-10-03T04:33:56ZA Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+engEn komparativ studie av lösenordsbaserad autentisering för nyckeldelning, SRP-6a och PAKE2+Petri, OliverSebek, FredrikKTH, Skolan för elektroteknik och datavetenskap (EECS)KTH, Skolan för elektroteknik och datavetenskap (EECS)2019Computer and Information SciencesData- och informationsvetenskapPrivacy is a rising concern globally, and more of our personal information is stored online. It is therefore, important to securely authenticate and encrypt all communication between the client and the server. Password authenticated key-exchange (PAKE) protocols are promising schemes for more secure password authentication on the web. This report looks at both the theoretical and practical aspects of the PAKE protocols, SRP-6a and PAKE2+, from a business perspective. Benchmarks were used to determine the overall performance of both the protocols using latency and memory as metrics. The benchmarked implementations are written in JavaScript. Furthermore, availability of protocol implementations and theoretical security aspects such as crypto primitives were also analyzed. Our results indicate that SRP6-a is likely the more viable alternative for businesses today. Measured latencies ranged from 368 to 521 ms for PAKE2+ and 114 to 230 ms for SRP-6a, depending on the browser. SRP-6a is not only significantly faster than PAKE2+, but it has greater market adoption and maturity, which PAKE2+ lacks in comparison. However, PAKE2+ has a stronger theoretical security footprint, which may make it a strong contender in the future. Integritet på internet är en stigande oro och mer av vår personliga information lagras på servrar online. Det är därför viktigt att säkert autentiera och kryptera all kommunikation mellan klienterna och servern. Protokoll för Lösenordsautentiserat Nyckelutbyte (PAKE) är lovande för säkrare lösenordsautentisering på webben. Denna rapport tittar på både de teoretiska och praktiska aspekterna av PAKE-protokollen, SRP-6a och PAKE2+, ur ett företagsperspektiv. Benchmarks användes för att bestämma den övergripande prestandan för båda protokollen med avseende på hasighet och minne. De benchmarkerade implementationerna är skrivna i JavaScript. Dessutom analyserades tillgängligheten av protokollimplementeringarna och deras teoretiska säkerhetsaspekter. Våra resultat tyder på att SRP6-a sannolikt är det mer användbara alternativet för företag idag. Mätvärdena varierade mellan 368 och 521 ms för PAKE2+ och mellan 114 och 230 ms för SRP-6a, beroende på webbläsare. SRP6-a är inte bara betydligt snabbare än PAKE2+ men har också större marknadsupptagning och mognad, vilket PAKE2+ saknar i jämförelse. PAKE2+ har dock ett starkare teoretiskt säkerhetsfotavtryck, vilket kan göra det till en stark konkurrent i framtiden. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259992TRITA-EECS-EX ; 2019:363application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Computer and Information Sciences
Data- och informationsvetenskap
spellingShingle Computer and Information Sciences
Data- och informationsvetenskap
Petri, Oliver
Sebek, Fredrik
A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
description Privacy is a rising concern globally, and more of our personal information is stored online. It is therefore, important to securely authenticate and encrypt all communication between the client and the server. Password authenticated key-exchange (PAKE) protocols are promising schemes for more secure password authentication on the web. This report looks at both the theoretical and practical aspects of the PAKE protocols, SRP-6a and PAKE2+, from a business perspective. Benchmarks were used to determine the overall performance of both the protocols using latency and memory as metrics. The benchmarked implementations are written in JavaScript. Furthermore, availability of protocol implementations and theoretical security aspects such as crypto primitives were also analyzed. Our results indicate that SRP6-a is likely the more viable alternative for businesses today. Measured latencies ranged from 368 to 521 ms for PAKE2+ and 114 to 230 ms for SRP-6a, depending on the browser. SRP-6a is not only significantly faster than PAKE2+, but it has greater market adoption and maturity, which PAKE2+ lacks in comparison. However, PAKE2+ has a stronger theoretical security footprint, which may make it a strong contender in the future. === Integritet på internet är en stigande oro och mer av vår personliga information lagras på servrar online. Det är därför viktigt att säkert autentiera och kryptera all kommunikation mellan klienterna och servern. Protokoll för Lösenordsautentiserat Nyckelutbyte (PAKE) är lovande för säkrare lösenordsautentisering på webben. Denna rapport tittar på både de teoretiska och praktiska aspekterna av PAKE-protokollen, SRP-6a och PAKE2+, ur ett företagsperspektiv. Benchmarks användes för att bestämma den övergripande prestandan för båda protokollen med avseende på hasighet och minne. De benchmarkerade implementationerna är skrivna i JavaScript. Dessutom analyserades tillgängligheten av protokollimplementeringarna och deras teoretiska säkerhetsaspekter. Våra resultat tyder på att SRP6-a sannolikt är det mer användbara alternativet för företag idag. Mätvärdena varierade mellan 368 och 521 ms för PAKE2+ och mellan 114 och 230 ms för SRP-6a, beroende på webbläsare. SRP6-a är inte bara betydligt snabbare än PAKE2+ men har också större marknadsupptagning och mognad, vilket PAKE2+ saknar i jämförelse. PAKE2+ har dock ett starkare teoretiskt säkerhetsfotavtryck, vilket kan göra det till en stark konkurrent i framtiden.
author Petri, Oliver
Sebek, Fredrik
author_facet Petri, Oliver
Sebek, Fredrik
author_sort Petri, Oliver
title A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
title_short A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
title_full A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
title_fullStr A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
title_full_unstemmed A Comparison of the Password-Authenticated Key Exchange Protocols, SRP-6a and PAKE2+
title_sort comparison of the password-authenticated key exchange protocols, srp-6a and pake2+
publisher KTH, Skolan för elektroteknik och datavetenskap (EECS)
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259992
work_keys_str_mv AT petrioliver acomparisonofthepasswordauthenticatedkeyexchangeprotocolssrp6aandpake2
AT sebekfredrik acomparisonofthepasswordauthenticatedkeyexchangeprotocolssrp6aandpake2
AT petrioliver enkomparativstudieavlosenordsbaseradautentiseringfornyckeldelningsrp6aochpake2
AT sebekfredrik enkomparativstudieavlosenordsbaseradautentiseringfornyckeldelningsrp6aochpake2
AT petrioliver comparisonofthepasswordauthenticatedkeyexchangeprotocolssrp6aandpake2
AT sebekfredrik comparisonofthepasswordauthenticatedkeyexchangeprotocolssrp6aandpake2
_version_ 1719259922937413632