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
All function arguments that take a filename path now have ~ expanded to
2009-04-10
Ben Kibbe
y
All
function
a
rgumen
t
s that take
a
filename path
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Che
c
k for an empty
(but not NULL) required
p
aramete
r
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
Kibbe
y
Fixed pwmd_process() when an OPEN command
f
ailed with
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
F
ree the t
c
p
_conn in
r
e
s
e
t_a
s
ync() when 'do
n
e'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the tcp_conn in setup_tc
p
_session()
.
Fixes fre
e
in
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
Send "OPTION PINEN
T
RY=0" after establish
i
ng a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
Rever
t
"Added support
fo
r
a pass
p
hrase in the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
bbe
y
Added s
u
pport for a passphrase in the u
r
l strin
g
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Set PWMD_OPTION_IP_VERSION to PWMD_IP
_
ANY
when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n Kibbey
Added pwm
d
_connec
t
_url() and p
w
m
d_connect_url_a
s
y
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Another
s
tdarg
bugfix
.
This time i
n
p
w
md_strdup_pr
i
ntf()
.
commit
|
commitdiff
|
tree
2009-04-08
B
en
Kibbe
y
Re
t
u
r
n GPG_ERR_BAD_
C
ERT i
f
the host
key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Re
q
uire a C
9
9 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
con
f
igure
.
ac:
A
C
_USE
_
SYS
T
EM_EXT
E
NSIONS, require autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
F
i
x
e
d
P
WMD_OP
T
IO
N
_PA
S
SPHRASE and PWMD_OPTION_PASSPH
R
A
SE_
C
B
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Fixed pwm
d
_
ge
t
_fds() when d
o
i
ng a
n
ASYNC_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en K
i
bbey
Set t
h
e file descriptor to non-blocking
i
n pwmd
w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Li
n
k
w
ith -lrt on Linux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
Add
e
d GPG
_
ERROR_CFLAGS
to the pwm
c
Makefile de
p
e
ndencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero
l
e
ngth is a succes
s
from r
e
ad_hoo
k
() and write_hoo
k
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
Fixed re
a
d_hook() a
n
d
write_hook() over an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit
1b59e7d con
t
ained a t
y
po that didn't r
e
ally
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fixe
d
pwmd_
c
omm
a
nd_ap() corrupting the
argument
l
i
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
b
e
y
Fix
e
d opt
i
on --
n
a
me
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
i
b
b
e
y
The
'changelog'
t
arget no
w
only genera
t
e
s changes fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbe
y
M
inor
d
ocumentation cleanup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Do
c
umented
SSH in the header
.
A
l
so fixed
f
ormatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fix
e
d
some c
o
mpile-time cond
i
tionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note about calling
p
w
md_get_
f
ds() after
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Remo
v
ed pwmd
_
get_fd()
a
nd pwmd_get_a
s
ync2_fd()
.
Th
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Fixed
PW
M
D_O
P
TION
_
PINENT
R
Y_TI
M
EOUT
w
hen used with pw
m
d
_ope
n
2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updated
the pwmc do
c
umentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
M
ak
e
sure
a
valid
h
andle
a
nd
assu
a
n contex
t
i
s
a
v
ai
l
a
b
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
Return ASY
N
C_DONE f
r
o
m
p
w
m
d_process() wh
e
n
n
ot in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Determ
i
ne
t
h
e
p
w
md server
v
e
rsion in _so
c
ket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Documented pin
e
nt
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
F
ixed
l
ocal pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Ki
b
be
y
R
e
named
pwmd_get_fd2() to pwmd_get_as
y
nc2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Re
m
oved PWMD
_
OPTI
O
N_PINENT
R
Y
.
N
o
longe
r
needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
Don'
t
do
"GETCONFIG data_direct
o
ry" on
a
n SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
A
dd
e
d pw
m
d_open2() a
n
d pwmd
_
save2() which wi
l
l
u
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibb
e
y
More
d
ocumentations upda
t
es and fixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
p
w
md_get_hostkey
(
) no
w
r
e
quires
a pwm_t handle
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Ki
b
be
y
WITH_PINENTRY
conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
Loop o
v
er d
o
_save_
g
etpin() when GPG_ERR_INV_PA
S
SPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
Fixe
d
pwmd_save()
w
hen PWMD_OPTION_
P
I
NENTRY is s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of
get
t
in
g
the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a doc/Makefile "doxyge
n
" ta
r
get to g
e
nera
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
S
e
t
a de
f
ault ti
m
eout of 30
s
econds f
o
r pwmd_ope
n
_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Renamed pwmd_p
a
s
sword_fn to pwmd_passphrase_
c
b_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
Updated t
h
e documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_OPTION_IP_
V
ERSION which
s
houl
d
be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fixed --p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
b
bey
A
f
ew minor clean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fixed zombie pi
n
entry proce
s
ses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ib
b
ey
Fixed pwmd_save_a
s
ync2() when used with a
n
SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fixed
t
he -
-
get-hos
t
key opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some
c
ompile time warning
s
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbe
y
A few compile time con
d
i
t
ion
a
l
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kib
b
ey
When
d
oi
n
g a pwmd_open_as
y
nc2(),
check the p
a
s
sp
h
r
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Fixe
d
c
h
ecki
n
g
for an
SSH
e
rror in wri
t
e_hook()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Trim an
y
'\
r
\n' i
n
the command befor
e
sendi
n
g it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Ki
b
b
e
y
F
ixed pinentry re
t
ries when used with pw
m
d_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Check for getopt
.
h for
systems that have getopt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
Use getopt_long()
.
When not available, build the inclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
bbey
Fixed a potent
i
al buffer
ov
e
rflow i
n
d
o
_
n
b
_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Fail if assuan_get_activ
e
_f
d
s
(
) does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Renam
e
d pwmd_
t
cp_connect
(
) and pwmd_t
c
p
_
co
n
n
e
ct_
a
syn
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
Don't dup() the a
s
suan ct
x
FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Fi
x
for the previous commit whi
c
h didn't co
n
sider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
b
e
y
Fixed pwmd_
o
pe
n
/save_a
s
y
nc2() when t
h
e file
i
s ca
c
hed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kib
b
ey
F
ixed using a spe
c
ified pa
s
sphrase
w
h
en
u
s
ing pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Ki
b
bey
Don't close th
e
TCP FD wh
e
n an async com
m
an
d
complet
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
b
b
ey
Fixed
a
pwmd_
t
cp_connect
_
a
s
y
n
c() segfaul
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Add
e
d pwmd_get_fd
2
() t
o
return the FD used
by
pwmd_
o
pen_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Ki
b
be
y
Remov
e
d pwmd_
t
ermi
n
ate_pinentry(
)
.
There
i
s no
n
eed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en K
i
bbey
Removed pwmd_open_nb(), pwmd_save_nb(), pwmd_ope
n
_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibb
e
y
Reset the
s
tate after comma
n
d completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get_hostkey_async() to reset
t
he stat
e
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pwmd_p
r
ocess() re
s
ult when fi
n
i
s
hed
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
B
en Kib
b
e
y
pw
m
d_calloc
(
) n
o
t pwmd_malloc(
)
i
n pwmd
_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let p
w
md_open
_
nb
(
) us
e
PWMD_OPTION_PINENTRY_TIMEO
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
i
b
bey
Re-add pwmd_pending_line()
.
The difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ib
b
e
y
API changes:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n
Kibbey
#i
n
clud
e
<
stda
r
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibb
e
y
Public/private sy
m
b
ol
cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Ki
b
bey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getpwuid_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If userna
m
e
is NULL
when
p
as
s
ed to pwmd_t
c
p
_con
n
e
ct
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
W
ITH_LIBP
T
H conditi
o
nal f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Adde
d
pwmd_strerr
o
r_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
F
i
x
e
d pwm->result without TCP
s
upp
o
rt
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
B
e
t
t
er pwmc ar
g
ument c
h
ec
k
ing with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Allow -y for
p
inentry retries even w
i
th
o
ut DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
-
-disable-tcp c
o
mpile ti
m
e fixes
a
n
d o
t
h
er minor cle
a
nups
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Fixed
a
typo in pwmc
.
c preven
t
ing reading
STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Let pwmd_process() work wi
t
hout a
running
c
ommand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Make sure
t
he result of a
pw
m
d_c
o
mmand()
is not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
b
b
ey
Rever
t
"
Let pwmd_process() work when
n
ot inside
a
command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed a segfault when after a remote client
terminate
s
.
commit
|
commitdiff
|
tree
next