monero-ccs-proposals/ MoneroSignerResurrection.md
2024-09-29 01:29:41 +00:00

7.5 KiB
Raw Blame History

layout title author date amount milestones payouts
cp Monero Signer Resurrection: Reviving and Enhancing the Monero Signing Project Thor a.k.a vthor a.k.a DiosDelRayo May 24, 2024 55.38
name funds done status
Monero Signer basics on emulator 5.38 XMR 19 June 2024 finished
name funds done status
Monero Signer working with companion Application 5 XMR 28 July 2024 finished
name funds done status
Cleanup and production ready 35 XMR 12 August 2024 finished
name funds done status
Monero-GUI integration 10 XMR 27 September 2024 finished
date amount
20 June 2024 5.38
date amount
29 July 2024 5
date amount
13 August 2024 35
date amount
28 September 2024 10

Monero Signer Resurrection: Reviving and Enhancing the Monero Signing Project

Proposal

This project has been stagnant since December 28th, 2023. In taking over, I have updated the original proposal to include essential features for the current Monero ecosystem, such as:

Adding UR (Unified Resource) support Integrating with polyseed Interfacing with the Monero GUI I have already made progress on some of these components, visible in my GitHub repositories, listed at the end of the proposal.

I propose to take over and finish the Monero Signer project, which was funded but never really started. After learning about Monero Signer and researching the existing work, I found it to be a stale project that was never truly initiated. I aim to complete the project by delivering what was originally promised, with some modifications to make it more useful and avoid wasting time on potentially unnecessary features.

I will complete all the work myself, as I prefer to move quickly, keep things streamlined, and discard unnecessary elements. Security and usability are my top priorities, followed by features and fancy extras. This approach leads to more secure and maintainable code, better user experience, and reduced documentation needs.

Features

Monero Signer

  • Monero seed generation by dice rolls (without password)
  • Monero seed generation camera (without password)
  • Monero seed generation by picking 24 words (without password)
  • Polyseed generation by dice rolls
  • Polyseed generation by camera
  • Full Polyseed support
  • Wallet import with seed words (Monero/Polyseed)
  • Wallet import with QR code
  • Wallet export via Seed~~/hex~~/QR code
  • View key only wallet export
  • Receive via QR code unsigned transactions
  • Sign transaction
  • Send via QR code signed transaction

Reasoning why this is proposal is without password encryption for monero seeds:

On using monero-python there is no password protection implemented and after investigating a little bit,
the reason behind is probably, that the encryption/decryption is not really mad in a "standard" way.
So to be compatible with Monero-CLI and Monero-GUI the encryption must be implemented in CryptoNight and
another propiatary way to add and substract the mask of the CryptoNight password hash.
This will be a rabbit hole I can estimate.

Why not another encryption instead? I dislike to have various standards until nobody knows anymore what and where to use.
A temporary password encryption would in my opinion also only make the things worse on reaching compatibility with the
original implementation. Because now, what to do, support two different standards? Remove the way, people protected the
password of there seeds before?

If there is interest, and somehow funding for it I will implement it later in the monero-python fork (the original was archived) for MoneroSigner. But until then password encryption for seed will only supported for Polyseed.

Monerosigner companion application (Desktop):

  • Prepare unsigned transaction
  • Send unsigned transaction via QR code
  • Receive unsigned transaction via QR code
  • Publish signed transaction

Monero-GUI integration (Optional)

  • Send unsigned transaction via QR code (hidden but accessible)
  • Receive signed transaction via QR code (hidden but accessible)
  • Check transaction and publish to network
  • Process flow in Send for view key only wallet, to make the workflow natural as possible

Documentation:

  • Short and simple step-by-step guide
  • README on how to use the automatic build process, including git clone, make, make install, and troubleshooting

Tools and Scripts:

  • Build image for target device
  • Build emulator

I want to express that I will try to minimize the need for documentation by making the process easier to build and use. Nobody wants to read a book to get something done.

PortableMoneroQR: dropped in favor of UR's

  • Well-defined data protocol
  • Targeting low-end cameras and screens
  • Targeting high speed
  • Application agnostic
  • Library Python
  • Library Java/Kotlin

There is no need for that, I was not aware of Blockchain Commons Uniform Resources (URs), but that is the way to go. Sending and receiving data will be implemented using URs.

Milestones and Timeline

Monero Signer basics on emulator (5.38 XMR) (10 days from now)

  • Emulator easy start
  • implement Polyseed in (pure) Python
  • Monero seed generation by camera
  • Monero seed generation on dice rolls
  • Polyseed generation by camera
  • Polyseed generation by dice rolls
  • Wallet export Seed~~/hex~~/QR code
  • Build script to generate executable (For macOS only Docker provided and I have no way to verify)

Monero Signer working with companion Application (5 XMR) (25 days from now)

  • Monero signer companion Application finished
  • All missing Monero signer functionality
  • PortableMoneroQR stable
  • UR's implemented

Cleanup and production ready (35 XMR) (45 days from now)

  • Tools
  • Scripts
  • Documentation final version
  • Final cleanup Monero Signer
  • Final cleanup companion Application
  • Final cleanup PortableMoneroQR

Monero-GUI integration (10 XMR) (60 days from now from, until PR)

  • Fork
  • Modify
  • PR

The given timeline reflects the upper bounds, but I target myself:

  • Milestone 1: 7 days from now, June 1, 2024
  • Milestone 2: 14 days from now, June 8, 2024
  • Milestone 3: 30 days from now, June 24, 2024
  • Milestone 4: 45 days from now, July 9, 2024

I kindly request that the payouts be made promptly upon completion of each milestone to allow me to concentrate fully on delivering Monero Signer successfully.

An expiration date for the proposal is set for 70 days from now, August 3, 2024.

  • Milestone 4: 45 days from now, July 9, 2024

I kindly request that the payouts be made promptly upon completion of each milestone to allow me to concentrate fully on delivering Monero Signer successfully.

An expiration date for the proposal is set for 70 days from now, August 3, 2024.# Monero Signer Resurrection: Reviving and Enhancing the Monero Signing Project

Progress can be watched at: MoneroSigner Emulator polyseed python monero python Todo, where is no work at the moment, but tracked about password encryption

(will add with time other repositories, as soon there is code to see)