I need to secure input passwords in an Ada command line application. Are there any ready to use functions/procedures in GNAT or third-party libraries?
Asked
Active
Viewed 160 times
2 Answers
3
I found the free third party package that corresponds my needs. Trendy_Terminal has a procedure for temporally disabling terminal echo in Windows and Linux.

khv2online
- 100
- 1
- 7
2
https://github.com/jrcarter/Encryption-utilities has Password_Line, which does this. It works with GNAT and ObjectAda on Linux and Windows.

Jeffrey R. Carter
- 3,033
- 9
- 10
-
Thk. I looked at it. Unfortunately i need a "more comprehensive solution". I need to handle arrows / delete / backspace and other control keys, as well as CTRL+V and non-latin symbols. – khv2online Aug 02 '22 at 12:26