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
It is probably better to set O_NONBLOCK only for the duration of
2009-04-11
B
en
K
i
b
bey
It is probably better to se
t
O_NONB
L
OCK only for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
Call _pwmd_pro
c
ess(
)
in _
i
nquire_cb(
)
so st
a
tus
messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
More
docu
m
en
t
ation
c
leanups
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kib
b
ey
Fixed installing
t
h
e wrong lintian
o
verrides f
o
r th
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Ki
b
bey
I
n
stead o
f
s
end
i
ng the NO
P
command to process pend
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disab
l
e
-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
Call libssh2_channel_close(
)
be
f
ore freeing it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More doc
u
menations update
s
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Adde
d
a note to th
e
d
ocumentation about filenames
begi
n
ning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kib
b
ey
Sh
o
w the
c
lie
n
t name in the pinentry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All function arg
u
ments tha
t
t
a
ke a filen
a
m
e pat
h
now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
K
ibbey
Check for an
e
mpty (but not NULL) required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibb
e
y
Fixed
pwm
d
_pro
c
es
s
(
)
when an
OPEN
c
ommand failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kibbey
Free the
t
c
p_conn
in reset
_
async() when 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
Free
the tcp_conn in
s
e
t
up_
t
cp_s
e
s
s
ion()
.
Fixes
freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Se
n
d "OPTION PINENTRY=0" a
f
ter establishing a r
e
mote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n Kibbey
R
evert "Added
support for a passp
h
r
a
se in t
h
e
u
rl string
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
en Kibbey
Add
e
d sup
p
ort for a passp
h
r
ase in the u
r
l string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
Kibbey
Se
t
PW
M
D
_OPTION_IP_VERSI
O
N to PW
M
D_IP_ANY when ss
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added pwmd
_
connect_u
r
l() and pwmd_conne
c
t_url_
a
s
ync
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Another stdarg bugfix
.
T
his time in pwmd
_
strdup_prin
t
f()
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n K
i
bbey
R
etur
n
GPG_ERR_BAD_
C
ERT if the host key cannot b
e
v
e
r
ified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
R
e
qui
r
e a C
9
9
compil
e
r
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibb
e
y
configure
.
ac:
A
C_USE
_
SYST
E
M
_
E
XTENSIONS, r
e
quir
e
autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
Fixed PWMD
_
O
P
T
ION_PASSPHRASE
and PW
M
D_OPTION_PASSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Fix
e
d pwmd_get_fds(
)
w
hen d
o
ing a
n
ASYNC_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Set t
h
e fi
l
e desc
r
iptor to
n
on-block
i
ng i
n
p
wmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
Link with -lrt on Linux
x
86_64
b
ox
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
A
d
d
e
d
G
P
G_ER
R
OR_CFLAGS
t
o
t
h
e
pwm
c
Makef
i
le depende
n
ci
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero length
i
s a succe
s
s from read_hook(
)
an
d
write_h
o
o
k()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
bb
e
y
Fixed read
_
hook()
a
nd write_
h
ook()
o
v
er an
S
SH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d contained a
typo tha
t
did
n
't real
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
Fixed
pwmd_command_ap() corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n K
i
bbey
F
i
xed o
p
t
i
on --name
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibb
e
y
The 'changelog' target n
o
w only ge
n
erates changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
be
y
Minor document
a
tion c
l
eanup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Doc
u
mented SSH
i
n the
heade
r
.
Also
f
i
xed
f
or
m
atting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bb
e
y
Fixed s
o
me compile-ti
m
e con
d
i
tionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
A
dded a note a
b
o
u
t
ca
l
ling pwmd_g
e
t_fds() a
f
ter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
i
bbey
Removed pwmd_get_fd() a
n
d pwmd_g
e
t_async2_fd()
.
Thes
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbey
Fixe
d
PWMD_
O
PTI
O
N_PINENTRY_TIMEOUT when used
w
ith
p
w
md_op
e
n2(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
U
p
dated the pwmc doc
u
men
t
a
tion
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Make sure a v
a
lid h
a
ndle and
assuan context is
a
vailable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Retu
r
n ASYNC_D
O
NE from pwmd_process(
)
when
n
ot in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Dete
r
min
e
the pwmd
s
erver version i
n
_s
o
cket_connect_f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Documented pi
n
ent
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Fi
x
ed local pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ib
b
ey
Renam
e
d pwmd_ge
t
_fd2() t
o
pwmd_get_as
y
nc2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
K
i
bbey
Remove
d
PWM
D
_OPTION_PINEN
T
RY
.
No l
o
nger nee
d
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
bbey
Do
n
't
d
o "GET
C
O
N
FIG d
a
ta_dir
e
ctory" on an SSH connec
t
ion
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Adde
d
p
w
m
d_open2()
a
nd pwmd
_
save2(
)
which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
More d
o
cumentations updates and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
wmd_get_
h
o
stkey()
n
ow req
u
ires a pwm_t handl
e
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
WITH_PINE
N
TRY co
n
d
i
tional fi
x
es
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Loop over
d
o_save
_
getpin() when
GPG
_
ERR_I
N
V_PA
S
SP
H
RAS
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
Fixed pw
m
d
_
s
ave() when P
W
MD_OPT
I
ON_PINEN
T
RY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of getting the
p
as
s
w
ord is:
commit
|
commitdiff
|
tree
2009-04-01
B
e
n
K
i
b
b
e
y
C
r
eated
a
doc/Ma
k
efile "d
o
xy
g
en" target
t
o
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default
t
imeout
o
f 30 second
s
f
o
r
pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
R
e
named pwmd_password_fn
t
o pwmd_pas
s
p
hrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
Kibb
e
y
Upda
t
ed the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_OPTION_IP
_
V
ERS
I
O
N which sho
u
ld be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibbey
F
i
xed --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
A few
minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie
pinentry pro
c
e
s
ses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixed pwmd_save_async2() when used with an SSH
chan
n
el
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fixed the --
g
et-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
F
i
xed some compile time
w
arni
n
gs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
A few compile
t
ime c
o
n
d
i
tio
n
al fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
W
h
en doing a pwmd_open_async2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
bey
Fixed check
i
ng f
o
r a
n
S
S
H
error in write_hook()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Tri
m
any
'
\r\n' in the
command before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed pinentry retries when used with pwmd_
o
pen_async(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check f
o
r getopt
.
h for
s
y
s
t
e
ms that have
get
o
pt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
bey
Use geto
p
t_l
o
n
g()
.
W
h
en not available, build the include
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
be
y
F
ixed a potential buffer overflow in do
_
n
b_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Fai
l
if assuan_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Re
n
amed pwm
d
_tcp_
c
onnect() and pwm
d
_tcp_c
o
nnect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't du
p
() the as
s
uan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
b
e
y
F
ix f
o
r the prev
i
ous commit
w
hich didn
'
t consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
ixed pwmd_open/sa
v
e_
a
sync2
(
)
wh
e
n th
e
file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Fix
e
d using a speci
f
ied
p
assphrase when
u
sing pwmd_ope
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
D
on
'
t
c
l
ose
the TCP
F
D when an
a
sync command completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fi
x
ed a pwmd_tcp_connect_async() s
e
gf
a
ult
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Added pwmd_get_fd
2
(
) to
r
e
t
u
rn
t
h
e
F
D
used by pwmd_open_as
y
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_t
e
rmi
n
ate_pinentry()
.
T
h
ere is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
b
bey
R
emoved pwmd
_
open_n
b
(
),
pwmd_save_n
b
()
,
pwm
d
_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset
t
he
s
tate afte
r
comman
d
completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ib
b
e
y
Fixed pwmd_get_hostkey_a
s
ync() to reset t
h
e state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Set the p
w
md_proce
s
s() result when finishe
d
.
Fi
x
es
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
pwmd_ca
l
loc() not pwmd_malloc() in pwmd_
n
e
w
()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_open_n
b
(
) use PWMD_OPTION_PINENTRY_TIM
E
OUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add
pwmd_
p
endin
g
_line()
.
The di
f
f
e
r
ence is
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#
i
n
clude <s
t
darg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Publ
i
c/private sym
b
ol c
l
eanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Use g
e
tpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If
u
sername is
N
U
LL when passed t
o
pwmd_t
c
p_co
n
nect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
WITH_LI
B
PT
H
condi
t
ion
a
l
fix
e
s
.
commit
|
commitdiff
|
tree
next