lavab / web

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

'Export keys' doesn't download the private key anymore! #807

Closed andreis closed 9 years ago

andreis commented 9 years ago
{
    "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": {
            "andrei@lavaboom.com": {
                "prv": [],
                "pub": [
                    "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: OpenPGP.js v1.0.1\r\nComment: http://openpgpjs.org\r\n\r\nxsBNBFT9xGcBCACuguAu7e5Xb7UNTlLWCr3dxD/k1Ot/QfNr4vQ9UewgoGSA\nO0Wm3RbbGX6R3+hrSYL0dZNs+5WYrbWLllIN7iAG5HILGcx4OoFSwLReW2UV\nh5Xildql9U/iKJH8OmofNr7GjWxVvs4Z3VOyNb5VMJM+T20bw8HzgY8JfFTe\nGW2Ubs9z5umafRKA9wylFbVqeSA7Wdb6OUfENbLAqlu/T2oJQi0gwiXXylmb\ny7+UAAyIRIFp1/TE+5O24S4yeAH5q7DWk9Wm6FgaSqcTQxWw/VOdg7eg1yav\n4HZrtAO0xWHEGJyp7d2i8Mc9HOfT6JpebWPE8TEANINVhuU8UmcnllgrABEB\nAAHNHGFuZHJlaSA8YW5kcmVpQGxhdmFib29tLmNvbT7CwHIEEAEIACYFAlT9\nxGcGCwkIBwMCCRD5RioCHgPZjAQVCAIKAxYCAQIbAwIeAQAAcyQH/2L2C98Y\nAILYi+eqEw7fdhmNC92e0RAfc0NuamZEFZNrR3tinYbJ9BqMgMVga1yGFD21\nr+dZsCmgyyWsaBz6PChA6EMUcULE9HWy0DUmR7Ne65xiI7LCwrbrENnWfDEU\nbi4j1jLsreGn0ZgKiqEhhEeTUmKuaGO52n19pfAAxtl4wh6Kz2tT5SlAimOi\n1Lr64kbABNxYZ2emCxCDoFIC3gLd8kR7FSYXyjBoXh0NRKRli82k2wdu7XG/\nO2nMVoyPH3lUyb8KpqyAfd51wsz3quUjUuibBUEFLvPtntw9PPOa9qhN0q1f\nGoXsN6A8Wa4UH+Bybn1D38xaaD3ya9ZzJp/OwE0EVP3EZwEIAPnEawEuwlty\njAIqC1Opt/W8MHMdUVMXAu2RBEjgG45ujtmrigY+5Hy/ZoOy/qEPNxthpqQM\nSQWA5gMrlMR7OBtLLUi5p3VqUR6VNK09GoRr+U3zkulCUrX5w989Ccs9NmTL\nEMjWUso5RqRsxxlXo+amqKKIfdi2Tw32JQ8JYzLsiOelsJbOpReTfKslPqN2\nJzCuGwCcKW4Rn9QCmU+M3n2cRobMKmqt+cs2shR5lqbg2XaIVMGbbvPTuaYQ\ntR5HVhdknU2LUfmgFnbF0meSht8gXKb7SyARXTYgnI/+95cGD/7j21zETQbS\nzsTbDGIjRCthw7p/TNGhOZ6qTgfBU7UAEQEAAcLAXwQYAQgAEwUCVP3EaAkQ\n+UYqAh4D2YwCGwwAAGH2B/wMglOaqPfQknEQahURZguT8A5ATcd9QcFRzilB\n+yFP9/VIo6zy/qY39+QW06CO62mZ79oS+lfi1rLdoPUQdMotgRaTlxBiF34L\ngwFKFstGjjumnmgjkV5I4MXNvetbgGlTtH9dyGxXLEo076YQ5QJfT6LIC1D3\ndWq2EuLDJEIKfJ0K79USI/o22wdkChwvNrrExboXcPEwVRpEqt6dJY9WrWl5\n6YK+J+TcifW8VxdzLuYBBx4lZ9xRXHZDOY98sTfnt4n/Ck7SNGy6TBZUl2cY\nkH+9uJ1xpVa+OseVynZTC4MqKVpzGNY1dD5aCH8dFkHLFArk0xmJxOe46jix\nAZV3\r\n=DaAm\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n"
                ]
            }
        },
        "exported": "2015-05-28 21:49:29 +0200"
    },
    "bodyHash": "31efdf0127bc73154db79a04a3f205d57e742a75f48abbc0f691e0f7385b620b21b5bf4dd486f5f11818dd827356f44481f094c019a8217dc2bf86d33c136a66”
}

Please fix ASAP

andreis commented 9 years ago

Also, exported shouldn't be part of body because it will make each exported keyring have a different filename. The keyring hash should change when the keys actually change (new aliases, regeneration, etc.)

andreis commented 9 years ago

You the man, @let4be

let4be commented 9 years ago

Will deploy in a ~hour with other fixes :)