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

cmd/registry/entity: Signer factory is not reused #3215

Closed
kostko opened this issue Aug 27, 2020 · 0 comments · Fixed by #3216
Closed

cmd/registry/entity: Signer factory is not reused #3215

kostko opened this issue Aug 27, 2020 · 0 comments · Fixed by #3216
Assignees
Labels
c:bug Category: bug c:cli Category: command line interface

Comments

@kostko
Copy link
Member

kostko commented Aug 27, 2020

The doInit (registry entity init subcommand) function creates two signer factory instances, where the first one is used to attempt to check if an entity already exists and the second one to actually generate an entity. In case a plugin signer is used, this results in two plugin processes to be spawned. If the plugin signer is hardware-backend, the first process may get exclusive access to the bus and operations on the second signer will all fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug c:cli Category: command line interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant