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
Make sure a valid handle and assuan context is available before trying
2009-04-04
Ben Kibbey
Mak
e
s
u
re a valid handle and assuan co
n
text is a
v
ai
l
able
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Return
ASY
N
C_DONE from pwm
d
_process()
w
hen not in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bb
e
y
Determine the pwmd server version in _
s
ocket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Document
e
d pi
n
entr
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Fixed local pinentry str
i
ngs
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Kibbey
Renam
e
d
p
wmd_get_fd2()
t
o
p
wmd_
g
et_async2_
f
d
(
)
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed PWMD_OPTION_PIN
E
NTRY
.
N
o
longer needed
s
in
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do
"
GETC
O
NFIG d
a
ta_directory" on
an
S
SH c
o
n
n
ec
t
io
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added pwmd_ope
n
2() a
n
d pwmd_save2(
)
w
h
ic
h
wi
l
l use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
More docume
n
tat
i
ons updates
a
nd
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
pw
m
d_get_hos
t
key()
n
ow requi
r
e
s
a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTR
Y
c
onditional
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbe
y
Loop over do_sa
v
e_getpin()
when GP
G
_
E
RR_INV_PASSP
H
R
ASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
F
i
x
ed pwmd_save() w
h
en P
W
MD_OPTIO
N
_P
I
NENTR
Y
is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
b
e
y
T
h
e o
r
der
o
f
g
etting the p
a
sswor
d
i
s
:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kib
b
ey
C
r
eated a doc/Makef
i
le "d
o
xygen" target to
g
en
e
rate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Se
t
a default timeo
u
t of
3
0 second
s
for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
Renamed
p
wmd_password_fn to pwmd
_
passphras
e
_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibb
e
y
Updated
t
he
doc
u
mentati
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Ad
d
ed PWMD_OPTION
_
IP_VERSIO
N
w
hich
s
houl
d
be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fix
e
d
-
-port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few m
i
nor cleanup
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Fixed z
o
mbie pin
e
ntry pr
o
c
e
sses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibb
e
y
Fixed pwmd_save_async2(
)
when us
e
d with
a
n SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
be
y
F
i
x
ed the
--get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d some co
m
pi
l
e
tim
e
warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
A
f
ew compile time
c
onditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When
d
o
i
ng
a pw
m
d_open_asyn
c
2(), check the
p
assphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fix
e
d
c
h
ecking for an SSH error in write
_
h
ook() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
bb
e
y
Trim any '\
r
\n' in the comman
d
b
e
f
o
re send
i
ng it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinent
r
y retrie
s
whe
n
used
w
ith pwm
d
_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Check for getopt
.
h
for systems that have
ge
t
op
t
_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en
Kibbey
Use getopt_long()
.
When not
a
vailable, buil
d
the inclu
d
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed a p
o
tential
buffer ov
e
rflo
w
in do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Ki
b
bey
Fa
i
l if assuan_g
e
t_active_fds() d
o
es
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
R
e
n
a
med p
w
md_tcp_connect() and pwmd_t
c
p_connect_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
D
o
n't dup() the assuan
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
K
ibbey
Fix
f
or the previous
co
m
mit w
h
ich d
i
dn't consid
e
r a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/save_async2() when the
file i
s
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Ki
b
bey
Fix
e
d us
i
ng
a
specified passphrase
w
h
en u
s
i
ng
pwmd
_
open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
D
on't clo
s
e t
h
e TCP FD when an asyn
c
comm
a
nd comp
l
et
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kib
b
ey
Fixed a pwmd_tcp_co
n
ne
c
t_async(
)
segf
a
ult
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
A
dded
p
w
m
d_get_fd2() to return the F
D
used by pwmd_open_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Remo
v
ed p
w
md_terminate_
p
inentry()
.
There is n
o
nee
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
emoved pwm
d
_o
p
en_nb(), pwmd_save_nb(),
p
w
md_open
_
nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the
s
tate af
t
e
r
comm
a
nd
completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get
_
hostkey
_
async() to reset the sta
t
e
.
commit
|
commitdiff
|
tree
2009-03-25
B
en
K
ibbey
Set the
p
wmd_process() re
s
ult
w
hen finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
pwmd_
c
alloc() no
t
pwmd_mall
o
c() in pwm
d
_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_o
p
e
n
_
n
b() use PWMD_OPTION_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add
p
wmd_pen
d
ing_l
i
n
e()
.
The difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en Kibbey
A
P
I c
h
a
nges:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#include
<
s
t
dar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/priv
a
t
e
s
y
m
bol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Use
g
et
p
w
u
id_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If
u
s
ername is NUL
L
w
h
e
n
passed to pwmd_
t
cp_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH
_
LIBPT
H
c
ondi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
A
d
ded pwmd
_
strerro
r
_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->result w
i
thout TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
B
e
t
ter pw
m
c argument
c
h
e
cki
n
g with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
bbey
A
l
l
o
w -y f
o
r pinentry re
t
ries even witho
u
t DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibb
e
y
--di
s
able-tc
p
compile tim
e
f
ixes and oth
e
r minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a typo in
pwmc
.
c
p
reve
n
t
ing
r
e
a
ding STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbe
y
Let pwmd_proces
s
() work witho
u
t a running comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Ma
k
e
s
ure the resul
t
of a
p
wmd_command() is not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibb
e
y
R
e
vert
"Le
t
pw
m
d_pr
o
cess() wo
r
k when not inside
a
com
m
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kibbey
F
ixed a segfault when after
a
remote
c
lient
ter
m
inates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
b
e
y
L
e
t
p
w
m
d_process() work when not
in
s
i
de
a
command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
F
i
nal
i
zed commit 65d085f
.
Should be back to
no
r
mal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Com
p
ile-tim
e
fix for Fr
e
eBSD w
h
en tr
y
ing to
l
ink w
i
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Co
m
pile-time fix for --
d
isa
b
l
e-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated pwmc
.
c to use pwmd_setopt(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
i
bbey
Added
P
WMD_OPTION_PINENT
R
Y
_
T
IMEOUT
.
Only useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bb
e
y
Let pwmd_s
e
topt() set
p
w
md options dir
e
ctly
when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Added pwmc
command line options -C
a
nd -M to set LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
B
en
K
ibbey
A
dded PWMD_OPT
I
ON
_
PINENTRY_LC_CTYPE a
n
d
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
bey
I
n
do_pwm
d
_s
a
ve
(
), che
c
k for the user supplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Reset pwm
-
>pid i
n
pwmd
_
terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Make sure pwmd_c
o
mmand_ap() has a hand
l
e and c
o
mmand
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbe
y
Compile time fi
x
for -DMEM_DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Do
n
't try to xfree the passwor
d
retur
n
ed by a u
s
er
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated
t
he copyright head
e
r
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
bey
Add
e
d
w
arn_unused_result att
r
i
b
ute to pwmd_command_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed
mem
.
c to use a mutex when accessi
n
g the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Added pwmd_comman
d
_ap()
.
This makes pwm
d
_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I messed up the
directory t
r
ee making it hard to pu
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
B
e
n
Kibbey
Fi
x
ed some memory le
a
ks
.
commit
|
commitdiff
|
tree
2009-03-13
B
en Kib
b
ey
Added pwmd
_
get_
h
os
t
ke
y
_
async()
.
Acts like pwmd_t
c
p_connect_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Ki
b
b
ey
F
ixed pwmd_tcp_connect_
a
s
y
n
c()
.
commit
|
commitdiff
|
tree
2009-03-12
B
en Kibbey
A
llow comments begin
n
i
n
g with '#' in t
h
e
known host
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Ben Kibbey
Change
d
t
h
e arguments
t
o
pwmd_tcp_conn
e
ct() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Ki
b
b
e
y
U
s
e secure memo
r
y functions
.
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
An alternate w
a
y to
do r
e
mote co
n
nections
.
This w
i
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
B
e
n
Kibbey
A
dded pwmd_
c
om
m
and_a
p
()
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
A
dded doc/ and src/
.
commit
|
commitdiff
|
tree
2008-12-13
B
en Kibbey
Fixed 'm
a
ke
d
is
t
check'
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Use the new
pwmd VERSI
O
N command to deter
m
ine
v
a
l
i
d
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Pre
f
i
x all liba
s
s
u
an symbols wi
t
h
_pwmd_
to prevent
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
K
i
bbey
Make libassuan a
convenience library to f
i
x libtool
.
.
.
commit
|
commitdiff
|
tree
next