mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
In the middle of trying to make createOutgoingShare work with Dan's changes (getSymKey having been moved to remote.js, etc.)
This commit is contained in:
parent
d5abb2d95d
commit
9d0d519adc
@ -282,11 +282,11 @@ BookmarksEngine.prototype = {
|
||||
this._log.debug("Sharing bookmarks from " + folder + " with " + username);
|
||||
|
||||
// _getSymKey is undefined?
|
||||
this._getSymKey.async(this, self.cb);
|
||||
yield;
|
||||
|
||||
dump( "Trying DAV.GET...\n" );
|
||||
dump( "Keyfile is " + this.keysFile + "\n" );
|
||||
let keychain = this._remote.keys;
|
||||
let identity = 'jono';
|
||||
keychain.getKey( this.cb, identity );
|
||||
let symKey = yield;
|
||||
dump( "SymKey is " + symKey + "\n" );
|
||||
/* reateOutgoingShare: [object XULElement], jono
|
||||
writing RSA key
|
||||
Trying DAV.GET...
|
||||
@ -298,6 +298,7 @@ Trying DAV.GET...
|
||||
|
||||
|
||||
// copied from getSymKey
|
||||
dump( "Trying DAV.GET...\n" );
|
||||
DAV.GET(this.keysFile, self.cb);
|
||||
let ret = yield;
|
||||
Utils.ensureStatus(ret.status, "Could not get keys file.");
|
||||
|
Loading…
Reference in New Issue
Block a user