darkwallet/darkwallet — pull request #26 by kdomanski (2014-04-14 06:55:22+00:00)
Title: generate new temporary identity

These commits add a button to generate a new temporary identity for lobby. The work is incomplete and requires correction by someone better versed in Darkwallet's internals.

The most important matter to fix is management of transports. Request for a new tmp ID is sent to a single channel, which is fine when only one channel is used, but in case of more channels, the identities for each channel begin to differ. There are two directions this can be taken:
- allow different IDs for different channels
- keep one ID for all channels
The way I left it, clicking the "New" button changes the keys for the currently active channel, giving a new apparent ID for it. Identities in remaining channels are preserved, However, somehow the hash of the new ID is set for all channels. Thus the identicon on the right always shows the last generated ID.

The second matter to fix is appearance of the ugly "New" button.