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 support for a passphrase in the url string.
2009-04-09
Ben K
i
bbe
y
A
d
ded s
u
pport
f
or a passphrase in the url string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
bbey
Set PWMD_OPTION_IP_VE
R
SION
to PWMD_I
P
_ANY when
s
s
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
K
ibbey
Added pwmd
_
connect_url() and pwmd_connect_ur
l
_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Another stdar
g
bu
g
f
ix
.
This t
i
me in pwmd_strdup
_
printf()
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Return GPG_ERR_BAD_
C
ER
T
if the
h
ost key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
i
b
b
e
y
Requi
r
e a C99 com
p
iler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
config
u
r
e
.
a
c
: AC_USE_SYSTEM_EX
T
ENSIONS, require auto
c
onf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixe
d
PW
M
D_OPTION_P
A
SSPHRASE and
PWMD_OPTION_PASSPH
R
ASE_C
B
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Fixed pwmd_
g
et
_
fds()
when doing an ASYN
C
_CMD_
O
P
E
N2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Set
t
he file descri
p
tor to non-blocking i
n
pwmd wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbe
y
Li
n
k with -
l
r
t
on
L
inux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Ad
d
e
d
GPG_ERROR_CFLAGS to the pwmc Makefile dependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Ze
r
o le
n
gth is
a success from
r
ead_hoo
k
()
a
n
d
write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
K
i
b
b
e
y
Fixed read_ho
o
k
(
)
a
n
d
write_
h
ook() over an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ib
b
ey
Commit 1b59e7d
c
o
ntained a
t
yp
o
that didn
'
t really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
F
i
xe
d
pwmd_comma
n
d_a
p
()
c
o
rruptin
g
the
ar
g
u
me
n
t list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Fix
e
d option --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
The '
c
hangelog' targe
t
now only generates chan
g
es from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbey
Minor
d
ocumentatio
n
cle
a
nups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
Do
c
umented SS
H
in the header
.
Also fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed some compile-t
i
me conditi
o
n
als
.
A
gain
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Ad
d
ed a n
o
te a
b
out call
i
ng pwmd_
g
et_f
d
s(
)
after ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_ge
t
_fd() and pw
m
d_get_async2_fd
(
)
.
Th
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_
O
PTIO
N
_
P
INENTRY_TIMEOUT when use
d
with
p
wm
d
_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Update
d
t
h
e
p
wm
c
documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a valid han
d
le and ass
u
an context is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibb
e
y
Return
A
SYNC_DONE f
r
om pwmd_proces
s
() when n
o
t in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Deter
m
ine
the pwmd server version i
n
_socket_connect
_
finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Doc
u
mente
d
pinentr
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
bb
e
y
Fixe
d
local p
i
nentry stri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
R
e
n
a
med pwmd_get_fd2() to
pwmd_g
e
t_
a
sync2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rem
o
ved PWMD_OPTIO
N
_P
I
NENTRY
.
No longe
r
needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do "G
E
TCONFIG d
a
ta_dir
e
ctor
y
" on an SS
H
con
n
ection
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Added
p
wmd_open2() and pwmd
_
save2()
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
More do
c
um
e
ntat
i
ons updates and fixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
p
wmd
_
get_hostkey()
n
ow requires a pwm_
t
h
a
ndle
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbe
y
WITH_PINENTRY condi
t
ional fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Loop over
d
o_sa
v
e_getpin() when GPG_ERR_INV_PASSPHRA
S
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pw
m
d_save()
when P
W
MD_OPTION_PINENTRY is
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ib
b
ey
The ord
e
r of getting the pas
s
w
ord is:
commit
|
commitdiff
|
tree
2009-04-01
B
e
n Kibbe
y
C
r
e
a
ted a doc/Mak
e
file "doxygen
"
target
to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en Kibbey
Set a default timeout
of 30 seconds
f
or
p
wmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Renamed
pwmd_p
a
ss
w
ord_fn to p
w
md_passphrase_cb
_
t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
Up
d
at
e
d the documenta
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbe
y
Added PWMD_OPTION_IP_VER
S
ION which should
b
e set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fix
e
d --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed
z
ombi
e
pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fixed pwm
d
_
s
a
ve_a
s
yn
c
2() when u
s
ed with an SSH ch
a
nnel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --get-hostkey o
p
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibb
e
y
Fix
e
d so
m
e com
p
ile time w
a
r
nings
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibb
e
y
A f
e
w c
o
mpile tim
e
conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
When
d
oing
a pwmd_open_async2(
)
,
c
heck the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fix
e
d chec
k
ing for an SSH
e
rror in write_
h
ook(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Trim
a
n
y '\r\n' in the
c
ommand before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Fi
x
ed pinent
r
y
re
t
ries when use
d
with pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for g
e
topt
.
h for
systems that have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use
getopt_
l
on
g
(
)
.
W
h
en
not
av
a
ilable, build the
incl
u
d
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
Fixed a
p
otent
i
al buffer overflow in do_n
b
_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail if as
s
uan_get_active_fds()
d
oes
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Renamed p
w
m
d
_
t
cp_connect() a
n
d pwmd_tc
p
_connect
_
as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
D
on't dup
(
) the assua
n
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
en K
i
b
bey
F
i
x
for the
pre
v
ious
commit whi
c
h di
d
n't co
n
side
r
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/
s
ave_async2() when
t
he fi
l
e
is cach
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
Fixed using a specified passphrase w
h
en using pwmd_o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
D
o
n'
t
close
t
he TCP
F
D
w
hen an async command co
m
pletes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
F
i
x
e
d a pwmd_tcp_connect_asyn
c
(
)
se
g
f
a
ul
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Ad
d
ed p
w
md_get_fd2() to return
t
he FD used
by pwmd_ope
n
_a
s
yn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
i
b
bey
R
e
moved
p
wmd_terminat
e
_pi
n
ent
r
y()
.
There is no
ne
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Remo
v
ed
p
w
m
d_open_nb
(
), p
w
md_s
a
ve_nb(
)
,
pwmd_open_nb
_
finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
b
b
ey
Reset the state after
comm
a
n
d
c
ompletion
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
K
ibbey
F
i
x
ed pwmd_ge
t
_host
k
ey_a
s
ync() to rese
t
the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Se
t
the pwmd_process() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
pwmd_calloc()
not pwmd_malloc() in pwmd_n
e
w()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Let pwmd_open_nb() use PWM
D
_OP
T
I
O
N_PINEN
T
RY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
Re-add pwmd_pend
i
ng_line()
.
The differenc
e
is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API
c
hanges:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n
Kibbey
#include <s
t
darg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
P
u
blic/pr
i
v
a
te symbo
l
cl
e
anup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
U
se ttyname
_
r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Use
g
et
p
wuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbe
y
If
u
s
ername is NULL when passed to pwmd_
t
c
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
W
I
T
H_LIBPTH cond
i
t
i
onal fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbe
y
Added pwmd_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
F
i
xed pwm->
r
e
s
u
lt without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Be
t
ter p
w
mc argument
c
h
ec
k
i
n
g with
tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
A
l
low -y f
o
r
p
inent
r
y
r
e
tri
e
s even
without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--
d
isable-tcp comp
i
le
t
ime
fixes a
n
d oth
e
r
m
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
F
ixed a typo in pwmc
.
c pr
e
venting reading
S
TDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_proce
s
s() wor
k
withou
t
a running command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
M
ake sure
the
re
s
ult of a pwmd_co
m
mand() is not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert "Le
t
pwmd_proce
s
s() work when not inside a co
m
m
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fi
x
ed a segfault
w
hen after a re
m
o
t
e client te
r
minates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Ki
b
bey
L
e
t pw
m
d
_
p
rocess() w
o
rk when
n
o
t
inside a com
m
an
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibb
e
y
Fi
n
a
lized comm
i
t 65d085f
.
Sh
o
uld be
b
ack to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile-time fix f
o
r F
r
eeBSD w
h
en tryin
g
to link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile-time fix for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
U
pda
t
ed pwmc
.
c to use p
w
m
d
_s
e
topt
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PW
M
D_OPTION_PINE
N
TRY_TIMEOUT
.
Only useful whe
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_se
t
opt() set pwmd op
t
ion
s
directly when PWM
D
_OPTION
.
.
.
commit
|
commitdiff
|
tree
next