Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New installation fails to generate device key #2911

Closed
1 task
charlag opened this issue Apr 7, 2021 · 0 comments · Fixed by #2912
Closed
1 task

New installation fails to generate device key #2911

charlag opened this issue Apr 7, 2021 · 0 comments · Fixed by #2912
Assignees
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it

Comments

@charlag
Copy link
Contributor

charlag commented Apr 7, 2021

v3.82.15

[2021-04-07T09:34:14.329Z] alarm storage failed to initialize: ee [CryptoError]: error during random number generation> generator isn't seeded
    at Object.generateRandomData (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:61594)
    at Object.aes256RandomKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:415524)
    at Object.generateDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201334)
    at Object._generateAndStoreDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201766)
    at Object.getDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201611)
device key not found, generating a new one
[2021-04-07T09:34:18.477Z] Could not load config ee [CryptoError]: error during random number generation> generator isn't seeded
    at Object.generateRandomData (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:61594)
    at Object.aes256RandomKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:415524)
    at Object.generateDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201334)
    at Object._generateAndStoreDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201766)
    at Object.getDeviceKey (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:201611)
    at async Object.Rt (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:62999)
    at async Dt (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:1:63272)
    at async Object.applyMigrations (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:202133)
    at async Object.init (/tmp/.mount_tutanoUhQHdV/resources/app.asar/desktop/DesktopMain.js:13:203098)

Test notes:

  • Delete tuta-vault from system key storage (Passwords and Keys app in GNOME). Delete config. Start the app and log in. No exception thrown in either log or user dialog.
@charlag charlag added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels Apr 7, 2021
@charlag charlag self-assigned this Apr 7, 2021
charlag added a commit that referenced this issue Apr 7, 2021
Entropy collector was not seeded so config migration was failing.
charlag added a commit that referenced this issue Apr 7, 2021
Randomizer was not seeded so config migration was failing.
@charlag charlag closed this as completed in cbc2974 Apr 7, 2021
@charlag charlag added this to the 3.82.16 Bugfix milestone Apr 7, 2021
@charlag charlag added the state:tested We tested it and are about to release it label Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant