Commit Graph

1215 Commits

Author SHA1 Message Date
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
Shea Levy
d57310477a Follow apparent asterisk placement convention 2011-09-23 18:14:10 -04:00
Shea Levy
21d323699a Add CUnit test stub for passphrase_read 2011-09-23 18:13:19 -04:00
Shea Levy
b1081b4b82 Add stub for the passphrase utility 2011-09-23 17:02:06 -04:00
Shea Levy
aa210b3f7c Add header for forthcoming passphrase utility 2011-09-23 16:35:46 -04:00
Marc-André Moreau
c2ccba532f cmake: fix build options for wfreerdp 2011-09-23 14:38:16 -04:00
Marc-André Moreau
17ed282656 wfreerdp: fix compilation on windows 2011-09-23 14:25:38 -04:00
Marc-André Moreau
5c5d8a11e8 xfreerdp: fix RemoteApp after addition of cliprdr 2011-09-23 10:49:59 -04:00
Marc-André Moreau
d60adb8325 Merge pull request #120 from llyzs/cliprdr
Integrate cliprdr with xfreerdp
2011-09-23 07:07:43 -07:00
Vic Lee
783681664a cliprdr: integrate with xfreerdp. 2011-09-23 13:41:26 +08:00
Marc-André Moreau
c003c5c038 xfreerdp: initial RemoteApp support with --gdi hw (much faster) 2011-09-23 00:06:39 -04:00
Marc-André Moreau
3869228349 xfreerdp: RemoteApp stabilization (window movement, region update) 2011-09-22 21:23:01 -04:00
Vic Lee
68d0e7db6a libfreerdp-core/vchan: length in header should be total length. 2011-09-22 22:56:26 +08:00