Adds support for versioned profiles

* Add zkgroup library

* tsconfig.json: Prettier wants to mess it up. :0(

* Initial take on versioned profile fetches

* Fix up the logging in getProfiles() - warn instead of error

* Introduce new VERSIONED_PROFILE_FETCH flag

* Update zkgroup dependency to v0.5.0

* Fix lint-deps - new zkgroup library brought in new debug dep

* ts/zkgroup: Introduce some commonly-used helper functions

* Update to latest serverPublicParams

* Don't derive profileKeyVersion unless flag is set
This commit is contained in:
Scott Nonnenberg
2020-04-15 16:12:28 -07:00
committed by GitHub
parent 5f0c07eec2
commit c1dfe3e5b4
14 changed files with 591 additions and 25 deletions

View File

@@ -1311,6 +1311,38 @@
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/array-index/node_modules/debug/src/browser.js",
"line": "function load() {",
"lineNumber": 150,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/array-index/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"lineNumber": 168,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/array-index/node_modules/debug/src/node.js",
"line": "function load() {",
"lineNumber": 154,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/array-index/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"lineNumber": 246,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-insertBefore(",
"path": "node_modules/ast-types/lib/path.js",
@@ -3213,6 +3245,38 @@
"reasonCategory": "falseMatch",
"updated": "2020-02-21T14:09:28.005Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ffi-napi/node_modules/debug/src/browser.js",
"line": "function load() {",
"lineNumber": 160,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ffi-napi/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"lineNumber": 178,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ffi-napi/node_modules/debug/src/node.js",
"line": "function load() {",
"lineNumber": 162,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ffi-napi/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"lineNumber": 186,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/file-entry-cache/cache.js",
@@ -10290,6 +10354,70 @@
"reasonCategory": "falseMatch",
"updated": "2019-03-09T00:08:44.242Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-napi/node_modules/debug/src/browser.js",
"line": "function load() {",
"lineNumber": 160,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-napi/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"lineNumber": 178,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-napi/node_modules/debug/src/node.js",
"line": "function load() {",
"lineNumber": 162,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-napi/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"lineNumber": 186,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-struct-di/node_modules/debug/src/browser.js",
"line": "function load() {",
"lineNumber": 160,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-struct-di/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"lineNumber": 178,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-struct-di/node_modules/debug/src/node.js",
"line": "function load() {",
"lineNumber": 162,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/ref-struct-di/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"lineNumber": 186,
"reasonCategory": "falseMatch",
"updated": "2020-02-21T22:10:39.074Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/regenerate/regenerate.js",
@@ -11241,6 +11369,38 @@
"reasonCategory": "falseMatch",
"updated": "2019-07-16T21:56:03.429Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/zkgroup/node_modules/debug/src/browser.js",
"line": "function load() {",
"lineNumber": 160,
"reasonCategory": "falseMatch",
"updated": "2020-04-13T23:38:26.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/zkgroup/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"lineNumber": 178,
"reasonCategory": "falseMatch",
"updated": "2020-04-13T23:38:26.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/zkgroup/node_modules/debug/src/node.js",
"line": "function load() {",
"lineNumber": 162,
"reasonCategory": "falseMatch",
"updated": "2020-04-13T23:38:26.065Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/zkgroup/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"lineNumber": 186,
"reasonCategory": "falseMatch",
"updated": "2020-04-13T23:38:26.065Z"
},
{
"rule": "DOM-innerHTML",
"path": "ts/backbone/views/Lightbox.js",