mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Integrate libaxolotl async storage changes
* Session records are now opaque strings, so treat them that way: - no more cross checking identity key and session records - Move hasOpenSession to axolotl wrapper - Remote registration ids must be fetched async'ly via protocol wrapper * Implement async AxolotlStore using textsecure.storage * Add some db stores and move prekeys and signed keys to indexeddb * Add storage tests * Rename identityKey storage key from libaxolotl25519KeyidentityKey to simply identityKey, since it's no longer hardcoded in libaxolotl * Rework registration and key-generation, keeping logic in libtextsecure and rendering in options.js. * Remove key_worker since workers are handled at the libaxolotl level now
This commit is contained in:
16
Gruntfile.js
16
Gruntfile.js
@@ -61,16 +61,6 @@ module.exports = function(grunt) {
|
||||
],
|
||||
dest: 'js/libtextsecure.js',
|
||||
},
|
||||
key_worker: {
|
||||
options: {
|
||||
banner: 'var window = this;\n',
|
||||
},
|
||||
src: [
|
||||
'js/libtextsecure.js',
|
||||
'libtextsecure/key_worker.js'
|
||||
],
|
||||
dest: 'js/key_worker.js'
|
||||
},
|
||||
libtextsecuretest: {
|
||||
src: [
|
||||
'components/mock-socket/dist/mock-socket.js',
|
||||
@@ -148,7 +138,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
jscs: {
|
||||
all: {
|
||||
src: ['js/**/*.js', '!js/libtextsecure.js', '!js/key_worker.js', '!js/components.js', 'test/**/*.js']
|
||||
src: ['js/**/*.js', '!js/libtextsecure.js', '!js/components.js', 'test/**/*.js']
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -164,10 +154,6 @@ module.exports = function(grunt) {
|
||||
files: ['./libtextsecure/*.js', './libtextsecure/storage/*.js'],
|
||||
tasks: ['concat:libtextsecure']
|
||||
},
|
||||
key_worker: {
|
||||
files: ['<%= concat.key_worker.src %>'],
|
||||
tasks: ['concat:key_worker']
|
||||
},
|
||||
dist: {
|
||||
files: ['<%= dist.src %>'],
|
||||
tasks: ['copy']
|
||||
|
||||
Reference in New Issue
Block a user