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
pwmc: Let --url be a non-DEBUG option.
2009-04-11
Be
n
Kibb
e
y
pwmc: Let --url
b
e a
n
on-
D
E
B
UG option
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
pwm
c
: Set S
T
DIN_FILENO
to non-blocking when waiting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Rese
t
pwm->cmd from pwmd_ssh_connec
t
(
)
.
Fixes pwmd_proce
s
s()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
I
t
i
s probably bett
e
r to
set O_NONBLOC
K
o
nly for
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
Kibb
e
y
Call _
p
wmd_process()
i
n _inqu
i
r
e
_
c
b() so status messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Mor
e
documentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed instal
l
ing the
w
r
o
ng lintian override
s
for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
Instead of sendin
g
the NOP comm
a
nd
t
o process
p
ending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n K
i
b
bey
--disable-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Call libssh2
_
channel
_
cl
o
se() before
f
ree
i
ng i
t
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
More doc
u
menations update
s
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Added a
note to the documentation about
filenames
b
e
ginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
S
ho
w
the clien
t
name in the pine
n
try dial
o
g
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibb
e
y
A
l
l
f
unction arguments th
a
t take
a
filename pat
h
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Check f
o
r
an emp
t
y (but n
o
t NUL
L
)
required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fix
e
d
pwmd_pro
c
ess() w
h
en a
n
OPEN co
m
mand failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben
Ki
b
bey
Free the tcp_
c
on
n
i
n
r
eset_async() when
'done
'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free t
h
e tcp_conn
in setup_tcp_
s
e
s
sion(
)
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send
"OPTI
O
N PINENT
R
Y
=
0" after establishing a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
bbe
y
Re
v
er
t
"Added support for a pass
p
hrase in the
u
r
l
string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
Added supp
o
rt for a passphra
s
e in the url strin
g
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibbey
Set P
W
MD_OP
T
I
O
N_IP_VERSION
t
o PWMD_IP
_
ANY
w
h
e
n
ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Ki
b
bey
Added pwmd_conne
c
t
_u
r
l() a
n
d pwmd
_
connec
t
_url_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
K
ibbey
Another stdarg bugfix
.
This ti
m
e
i
n pwmd_strdup_prin
t
f()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Return GPG_ERR_
B
AD_CERT if the ho
s
t key cannot
b
e verifie
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Require
a
C
9
9
c
ompiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
co
n
f
i
gure
.
ac
:
AC_USE_SYSTEM_EXTENSIONS,
r
e
q
uir
e
autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
F
i
xe
d
PWMD_OPT
I
ON_PASSPHRA
S
E and
PWMD_O
P
T
I
ON_PASSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed pw
m
d_get_f
d
s() when
doing a
n
AS
Y
NC_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
Set the
f
ile
d
escrip
t
or
t
o
non-blocking in
p
w
md when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link w
i
th -lrt on Lin
u
x x86_64
boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added GPG_ERRO
R
_CFLAGS to
the pwmc Makefil
e
dependenci
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Zero length is a
succe
s
s fr
o
m read_hook
(
) and write_ho
o
k
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed read_h
o
ok() and write_hook() over an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibbe
y
C
omm
i
t 1b59e7d contained a typo that didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fixed p
w
m
d
_comma
n
d
_
ap() corrupting the ar
g
ument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fixed o
p
tion --name
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbey
The 'ch
a
ngelog' target now o
n
ly generates changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Minor documen
t
ation
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
Docum
e
nted SSH in the header
.
Also
f
ixed fo
r
mat
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
F
ixed so
m
e compile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbey
Added a note ab
o
ut cal
l
ing pwmd_get_fds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Rem
o
ved pwmd_get_fd() and
pwmd_get_async2_fd()
.
Th
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
F
ixed PWMD_OPTION_PINENTRY_TIMEOUT when used with
pwm
d
_
o
pen2()
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kib
b
e
y
Updated the pwmc d
o
c
um
e
ntation
.
commit
|
commitdiff
|
tree
2009-04-04
B
en
K
ibbey
Make sure
a
valid
h
andle and assuan
c
o
n
t
ext i
s
a
vailable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
b
ey
Return A
S
YNC_DONE
f
r
o
m
p
w
m
d_process() when n
o
t i
n
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
bbey
De
t
erm
i
ne th
e
pwmd server version in _socket_
c
onnect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Ki
b
bey
Documented
p
inentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
F
i
xed
l
o
cal pinentry
s
trings
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibb
e
y
Re
n
amed pwmd_get
_
f
d
2() to p
w
md_
g
et_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rem
o
ved PW
M
D_OPTION_
P
INENTRY
.
No lon
g
er needed
s
ince
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Don't do
"
GE
T
CONFIG data_directory
"
on an SSH c
o
nnection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Added
pw
m
d_open2(
)
and pwmd_s
a
ve2() which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
More d
o
c
u
m
e
ntati
o
ns updat
e
s
and
fi
x
es
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
K
ibb
e
y
pwmd_get_h
o
stke
y
() now requi
r
e
s a
p
wm_t handle
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTRY conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
L
oop over
d
o_save_getpin() when GPG_ERR_INV_P
A
SSP
H
RAS
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kib
b
ey
Fixed
p
wmd_save()
w
hen PWMD_OPTION_
P
INENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of getting the pas
s
word is:
commit
|
commitdiff
|
tree
2009-04-01
Ben
K
ibbey
C
r
eated
a
doc/Makefile
"
doxygen" target to g
e
ne
r
ate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a defa
u
lt timeout
o
f 3
0
second
s
f
o
r
p
wmd_open_
a
sy
n
c2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Ren
a
med
pwmd_password
_
fn to p
w
m
d_passphrase_cb_t
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Upda
t
ed t
h
e docume
n
t
a
tion
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
A
d
d
ed PWMD_OPTION_IP_VERSION which should be
s
et to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
Kibb
e
y
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
A
f
e
w
minor cleanup
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kib
b
ey
Fix
e
d
zombie p
i
nentry proces
s
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
e
y
F
i
xed pwmd_
s
ave_async2()
when used with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
F
ixed the --get
-
hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
e
y
Fixed some compile time wa
r
nings
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
A
few compile
time conditional f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bb
e
y
Whe
n
do
i
ng
a pwm
d
_op
e
n
_as
y
nc2
(
), check the passphr
a
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed
checking
f
or an S
S
H error in
w
rite_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
b
e
y
Trim
a
ny '\r\n' in
t
h
e
command before sen
d
ing it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbe
y
Fixed pinent
r
y retries w
h
en used w
i
th pwmd_ope
n
_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for g
e
to
p
t
.
h for
s
ystems
t
hat
h
av
e
g
e
t
opt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Use
getopt_lo
n
g()
.
When not availab
l
e, buil
d
the i
n
cluded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
F
ixed
a
potential buffer overflow in do_nb
_
command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
a
i
l
if assuan_
g
e
t_active
_
f
d
s() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed pwmd_tcp_co
n
ne
c
t
(
) and
p
wmd
_
tcp_connect_asyn
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Don't
dup() the ass
u
an ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
bey
Fix for the
previ
o
us commit whic
h
d
i
d
n't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_ope
n
/save_async2() when the fil
e
is c
a
ched
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Fix
e
d using a s
p
ecifi
e
d pa
s
sphras
e
when using pwm
d
_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbe
y
D
o
n't close the TCP FD when an
async comm
a
nd
completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
Fixed a pwmd
_
tc
p
_
connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
A
d
ded pwm
d
_
g
et_fd2(
)
to retur
n
t
h
e FD used by pwmd
_
open_asy
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
emoved pwmd_term
i
nate_pinentr
y
()
.
T
here is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_open_nb(), pwmd_save_nb(),
pwm
d
_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
R
eset the state after
c
ommand comple
t
ion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
Fixed pwm
d
_ge
t
_host
k
ey_async() to reset
the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pwmd_process() result
w
hen f
i
n
i
shed
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
B
en Kib
b
ey
pwmd
_
calloc() not pwmd_malloc() in
p
wmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Le
t
p
wmd_ope
n
_nb()
use PWMD_OPTION_PINENTRY_
T
IMEOU
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd_
p
ending_line()
.
The difference i
s
tha
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#i
n
clude <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
K
i
bbey
Pub
l
ic/private symbol clea
n
up
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
be
y
Use ttyname_r(
)
.
commit
|
commitdiff
|
tree
next