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 Kibbey
Al
l
function argum
e
nts that take a fil
e
n
ame path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
Check
for an emp
t
y (but not NULL) required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
Fixed pwmd_pr
o
cess
(
) when an OPEN command failed wit
h
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the
t
cp_
c
onn in rese
t
_async() when 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
Free t
h
e
t
c
p
_conn in setup_tcp
_
session()
.
F
ixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbe
y
Send "OPTION PINENTRY=0" afte
r
establishing a remo
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Reve
r
t
"Added support for a pass
p
hr
a
se in t
h
e url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
en Kib
b
ey
Added s
u
pport fo
r
a passphra
s
e
in
th
e
url strin
g
.
commit
|
commitdiff
|
tree
2009-04-09
B
en
Kibbey
Set
PWMD_OPTION_IP_VE
R
SION to PWMD
_
I
P_ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added
pwmd
_
connect_url() and pwm
d
_connect_ur
l
_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Another
st
d
a
r
g bugfix
.
This tim
e
in pwmd_str
d
up_printf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Return GPG_ERR_BAD_CERT if the host key cann
o
t
be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
K
i
b
bey
Requi
r
e a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
conf
i
gu
r
e
.
ac: AC
_
USE_SYSTEM_EXTENSIO
N
S, requir
e
autoco
n
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Fixed PWMD_OPTION_PAS
S
PHRASE an
d
P
W
MD_OPTION_PASSP
H
R
A
SE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed pwmd_get_f
d
s() when doing
a
n ASYNC_CMD_
O
PEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbe
y
Set the file d
e
sc
r
i
pt
o
r to non-blocking
in pwmd
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
L
i
n
k
with -lrt
o
n
L
i
n
ux x86_64 boxe
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added GPG_ERROR_CF
L
AGS to the pw
m
c Makefile
dep
e
ndenc
i
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zer
o
l
ength is a
success from read_ho
o
k
()
and
write_hook
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
Fix
e
d re
a
d_hook
(
)
and write_hook(
)
o
v
er an SSH channe
l
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1
b
59e7d
contained a typo
t
hat didn'
t
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd
_
command
_
ap
(
)
corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
i
bbey
Fixed optio
n
--n
a
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
The 'cha
n
gelog' target no
w
only gen
e
ra
t
es changes fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor doc
u
mentation cle
a
nups
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
K
i
b
b
ey
Docume
n
ted SSH in t
h
e header
.
Also
f
ixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
Fixe
d
some
c
o
m
pile-time condit
i
onals
.
Agai
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note about calling
pwmd_get_fds(
)
after eac
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
e
y
Re
m
oved p
w
md_ge
t
_fd
(
) and p
w
md_get_async2_fd()
.
Th
e
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_O
P
TION_PI
N
ENTRY_TIMEOUT when
used with
p
wmd_open
2
()
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibbey
Updated
t
he pwmc docu
m
entat
i
on
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kib
b
ey
Make sure a valid
handle and
a
s
suan
c
o
ntex
t
is availa
b
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASYNC_DONE from pwm
d
_process() when
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Determine the
p
w
m
d server vers
i
on in _socket_connec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Docum
e
n
t
ed pi
n
e
n
t
ry
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
K
ibbey
Fix
e
d local pinentry
s
t
rings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rename
d
pwm
d
_get_fd2()
t
o
pwmd_
g
et_async2_
f
d()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Remove
d
PWMD_OPTION_PINE
N
T
RY
.
No longer need
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
D
o
n't do "GETCONFIG d
a
ta_direc
t
ory" on a
n
S
S
H connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added pwmd_open2() and pwmd
_
save
2
() which will
use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
More do
c
ume
n
tatio
n
s updates and
fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
p
w
md_get_hostk
e
y() now req
u
ires
a
pw
m
_
t hand
l
e
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WI
T
H_PINENTRY conditio
n
al
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
i
bbey
Loo
p
over do_
s
a
v
e_getpin() when GPG_ERR_INV
_
PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Fixed pwm
d
_
s
ave()
w
hen PWMD_OP
T
I
ON_
P
I
N
ENTRY is se
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Th
e
order of getti
n
g the
p
a
s
s
word i
s
:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a doc
/
Makefile "doxyg
e
n" target to
g
e
nerat
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
S
et a d
e
fault t
i
meout
o
f
30 seconds f
o
r
pwmd
_
open_as
y
nc
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n
K
i
b
b
e
y
Re
n
amed pwmd
_
password_fn to pwmd_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Update
d
the
d
ocumentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD
_
OPTION_IP_VERSION
w
h
ich
should
b
e
s
e
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fi
x
ed
-
-
p
ort
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
A
f
e
w
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
ed zombie p
i
nentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed pwmd_save_async2
(
) w
h
en
used with an SSH cha
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
K
i
bbey
Fixed the --get-host
k
ey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
A f
e
w c
o
mpile time conditional
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Wh
e
n doing
a pwm
d
_o
p
en_async2(), che
c
k
the
p
assphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
F
i
xe
d
checking
f
or
a
n SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Trim
a
ny '\r\n' in the command before se
n
din
g
it
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixe
d
pin
e
nt
r
y retries
wh
e
n used with pwmd_open_
a
s
y
nc()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Check
for getopt
.
h for systems that have getopt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use getopt_lo
n
g()
.
When not
av
a
ilable, build the incl
u
ded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Fix
e
d
a
potential
b
uff
e
r overf
l
ow in do_nb_comm
a
nd()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Fail if assuan_
g
et_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Ren
a
med pwmd_tcp_con
n
ect(
)
and
pwmd_tcp_co
n
n
e
ct_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup() the assuan ctx
FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Fix
f
o
r t
h
e pr
e
vious commi
t
w
h
ich di
d
n't
c
o
nsider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Fixe
d
p
w
m
d_o
p
en/s
a
ve_async2
(
)
w
hen
the
f
i
l
e is cach
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Fixed
u
sing a sp
e
c
i
fied p
a
ssphr
a
se when using
p
w
m
d_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Don't
c
lose
t
he TCP FD when an async comma
n
d completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fi
x
e
d
a pw
m
d_t
c
p
_connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Added pwmd_ge
t
_fd2()
t
o retu
r
n the FD used by pwmd_
o
pen_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Removed pwmd
_
terminate_pinen
t
ry()
.
There
is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en K
i
bbey
Removed pwmd_open_nb(), pwmd_s
a
v
e
_
nb(), pwmd
_
o
p
en_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Rese
t
the state after com
m
a
nd compl
e
tion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ib
b
ey
Fi
x
ed pwmd_get_hostkey_async(
)
to r
e
set the state
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
Set the pwmd_pr
o
cess() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
be
y
p
wmd_calloc(
)
not pwmd_malloc() in pwmd_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
Let
p
wmd_open_nb()
use
P
W
MD_
O
PTI
O
N
_
P
I
NENTRY_
T
IMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
b
e
y
R
e
-
add pw
m
d_
p
e
nd
i
n
g
_line()
.
The difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
API
c
hange
s
:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
#
i
n
clud
e
<s
t
darg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Public/pr
i
vate symbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Ki
b
bey
Use tt
y
name_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
U
s
e
getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
If
u
s
ername is NULL when p
a
ssed to pwmd_tcp
_
con
n
e
c
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH_LIBPTH c
o
n
ditio
n
al f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Added pwmd_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
b
b
e
y
Fixed pwm->result witho
u
t TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Better pwmc argument checking
w
i
th tcp
options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y for pi
n
entry
r
etries even without D
E
BUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--disable-tcp compile time fixes and other minor
cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Fixed a typo in pwmc
.
c pre
v
e
n
ting reading
ST
D
I
N
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd
_
proc
e
ss()
w
ork witho
u
t a running
c
omma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
M
a
k
e sure the result o
f
a
p
wmd_command() is
n
ot
N
U
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert "Let pwmd_p
r
ocess() work when not insid
e
a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
Fi
x
ed a segfa
u
lt when after a remote client terminates
.
commit
|
commitdiff
|
tree
next