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

Move config import/export encryption to the UI #2002

Closed
6 of 9 tasks
mssalvatore opened this issue Jun 8, 2022 · 0 comments · Fixed by #2042 or #2050
Closed
6 of 9 tasks

Move config import/export encryption to the UI #2002

mssalvatore opened this issue Jun 8, 2022 · 0 comments · Fixed by #2042 or #2050

Comments

@mssalvatore
Copy link
Collaborator

mssalvatore commented Jun 8, 2022

Refactor

Component(s) to be refactored

  • UI

Explanation

New endpoints have been added in #2000 to allow configuration to me modified. When a configuration is retrieved from the Island, encrypting it is a matter of formatting/presentation, not the responsibility of the backend. Move the encryption/decryption of configuration during import/export to the UI. Use the new endpoints added in #2000.

Tasks

  • Re-implement the monkey/monkey_island/cc/server_utils/encryption/password_based_string_encryptor.py functionality on the front end (0.5d) - @VakarisZ
    • Select a javascript encryption library
    • Implement the encryption feature
    • Implement the decryption feature
  • Refactor the UI to encrypt/decrypt on export/import (0d)
  • Remove backend encryption/decryption infrastructure and unit tests (0d) - @shreyamalviya
    • Remove the disused python encryption classes
    • Remove disused python dependencies
  • Remove the old configuration import/export endpoints (0d) @ilija-lazoroski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants