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 K
i
bbey
All function
arg
u
men
t
s th
a
t take a f
i
lename pat
h
now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Check for an empty (but not NULL) r
e
quired parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
b
bey
F
ixed
p
w
m
d
_proce
s
s
() when
a
n
O
PEN command
failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free
t
h
e tcp_c
o
nn in reset_async(
)
when
'd
o
ne'
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbe
y
F
r
e
e th
e
tcp_co
n
n
i
n setup_tcp_ses
s
ion
(
)
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send "
O
PTION
PI
N
E
NTR
Y
=0" af
t
er est
a
blishin
g
a
r
emote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
Ki
b
bey
Revert "Added su
p
port for a passphrase in the url st
r
in
g
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kib
b
ey
Added support for a passphrase in
t
he url s
t
ring
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
S
et PWMD
_
OPTION_IP_VERSION to PWMD_IP
_
ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Add
e
d pwmd_conne
c
t_url() an
d
pwmd_con
n
e
ct
_
url_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Ano
t
h
e
r s
t
dar
g
bugf
i
x
.
Th
i
s time
i
n pwmd_st
r
d
up_pr
i
ntf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
R
e
t
u
rn
G
PG_ERR_BAD_CERT i
f
the host
key
c
annot
be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
R
equi
r
e a C99
c
omp
i
ler
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
configure
.
ac:
A
C
_
U
SE_SYSTEM_EXTEN
S
IONS,
r
equire auto
c
onf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fi
x
ed PWMD_OPTION_PASSPHRASE
a
n
d PWMD_OP
T
ION_PASSP
H
RAS
E
_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed p
w
md
_
get_fds() when doing
a
n ASYNC_C
M
D_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Set the file
d
e
s
cript
o
r
to
non-blocking in pwmd
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link with -lr
t
on Linux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added GPG_E
R
ROR_CFL
A
GS to the pwmc M
a
kefile de
p
endencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Zero length is a success
f
rom read_hook() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fix
e
d read_hook(
)
an
d
write_
h
o
o
k() over an SS
H
cha
n
n
e
l
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
Commit 1b59e7d c
o
ntained
a
t
yp
o
t
hat didn't re
a
lly
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kibbey
Fixed pwmd_co
m
mand_
a
p
(
)
co
r
rupting the a
r
gument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
F
ixed
op
t
ion --name
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
The 'cha
n
gelog' target
now only
g
e
nerates changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbe
y
Minor documentation cle
a
nup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Do
c
umented SSH in the heade
r
.
A
l
so fixed for
m
atting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
Fix
e
d
some compil
e
-time conditional
s
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Added
a
note abou
t
calling pwmd
_
ge
t
_f
d
s() aft
e
r each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Rem
o
ved
p
w
md_get_fd() and pwm
d
_ge
t
_async2_fd()
.
Thes
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbe
y
Fixed PWMD_OPTION_PI
N
ENT
R
Y_
T
IMEOUT whe
n
u
s
ed with pwmd_ope
n
2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Upd
a
ted th
e
p
wmc d
o
cumentation
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbe
y
M
ake sure a vali
d
handl
e
and assuan c
o
ntext is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibbey
Return ASYNC_DONE from pwmd_process() w
h
en not
i
n a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
De
t
ermine the
p
wmd
s
erver
v
ers
i
o
n
i
n _socket_connec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Document
e
d pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Fixed
local pi
n
e
ntry
s
tr
i
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed
p
w
m
d
_get_fd2() to pwmd_get_async2
_
f
d
(
)
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibb
e
y
Remov
e
d
P
WMD_OPTION_PI
N
EN
T
R
Y
.
No
l
onger needed s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
Don't do "GETCONFIG data_directory" on an SSH conn
e
ct
i
on
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Added pwmd
_
open2() and pwmd_save2()
w
hich will us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
More d
o
cu
m
entations upd
a
t
es and fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
pwmd
_
get_
h
o
s
tkey
(
) now
re
q
ui
r
es a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
WITH_PINEN
T
RY conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Loo
p
o
v
er d
o
_save_getpin() when GPG_ERR_IN
V
_PA
S
SPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
K
ibbey
Fix
e
d p
w
md
_
s
ave(
)
when PWMD_OPTION_PINENT
R
Y
is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order
o
f gettin
g
the
p
a
ssword is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Cr
e
ated a d
o
c/Makefi
l
e "dox
y
gen" target to gene
r
at
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Set
a de
f
ault
t
i
m
e
out of 30 seco
n
ds for pwmd_open_
a
s
y
n
c
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
R
e
name
d
pwm
d
_password_fn to pwmd
_
passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
e
y
U
p
d
a
ted
t
h
e doc
u
ment
a
tion
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Adde
d
PWMD_OPTION_IP_VERSION w
h
ich should be s
e
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fixed --p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
A few minor clean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
F
i
xed zombi
e
pinentry pro
c
esses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
F
i
xed pwmd_save_async2() when
u
sed with a
n
SSH c
h
annel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kib
b
ey
Fixed t
h
e --get-
h
ostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fix
e
d s
o
me
compile time
w
arn
i
n
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few comp
i
le t
i
m
e
conditional
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doi
n
g
a pwmd_ope
n
_async2(),
c
h
e
ck
t
h
e
passp
h
rase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
F
i
x
e
d ch
e
c
ki
n
g
for
a
n
S
S
H
err
o
r
i
n wri
t
e_hook(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Trim any '\r
\
n' in
t
he
c
om
m
and
b
e
f
or
e
s
en
d
i
n
g it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
F
ix
e
d
pin
e
ntry retries
w
h
en u
s
e
d
with pw
m
d_o
p
en_async()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
Check for
ge
t
opt
.
h
for sys
t
em
s
that
have
g
etopt_long
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
U
s
e geto
p
t_
l
ong()
.
When not avai
l
able, build the inclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbe
y
Fixed
a
potenti
a
l
b
uffer overfl
o
w in do_nb_c
o
mmand()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibb
e
y
Fail i
f
as
s
uan
_
ge
t
_
a
ctiv
e
_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Kibbey
Rename
d
pwm
d
_
tcp
_
connec
t
() and pwmd_tcp_conne
c
t
_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't d
u
p
(
) the assuan ctx
F
D
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Fix
for the p
r
e
vious commi
t
which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixe
d
pwmd_
o
pen/save_asy
n
c2
(
)
w
h
en the file
i
s cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Ki
b
bey
F
i
xed using a specified
pas
s
phrase when us
i
n
g pwmd_ope
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close the TCP FD when an async comma
n
d completes
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Ki
b
bey
Fixed
a
pwmd_t
c
p_connect_async(
)
segfau
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
A
d
ded pwmd_get_fd2() to return the FD
use
d
by pwmd_ope
n
_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_termin
a
te_pinentry()
.
There i
s
n
o
ne
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Re
m
oved pw
m
d_ope
n
_nb(), pwmd_save_nb(), pwmd_
o
pen_n
b
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Reset the state
a
fter comma
n
d completion
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
K
i
b
bey
Fixed pwmd_
g
et_hostkey_async() to
reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pw
m
d_process()
result w
h
en finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
pwmd_
c
a
lloc()
n
ot
p
w
md_malloc() in pwmd
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_open_nb() use PWM
D
_
OPTION_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
Re-a
d
d pwmd_
p
e
n
d
i
ng
_
li
n
e()
.
Th
e
difference i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben K
i
b
b
ey
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kib
b
ey
#incl
u
d
e
<stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
P
u
b
l
ic/private symbol clea
n
up
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use t
t
yna
m
e_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use getpwuid_
r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
I
f
username
is NU
L
L w
h
en pas
s
ed t
o
pwmd_tcp_co
n
nect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Ki
b
b
e
y
WI
T
H_
L
IBPTH conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Added pwmd_st
r
erro
r
_
r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->re
s
ult
wit
h
out
T
C
P sup
p
ort
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Bett
e
r
p
wmc argument
ch
e
cking
w
ith tc
p
o
p
tions
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Allow -y fo
r
pinentry retri
e
s even with
o
ut DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbe
y
--disable-tcp com
p
ile tim
e
fi
x
es and other minor c
l
e
a
nups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixe
d
a typo in pwmc
.
c p
r
eventing readin
g
S
T
DIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Let pwmd_process() wor
k
without a run
n
ing comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Mak
e
s
ure the result of a
p
w
md_command() is not
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Revert "L
e
t pwmd_process(
)
wo
r
k when not inside a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed a segfault when afte
r
a remote client ter
m
inates
.
commit
|
commitdiff
|
tree
next