The feature:
I would like to be able to generate TOTP code for resource from the cli.
Work done so far:
In order to make it work the go-passbolt would have to be updated. I did that in this commit: pbogut/go-passbolt@e8b14eb
Then this repo has to be updated to use generated code. I've done it here: pbogut@02607cc
My change works, and code is displayed when getting resource. Note that I did it just for myself as a proof of concept.
Things up for discussion:
- Is this something that would be merged if pull request was made here and in
go-passbolt repo?
- Should
go-passbolt return code, or should it return secret so go-passbolt-cli can generate code?
- Is it ok to return it when it's available, or should it be only returned via flag?
- Does any other repo depend on
go-passbolt and would have to be updated as well?
The feature:
I would like to be able to generate TOTP code for resource from the cli.
Work done so far:
In order to make it work the go-passbolt would have to be updated. I did that in this commit: pbogut/go-passbolt@e8b14eb
Then this repo has to be updated to use generated code. I've done it here: pbogut@02607cc
My change works, and code is displayed when getting resource. Note that I did it just for myself as a proof of concept.
Things up for discussion:
go-passboltrepo?go-passboltreturn code, or should it return secret sogo-passbolt-clican generate code?go-passboltand would have to be updated as well?