aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* accept input from any fdMattias Andrée2015-12-051-16/+68
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not require gccMattias Andrée2015-12-041-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-12-041-2/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespace + only use gcc pragmas if using gccMattias Andrée2015-12-041-25/+31
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix PASSPHRASE_TEXTMattias Andrée2015-03-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* cleanup and add defs: PASSPHRASE_STAR_CHAR, PASSPHRASE_TEXT, PASSPHRASE_TEXT_EMPTY, PASSPHRASE_TEXT_NOT_EMPTYMattias Andrée2015-03-241-272/+151
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2015-03-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add volatile to ptr in passphrase_wipe1400900338Mattias Andrée2014-05-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix warnings1400850322Mattias Andrée2014-05-231-3/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add passphrase_wipeMattias Andrée2014-05-231-4/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix warnings1398322080Mattias Andrée2014-04-241-5/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* enable more warningsMattias Andrée2014-04-241-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errors and a warning1398269691Mattias Andrée2014-04-231-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* missed the putchar:sMattias Andrée2014-04-231-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* print to stderr rather than stdoutMattias Andrée2014-04-231-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix warningsMattias Andrée2014-04-071-2/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix warnings + update gitignoreMattias Andrée2014-04-071-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2014-04-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m1385512181Mattias Andrée2013-11-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix some PASSPHRASE_MOVE errors and add DEBUG optionMattias Andrée2013-11-231-18/+46
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix option dependent errorsMattias Andrée2013-11-231-2/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* draft of PASSPHRASE_MOVE option implementationMattias Andrée2013-11-231-23/+222
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2013-11-231-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* define xrealloc as a secure reallocMattias Andrée2013-11-231-21/+24
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2013-11-221-4/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not use realloc by default, it is bad securityMattias Andrée2013-11-221-2/+21
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add option to print * for each charMattias Andrée2013-11-221-0/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* optionally do not hide the inputMattias Andrée2013-11-221-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use namespacingMattias Andrée2013-11-221-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* first versionMattias Andrée2013-11-221-13/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* update copying noticeMattias Andrée2013-11-221-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* auth with pamMattias Andrée2013-11-211-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2013-11-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + redisable echo when the tty has been reopenedMattias Andrée2013-11-191-4/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2013-11-181-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2013-11-031-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* read passphraseMattias Andrée2013-11-031-0/+89
Signed-off-by: Mattias Andrée <maandree@operamail.com>