symbol-bootstrap icon indicating copy to clipboard operation
symbol-bootstrap copied to clipboard

Bootstrap offline mode

Open fboucquez opened this issue 4 years ago • 0 comments

In order to have bootstrap config running in a completely offline machine. The following improvements need to be made.

  1. PKG bootstrap into a zip distro. Users would be able to send bootstrap to the destination machine using a zipped bootstrap in pendrive without installing NodeJs. Distribution would on github release files or S3. We have examples about how to PKG oclif in other repos.
  2. Migrate Voting Key generation from docker and catapult tools to native typescript: https://github.com/nemtech/symbol-bootstrap/issues/169
  3. Migrate Certificate generation from docker and openssl to native typescript, possible with Forge https://github.com/nemtech/symbol-bootstrap/issues/1. I had issues with ed25519 and forge. An alternative is to run the certificate generation on the machine without docker. Openssl with ed25519 is required to be installed on the (offline) machine.
  4. Optional Prompt (main) private-key https://github.com/nemtech/symbol-bootstrap/issues/167
  5. Optional Wizard: The user doesn't need to write down a custom file to be encrypted. The wizard can create and encrypt it directly. This could include a paper wallet migration. https://github.com/nemtech/symbol-bootstrap/issues/103
  6. Exclude certificate generation on --upgrade when it's not required (when folder or keys haven't changed) https://github.com/nemtech/symbol-bootstrap/issues/171

fboucquez avatar Feb 26 '21 12:02 fboucquez