Commit Graph

977 Commits

Author SHA1 Message Date
Shea Levy
3c4cd4afe9 Add a header for signal handling 2011-09-27 21:59:42 -04:00
Marc-André Moreau
8f87f3e817 xfreerdp: fix color conversion in 16-bit X11 environment 2011-09-27 17:10:07 -04:00
Marc-André Moreau
7ee5089a17 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-27 13:40:48 -04:00
Marc-André Moreau
c2f0538af2 libfreerdp-utils: fix home path detection for certstore utils 2011-09-27 13:40:29 -04:00
Jay Sorg
78fd201ab8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 22:31:11 -07:00
Jay Sorg
769508bd7d code cleanup 2011-09-26 22:30:58 -07:00
Marc-André Moreau
a573898810 xfreerdp: improve error tolerance in xf_GetWorkArea 2011-09-26 23:06:45 -04:00
Marc-André Moreau
9b9e952501 libfreerdp-utils: avoid relying on HOME environment variable, provide method for hard-coding home path 2011-09-26 22:58:49 -04:00
Marc-André Moreau
3894983766 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 21:48:24 -04:00
Marc-André Moreau
3b3152003f xfreerdp: fix usage of invalid structure pointer in event handling 2011-09-25 17:47:40 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Otavio Salvador
dc224b14fd Merge pull request #122 from shlevy/readpassphrase
Readpassphrase utility
2011-09-24 23:55:52 -07:00
Vic Lee
7891ce2c75 rdpsnd/pulse: add latency control. 2011-09-25 14:00:09 +08:00
Vic Lee
c82dfa2a0b rdpsnd/alsa: better buffer size against requested latency. 2011-09-25 13:41:38 +08:00
Vic Lee
7b2f737cee libfreerdp-utils/memory: add a pointer check in xstrdup. 2011-09-25 11:49:09 +08:00
Vic Lee
e5060dcaee rdpsnd: add manual latency control for ALSA. 2011-09-25 11:41:37 +08:00
Shea Levy
fce487b876 passphrase_read: Set errno to ENOSYS and return on Windows for now 2011-09-24 19:18:25 -04:00
Shea Levy
90f00a99d3 Merge remote-tracking branch 'upstream/master' into readpassphrase 2011-09-24 19:08:41 -04:00
Shea Levy
a56bdea4c5 xfreerdp: Read passwords using passphrase_read if none is specified 2011-09-24 19:08:16 -04:00
Shea Levy
9d59747dc9 passphrase_read: Don't include a null terminator in the prompt 2011-09-24 19:01:06 -04:00
Shea Levy
5153943796 passphrase_read: Read from stdin if tty can't be opened 2011-09-24 17:30:56 -04:00
Shea Levy
3312eb8952 Add test to check that passphrase_read reads from stdin when no TTY is available 2011-09-24 17:21:25 -04:00
Shea Levy
a50695cdb8 passphrase_read: Write to stderr if tty can't be opened 2011-09-24 17:05:35 -04:00
Shea Levy
6f9f0e8a17 Add test to check that passphrase_read prompts to stderr when no TTY is available 2011-09-24 16:54:25 -04:00
Shea Levy
3abc1c0fe5 passphrase_read: Echo newlines during read 2011-09-24 15:21:51 -04:00
Shea Levy
b0b46903c0 Add test to check that passphrase_read turns on ECHONL 2011-09-24 15:20:30 -04:00
Shea Levy
505b464e68 passphrase_read: Factor out error handling 2011-09-24 15:13:23 -04:00
Shea Levy
f5c618a3fe passphrase_read: Reset terminal to original attributes if ECHO was turned off 2011-09-24 15:03:24 -04:00
Shea Levy
4c4bd49006 Add test to check that passphrase_read resets the terminal once it's done 2011-09-24 14:45:13 -04:00
Shea Levy
fc68f8e908 passphrase_read: Turn off ECHO on the terminal 2011-09-24 14:15:36 -04:00
Shea Levy
eb1c231f5e Fix assert in passphrase_read_turns_off_echo_during_read 2011-09-24 14:07:37 -04:00
Shea Levy
ba33f0eed7 passphrase_read: Overwrite possible references to passphrase data in local stack frame before any potential return
Also, accidentally included termios.h here, should have been at next commit
2011-09-24 13:32:40 -04:00
Shea Levy
bde5a8e076 Remove chance of undefined behavior corner case 2011-09-24 13:23:52 -04:00
Shea Levy
9b93d57d9c passphrase_read: set errno and return NULL when possibly-failing functions fail 2011-09-24 13:21:00 -04:00
Shea Levy
416c097926 Add test to check that passphrase_read turns off ECHO 2011-09-24 12:54:01 -04:00
Jay Sorg
123398c419 coding style 2011-09-23 23:38:11 -07:00
Shea Levy
4351ffcbfe passphrase_read: Set buf_iter to NULL so nothing passphrase_read puts on the stack will point to the password for long 2011-09-24 02:25:55 -04:00
Shea Levy
ade70ee606 passphrase_read: Read from the controlling tty 2011-09-24 02:11:32 -04:00
Jay Sorg
b773c7e728 move non settings security items out of settings 2011-09-23 23:09:29 -07:00
Shea Levy
e7061a198a Use pipes to pass the string we need to verify to the parent in passphrase_read_reads_from_tty 2011-09-24 02:08:26 -04:00
Shea Levy
b7ed44c66e Add test to check that passphrase_read reads from the controlling tty 2011-09-24 01:04:15 -04:00
Shea Levy
34a9a50704 passphrase_read: Wrie the prompt to the controlling tty 2011-09-24 00:45:49 -04:00
Shea Levy
f16b7a9b60 passphrase_read_propmts_to_tty: open the slave device before closing the rest 2011-09-24 00:39:20 -04:00
Shea Levy
d9391d33c1 Write (currently failing) test to check that freerdp_passphrase_read prints its prompt to the controlling terminal 2011-09-24 00:13:05 -04:00
Marc-André Moreau
3ce1b2fc45 libfreerdp-core: fix segmentation fault in update_reset_state 2011-09-23 23:49:58 -04:00
Shea Levy
7039602861 Remove the flags argument to passphrase_read
We don't need the full functionality of the BSD readpassphrase, the default
flags are enough. We can always add them back in later
2011-09-23 19:14:37 -04:00
Shea Levy
6ae00b9040 Include stdlib.h in passphrase for size_t and NULL 2011-09-23 18:26:58 -04:00
Shea Levy
1fc6851a97 Build passphrase.c as part of libfreerdp-utils 2011-09-23 18:20:25 -04:00