feat(auth): bring opaque (RFC 9807) auth
OPAQUE (RFC 9807) implementation (using `opaque-ke` crate)
with opaque authentfication, server will never receive the password (in the auth=password mode)
this is a must have to create trust with users to permit end to end encryption in the future
(we cannot know if user use the same password/passphrase for his asymetric key or his oxicloud auth,
this is why server must never have the password)
pass1: prepare server
This commit is contained in:
Generated
+12
@@ -7,6 +7,9 @@
|
||||
"": {
|
||||
"name": "oxicloud-frontend",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@serenity-kit/opaque": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@sveltejs/adapter-static": "^3.0.10",
|
||||
@@ -1492,6 +1495,15 @@
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@serenity-kit/opaque": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@serenity-kit/opaque/-/opaque-1.1.0.tgz",
|
||||
"integrity": "sha512-Y6v/+hRMn0MdMEk5+/ArM0vPIiFfFEbdTZc7oAx+cWyvGODGezAQ/sMjXBVogf7NsS9z9EV0Ve5paZCVULuedw==",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"opaque": "bin/index.js"
|
||||
}
|
||||
},
|
||||
"node_modules/@sindresorhus/merge-streams": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz",
|
||||
|
||||
Reference in New Issue
Block a user