Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 59199 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Want to make a Console Workbook that requires a user's password but don't want to store it in the actual file. My first thought was to use Console.ReadLine and get user's input in a variable.
Right now, the cell just keeps running, and no other cells are executable.
Are there any plans for accepting console user input in Xamarin Workbooks?
There is no ReadLine support at this time, but you could make a non-Console workbook and add password entry to the GUI.
We are also planning a general purpose token/password storage mechanism for exactly this reason. It would provide an API which you would use in your workbook to request a token/password. Invoking the API would prompt the user to input it with the option of [securely] storing it in a vault local to the user's account. On Mac this would use the system keychain, and on Windows would use DPAPI.
In terms of passwords that's really close to what I was thinking. Right now I'm just using NuGet CredentialsManagement and having one line where you store your password in the Windows vault under Generic Credentials. The problems is to remember to remove the password before committing the workbook file. From then on it just reads from the vault to use the password again.
However, basic CLI user input for any value would be very useful for more applications.
Saw Workbooks is now on Github (https://github.com/Microsoft/workbooks). Should I move this request to that project?
I can even start tinkering with a PR. Weee!
Hi Mike! Yes, moving this to Github would be great. And PRs are definitely welcome. :-)