Commit Graph

1003 Commits

Author SHA1 Message Date
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
Marc-André Moreau
42fb9f84e8 libfreerdp-gdi: fix alpha transparency for no codec bitmaps 2011-09-21 10:44:16 -04:00
Marc-André Moreau
5207be87f6 xfreerdp: properly handle local Alt+F4 for RemoteApp windows 2011-09-21 08:36:49 -04:00
Marc-André Moreau
c750fed989 Merge pull request #115 from llyzs/audin
audin: migrate audin plugin and ALSA/PulseAudio devices.
2011-09-21 04:54:30 -07:00
Vic Lee
f5ccf34605 audin: migrate audin plugin and ALSA/PulseAudio devices. 2011-09-21 15:18:54 +08:00
Marc-André Moreau
997ecbd112 libfreerdp-core: fix orders state reset on deactivate all pdu 2011-09-20 17:01:38 -04:00
Marc-André Moreau
6f2575c076 libfreerdp-core: improving parsing if fast index order 2011-09-20 15:30:52 -04:00
Marc-André Moreau
f643fa5435 Merge pull request #112 from ydal/patch-4
CMakeList.txt: Some compiler doesn't support "-Wno-unused-but-set-variabl
2011-09-20 08:40:18 -07:00
Marc-André Moreau
44664c0a48 Merge pull request #114 from llyzs/tsmf
Migrate tsmf plugin
2011-09-20 08:33:38 -07:00
Vic Lee
6c914cd60d tsmf: fix incorrect data realignment. 2011-09-20 22:03:05 +08:00
Vic Lee
27a82cccfa libfreerdp-gdi: fix segfault in fast_index. 2011-09-20 20:15:15 +08:00
Vic Lee
74ba2b3515 tsmf: add XVideo support in xfreerdp. 2011-09-20 16:37:00 +08:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00