Task #1510
closed[Proposal] Include KeyChain as part of the Face
0%
Description
I have proposing to include KeyChain as part of Face and we had some discussion in the past about it. The argument against it was that it is application choice to select specific KeyChain to use.
This is only true partially. Given that to register prefix one have to sign the command, we already included KeyChain as part of Controller interface. However, being put in the Controller it is "hidden" from the application and application currently have no control at all on doing any configuration to choose specific key to sign the commands. Even if we provide an interface, we may end up with two instances of KeyChain.
Also, in all producer apps we already ending up with two instances of the same KeyChain. One inside the controller and one inside the producer.
My proposal is to introduce KeyChain into Face, add interface to access keychain into Face API, and remove embedded KeyChain object from Controllers (at some point later, we can remove KeyChain from producer apps as well).