repo.or.cz
/
libpwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Added a note about calling pwmd_get_fds() after each call to
2009-04-05
Be
n
Kibb
e
y
Added a
n
o
te a
b
out callin
g
pwmd_g
e
t_fds()
a
ft
e
r each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_get_fd(
)
a
nd pwmd_get
_
async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixe
d
PWMD_OPTION_PI
N
ENTRY_T
I
MEOU
T
w
h
en use
d
wi
t
h
p
w
md_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updated the pwmc documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Make sure
a
val
i
d handle and
a
ssuan con
t
ext is ava
i
lable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Ki
b
bey
Return ASY
N
C
_
DO
N
E
f
r
om pwm
d
_process() when not
in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbe
y
Determine
t
he pwmd s
e
rver
version in _socket_connec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Documented
pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed local pinent
r
y strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Ren
a
med pw
m
d_g
e
t_fd
2
() to pwmd_ge
t
_async2_fd(
)
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
Kib
b
ey
Rem
o
v
ed PW
M
D_OPTION_PINENTRY
.
No longe
r
needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do "GET
C
ONFIG data_direc
t
ory" on an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added pwmd_op
e
n2
(
) and pwm
d
_sa
v
e2()
whi
c
h will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
Kibbey
M
ore document
a
tions upd
a
tes and fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwm
d
_get_hostkey
(
) now re
q
uires
a
pwm_t h
a
ndle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINEN
T
RY c
o
n
d
itiona
l
fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
Loop
o
v
e
r do_save_ge
t
pin() when
G
PG_E
R
R
_INV_PASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fix
e
d pwmd_s
a
ve() whe
n
PWMD_OPTION_PINENTR
Y
is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
T
h
e
or
d
e
r
o
f getting the password
i
s:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Cre
a
ted
a
do
c
/Makefile "doxygen" targ
e
t
t
o generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a d
e
fault ti
m
eout of 30
seconds f
o
r pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
R
enamed pwmd
_
password_fn to pwmd_pa
s
sphrase_cb_
t
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Update
d
the docu
m
e
n
t
ation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
Added P
W
MD_OPTION_
I
P_VER
S
ION which shoul
d
be
s
e
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A f
e
w minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
F
i
xed
zombie
pi
n
entry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
xed pwmd_save_async2() when used with an
S
SH cha
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibbey
Fixed the --get-
h
o
s
tkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Ki
b
bey
F
i
xed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few
compile time
condi
t
io
n
al fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
Wh
e
n doing a pwmd_open_async2(
)
, chec
k
th
e
pa
s
sphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbe
y
Fixed checking for an SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim
any '
\
r\n' in th
e
c
o
mmand before sending it t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fixe
d
pine
n
try retries wh
e
n use
d
wit
h
pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check
for getopt
.
h
for sys
t
ems that have
g
etopt_lo
n
g()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use getopt_long()
.
W
h
en not a
v
ailable, build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Fixed a potential buffer
overf
l
o
w in do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
F
a
il i
f
assua
n
_g
e
t_a
c
tive_
f
ds() doe
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
bey
Renamed pwmd_tcp_c
o
nnect() and pwmd
_
tcp_conne
c
t_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
D
o
n
't dup() the
a
s
suan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
Fix f
o
r the pr
e
vio
u
s commit
which
d
idn'
t
co
n
si
d
er a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Fixed p
w
md_open/save_async2(
)
when th
e
file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n K
i
bbey
Fixed using a specified passphrase w
h
en using pwm
d
_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbe
y
Don't cl
o
s
e the TCP FD whe
n
an as
y
n
c
command
completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbe
y
Fixed a pwmd_tcp_connect
_
asyn
c
() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Add
e
d p
w
md_ge
t
_f
d
2() to return
t
h
e
F
D used by p
w
md_o
p
en
_
asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
i
bbey
Rem
o
ved pwmd_
t
erminate_pine
n
try()
.
There i
s
no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Remove
d
pwmd_open_nb
(
), pwmd_save_nb(), pw
m
d_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
R
e
set the
s
t
ate after command completio
n
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed
p
w
m
d
_get_hostkey_async
(
) to r
e
set the sta
t
e
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the
p
wmd_process() result when f
i
ni
s
hed
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pwmd_calloc()
n
ot pwmd_mal
l
oc() in
p
wm
d
_new(
)
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
Kibbey
Let pwmd_open_nb()
use PWMD_OPTION_PINENT
R
Y_TIM
E
O
UT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
Re-add pwmd
_
pending_line()
.
The difference
i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ibbey
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#includ
e
<stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kib
b
e
y
P
u
blic/private symbol
clea
n
up
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Use ttyname_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use g
e
tpwu
i
d_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
I
f
username is NULL when
p
assed to pwmd
_
tcp_co
n
nect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
W
ITH_LIBPTH cond
i
tional fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibbey
Ad
d
ed pwmd_st
r
error_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fix
e
d pwm->result
witho
u
t TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Better pw
m
c argument
c
heckin
g
with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y for
p
ine
n
try retries e
v
e
n without
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
--disable-tcp compi
l
e tim
e
fixes
and other minor cle
a
nu
p
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed
a
typo in pwmc
.
c preventing r
e
ading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
L
et pwm
d
_process() work wit
h
out a runn
i
ng command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Make sure the result of a pwmd_com
m
a
nd() is no
t
NU
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Revert "Let pwmd_proces
s
() work when not inside a c
o
mman
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed
a
se
g
fault when aft
e
r a remo
t
e
cl
i
ent ter
m
inates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Let pw
m
d
_
proces
s
() work wh
e
n n
o
t inside a
c
o
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
F
i
nali
z
ed
c
ommit 65d08
5
f
.
Should be back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
C
o
m
pile-t
i
me fix for FreeBSD whe
n
t
r
ying
to link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
C
ompile-time fix for
-
-disable
-
nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bb
e
y
Updated pwmc
.
c
t
o use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
Added PWM
D
_OPT
I
ON_P
I
NENTRY_TIMEOUT
.
Only useful
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Let pwm
d
_setopt()
s
et pwm
d
options di
r
ectly when PWMD_
O
PTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibb
e
y
Ad
d
ed pwm
c
command line opt
i
ons -C and -M to set LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OPTION
_
PI
N
ENTRY_LC_CTYP
E
and
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
In
do_pw
m
d_save
(
)
, c
h
eck for the
u
ser supplied
p
assword
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Reset
p
wm
-
>p
i
d
i
n
pwmd_terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bb
e
y
Make su
r
e
p
w
md_command_ap
(
) has a handle
a
nd
command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Co
m
pile time fix for -
D
MEM_
D
EBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don'
t
t
ry
t
o x
f
ree the password re
t
urned b
y
a use
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Update
d
t
he copyright hea
d
er
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added warn_unused_result attribute t
o
pwm
d
_command_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Fixed
m
e
m
.
c t
o
use a mutex
w
hen acces
s
in
g
the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Added pwmd_comman
d
_ap()
.
This
m
ake
s
pwmd_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
I mess
e
d up the directory
tre
e
making it hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbe
y
Fixed some memory
leaks
.
commit
|
commitdiff
|
tree
2009-03-13
B
en Kibbey
Added pwmd_g
e
t_ho
s
tke
y
_async()
.
Acts li
k
e pwmd
_
tcp_co
n
n
e
ct_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Be
n
Kibbey
F
ixed p
w
md_tcp
_
c
on
n
ect_a
s
ync()
.
commit
|
commitdiff
|
tree
2009-03-12
B
en K
i
bbey
Allow comments beginnin
g
with '
#
'
i
n
t
he kno
w
n
h
o
st
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
B
e
n Kibbey
Changed the
arg
u
ment
s
to pwmd_tc
p
_
connec
t
()
a
nd
commit
|
commitdiff
|
tree
2009-03-11
B
en Kibbey
Use secure memor
y
func
t
i
o
ns
.
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
An al
t
ernate w
a
y to do
r
emote connections
.
Thi
s
will
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Ben Kibbey
A
d
ded pwmd_command_ap()
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibbey
Adde
d
do
c
/ and
s
rc/
.
commit
|
commitdiff
|
tree
next