lavab / web

AngularJS web client of Lavaboom's email service
https://mail.lavaboom.com
38 stars 21 forks source link

"Export keys" in Security settings exports 2 public keys in the pub part of the json, and none in the private #858

Open phunanon opened 9 years ago

phunanon commented 9 years ago

An example of what I mean (and my latest export attempt):

{
    "readme": "https://lavab.groovehq.com/knowledge_base/topics/backing-up-your-keyring",
    "warning": "If you see this file just opens in your browser please select save as and save it to a safe location",
    "body": {
        "key_pairs": {
            "xxxxxxx@lavaboom.com": {
                "prv": [],
                "pub": [
                    "-----BEGIN PGP PUBLIC KEY BLOCK-----xxxxxxxx-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n",
                    "-----BEGIN PGP PUBLIC KEY BLOCK-----xxxxxxxx-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n"
                ]
            }
        }
    },
    "exported": "2015-06-12 23:20:33 +0100",
    "bodyHash": "xxxxxxxx"
}

The two public keys are not equal. Using Firefox 39.0, but also occurred in 38.0, on Ubuntu 15.04. Lavaboom Sync is enabled.

(This is my first ever github bug report... sorry if it's sloppy ;P)

let4be commented 9 years ago

@phunanon do you see any private keys listed in settings/security?

phunanon commented 9 years ago

It mentions my key ID, and a date, and once expanded, gives other information like fingerprint, etc, but it only gives me the option to export/send public key, and there's no information in the "Decrypted" row.