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
Fixed read_hook() and write_hook() over an SSH channel.
2009-04-07
B
e
n
Kibbey
Fixed read_
h
ook
(
) and write_hook() over
a
n SSH
channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d contained a
ty
p
o that didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
Fixed pw
m
d_co
m
m
a
nd_ap(
)
corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed option
-
-name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
The 'ch
a
n
g
elog' targe
t
no
w
only generates changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented SSH in the
h
e
ade
r
.
Also fix
e
d formatt
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
Fixed some compile-ti
m
e co
n
ditionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Added a note about calling pwmd_ge
t
_fds() af
t
er each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Remov
e
d pwmd_
g
et_fd() an
d
pwmd_get_a
s
ync2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Fixed
PWMD
_
OPTION_PIN
E
NTRY_TIMEOUT when used w
i
th pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
en
Kibbey
Updated the pw
m
c documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
M
a
ke sure a va
l
id han
d
le a
n
d a
s
suan context is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Retur
n
AS
Y
NC_D
O
NE from pwmd_
p
rocess() w
h
en
n
ot in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine the pwmd server ver
s
ion in _socke
t
_connec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Documented
p
ine
n
try
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Fixed
loc
a
l pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed pw
m
d_get_fd2
(
) t
o
pwm
d
_
g
et_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Ki
b
bey
Remo
v
ed P
W
MD
_
OPTION_PINENTRY
.
No longer need
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do "GETC
O
NFIG
data_direct
o
ry" on an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Ad
d
ed pwm
d
_open2() and pwmd_s
a
v
e
2
(
) w
h
ich wil
l
us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Mo
r
e documentations updates and f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
Kibbey
pwmd
_
get_hostkey(
)
no
w
re
q
ui
r
es a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTRY condit
i
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
L
o
o
p over do_sav
e
_
getpin()
whe
n
GPG_E
R
R_INV_PASSPH
R
ASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibb
e
y
Fixed pwm
d
_sa
v
e()
whe
n
PWMD_O
P
TION_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
The order of getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a doc/
M
akefile
"doxygen" t
a
rget t
o
gen
e
rate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a
d
e
f
ault
t
imeout
o
f 30 se
c
ond
s
for p
w
md_op
e
n_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en
Kibbey
Renamed pwmd_password_
f
n to pwmd_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
Updated the d
o
cumentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Add
e
d
P
W
MD_OPT
I
ON_IP_VERSIO
N
which
s
h
o
u
l
d
b
e
s
et to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
F
ixed --por
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A fe
w
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d zom
b
ie pine
n
try processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d pwmd_save_as
y
nc2()
w
h
e
n
use
d
with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Ki
b
b
e
y
Fixed the --ge
t
-hostke
y
o
p
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed so
m
e compile
t
ime warnings
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A few c
o
mpile
t
i
me condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a pwmd_ope
n
_async2(), check
t
h
e p
a
ssphra
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed c
h
ecking for an
S
SH e
r
ro
r
in write_
h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Tri
m
any '\r\n' in t
h
e
c
omm
a
nd before sending
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed
pinen
t
ry retries when us
e
d with pwmd_open_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for
get
o
pt
.
h for sys
t
e
m
s th
a
t
h
ave getopt
_
long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Ki
b
b
e
y
Use getopt_long()
.
Whe
n
not avai
l
abl
e
, b
u
ild the incl
u
ded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibb
e
y
Fixed a potenti
a
l
buffer
overflow
i
n d
o
_nb_co
m
m
an
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kib
b
ey
Fail if
assuan_get_a
c
tive_fd
s
() do
e
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed pwmd_tcp_connect() a
n
d
pwm
d
_tc
p
_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
D
o
n
't dup() the assuan c
t
x FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fi
x
for the p
r
evious commit which did
n
't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
ixe
d
pwmd_open/sa
v
e_
a
sync2() wh
e
n the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed using a
s
pec
i
fied pas
s
p
h
rase wh
e
n using pw
m
d_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Don't close t
h
e TCP
F
D when an async co
m
mand completes
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
Fi
x
e
d
a
p
w
md
_
tcp_con
n
ect_async() seg
f
ault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
A
d
d
ed pwmd_get_
f
d
2
() to
return the FD
u
se
d
by pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
emoved pwmd_ter
m
i
nate_pinentry()
.
Ther
e
is n
o
nee
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ib
b
ey
Remov
e
d pwmd_
o
pen_nb(), pwmd_save
_
nb(), pwmd_o
p
en_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
i
bbey
Reset t
h
e sta
t
e after com
m
and complet
i
on
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
i
b
bey
Fixed pwmd_ge
t
_hostke
y
_
async() to reset th
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
Set the
pw
m
d_process() res
u
lt
w
hen fi
n
ished
.
Fix
e
s
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
be
y
pwmd_calloc() not pwmd_malloc() i
n
p
w
m
d
_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
L
e
t
pwmd_open_nb() use PWMD_OPTION_PINENT
R
Y_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-
a
dd
pwmd_pending_line()
.
The difference is th
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en Kibb
e
y
API chan
g
es:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#
i
nclude <stdar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pub
l
ic/private
s
ymbol
c
l
e
anup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use
ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Use getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If
u
sername is NULL when pas
s
e
d
to pwmd_tcp_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
WITH_LIBPTH
c
ondi
t
ion
a
l
fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Added pwmd_strerror_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbe
y
Fixed p
w
m->re
s
ult
withou
t
TCP suppor
t
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Bette
r
pwmc argument checking with tcp opt
i
o
n
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
All
o
w
-
y for pinentry retri
e
s
even without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bb
e
y
--disable-
t
cp compile
t
i
m
e fix
e
s and other minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibbey
Fixed a typo in pwmc
.
c preve
n
ti
n
g re
a
din
g
STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let
p
wmd_proces
s
() w
o
rk without
a
ru
n
ning comm
a
nd
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Make
sure the result of a pwmd_command() is no
t
N
U
LL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
R
e
vert "Le
t
pwmd_proce
s
s(
)
work whe
n
not
i
n
si
d
e
a
command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Fixed a s
e
gfault whe
n
af
t
er a
remote cli
e
n
t t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
i
bbey
Le
t
pwmd_process(
)
work when not inside a comm
a
nd
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Fi
n
ali
z
ed co
m
mit 65d
0
85f
.
Shoul
d
be back t
o
normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Ki
b
bey
C
om
p
ile-time fix
for FreeBSD when
t
ry
i
ng to li
n
k
w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbe
y
C
ompile-time
f
i
x fo
r
--disable-n
l
s
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
U
p
dated pwmc
.
c to use pw
m
d_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbe
y
Added PWMD_OPTI
O
N
_PINENTRY
_
TIMEO
U
T
.
Onl
y
useful wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Let pwmd
_
setop
t
() set pwmd o
p
tions directly when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
be
y
A
dded pw
m
c command
l
ine
optio
n
s
-
C and -
M
to set LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OPTI
O
N_PINENTRY_
L
C_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In do_pwmd_save()
,
check f
o
r the u
s
e
r sup
p
l
ied
password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Rese
t
p
w
m-
>
pid
i
n
p
wm
d
_term
i
nate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Ki
b
b
ey
Ma
k
e su
r
e pwmd_command_ap() has a
handle and command
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Compile time fix for -DME
M
_D
E
BUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Don
'
t t
r
y to xfree the p
a
ssword
return
e
d
by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibb
e
y
Updated the
c
opyright heade
r
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added warn_
u
nused_result
attribu
t
e to pwmd
_
command_a
p
()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbe
y
Fixed m
e
m
.
c
to
u
se a mutex when accessing the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbey
Added pwmd_command_ap()
.
This makes p
w
m
d_comma
n
d()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
I
messed up th
e
direct
o
r
y tree making i
t
hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed some memory
l
eaks
.
commit
|
commitdiff
|
tree
next