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 GPG_ERROR_CFLAGS to the pwmc Makefile dependencies.
2009-04-08
Ben Kibbey
A
dded GPG_ERROR_CFLAGS
to
the
pwmc Ma
k
efile d
e
pendencie
s
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbe
y
Ze
r
o length i
s
a su
c
cess
from re
a
d_
h
ook() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixe
d
read_hook() and wr
i
te_hook(
)
over an SSH c
h
annel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d
con
t
a
ined a typo that didn't rea
l
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibbey
Fixed pw
m
d
_
comma
n
d_ap(
)
co
r
r
u
pting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed o
p
tion -
-
name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Th
e
'changelog' target now on
l
y generate
s
changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bb
e
y
Minor do
c
umentatio
n
cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Docu
m
ented SSH i
n
the
h
e
a
d
e
r
.
Also fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
Fixe
d
so
m
e comp
i
le
-
time con
d
i
t
ion
a
ls
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibbey
Added a note about calli
n
g
p
wmd_g
e
t_fds() a
f
te
r
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Removed pwmd_get_fd()
a
n
d pwmd_
g
e
t_
a
sync2_fd
(
)
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
K
i
bbey
F
i
x
ed P
W
MD_OPTION_PINENTRY_TIMEOUT
w
hen used with
pw
m
d_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Updated the
p
w
mc do
c
u
m
enta
t
ion
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a valid handle and assuan cont
e
xt is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Ret
u
rn ASYNC_DONE from pwmd_p
r
o
cess
(
) when
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine t
h
e pwmd
ser
v
er
version
i
n _soc
k
et_connect_fi
n
aliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Document
e
d pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
F
ixed local pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Rena
m
e
d
pwmd_get_fd2() to pwmd_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Rem
o
ved P
W
MD_OPTION
_
P
I
NENTRY
.
N
o
l
onger needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
D
o
n
't
d
o "GETCONFIG da
t
a
_
directory" o
n
an SSH conn
e
cti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Added
p
wmd_op
e
n2() and
pwm
d
_save2()
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
M
ore
d
ocumentations updat
e
s and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get
_
hostkey() now requires a pwm_t
handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
K
ibbe
y
WITH_PINENT
R
Y
condition
a
l fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over
do_save_getpin() when
GPG_E
R
R
_
INV_PASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
F
i
xed pwmd_save() when PWMD_O
P
TION_PINE
N
TRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
The order
o
f getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben K
i
bbey
C
r
eated a doc/Makefile "doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Set a default timeout of 30 seconds for
pwm
d
_
o
pen_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Re
n
a
m
e
d pwmd
_
password_fn to pwmd
_
passphrase_
c
b
_
t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
Up
d
a
t
e
d
t
he
docu
m
e
ntation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
e
y
Added PWMD_OPTION_IP_VERSION which s
h
ould
be set
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibb
e
y
A
f
e
w
m
i
nor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zomb
i
e pinentry
p
ro
c
esses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixe
d
pwmd_save_async2() when
u
sed
with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kib
b
ey
Fi
x
ed the --get-h
o
s
t
k
e
y option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some com
p
i
l
e time
w
arnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
few
compil
e
time co
n
ditional
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
W
h
en
doing
a pwmd_open_a
s
ync2(), check the pass
p
hrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fix
e
d
c
hecking for
a
n SSH error in write_hoo
k
()
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Tri
m
any '\r\n' in the command
before
s
endi
n
g
i
t t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
be
y
Fi
x
ed pinentry retries when u
s
ed
w
it
h
pwmd_
o
pen
_
async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Check
f
or getopt
.
h for systems
t
hat have ge
t
opt_lo
n
g
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Use get
o
pt_lo
n
g()
.
W
hen not available,
build th
e
included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed a pot
e
ntia
l
buffer overflow in
d
o
_
nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fail if
a
ssuan_get_act
i
ve_fds() do
e
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Renamed pwmd_tcp_conn
e
ct() and pwmd_tcp_connec
t
_asy
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't
dup() the as
s
uan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
b
be
y
F
ix for the pr
e
vi
o
us commit
wh
i
ch didn't
c
onsi
d
e
r
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbey
Fixed pwmd
_
open/sa
v
e
_
async2() when the
fil
e
i
s
cac
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixe
d
usi
n
g
a
s
pecified pas
s
phr
a
se wh
e
n us
i
ng pwmd_ope
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
D
on't close the TCP FD when an async
c
o
m
mand
completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Fixe
d
a pwmd_tc
p
_con
n
e
ct_as
y
n
c() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
Added pwmd_
g
et_fd2() to return the FD used by
pwmd_op
e
n
_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Removed
pwmd_ter
m
inate_pi
n
e
ntry()
.
There is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kib
b
ey
Rem
o
ved pwmd_open_nb(), pw
m
d_save_nb(), pwmd_open_nb_
f
inaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Res
e
t the state afte
r
com
m
a
n
d
completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get_h
o
stkey_async() t
o
r
e
set
the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
S
et th
e
pwmd
_
process
(
) re
s
ul
t
whe
n
fini
s
hed
.
Fi
x
e
s
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
pwmd_calloc() not
pwmd_ma
l
loc() in
p
wmd
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Ki
b
bey
Let pwmd_open_nb() use PWMD_OPTION
_
PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-ad
d
p
w
md_
p
end
i
n
g
_line()
.
T
h
e difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbey
A
P
I ch
a
n
ges:
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Ki
b
bey
#in
c
l
u
de
<st
d
arg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Publ
i
c/priv
a
te
s
ymbo
l
cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyname_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbe
y
U
s
e getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
If userna
m
e is NULL when
p
assed to pwmd
_
tcp_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
WITH_LI
B
PTH
c
ondit
i
onal
f
i
xe
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Adde
d
p
wmd_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fix
e
d pwm->result without TCP
support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Bett
e
r
pwmc
a
r
gume
n
t c
h
ecking
w
i
th tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allo
w
-y for p
i
ne
n
try retries
e
v
e
n
without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
--disable-tcp compile
t
ime fix
e
s and o
t
her minor clea
n
ups
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Fixed a t
y
po
i
n pwmc
.
c preventi
n
g read
i
ng ST
D
IN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Le
t
pwmd_process() wo
r
k without
a running comm
a
nd
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make
sure
t
he result of a pwmd_
c
omman
d
() is not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Revert "Let
p
wmd
_
proces
s
()
work when not
inside
a
command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
b
ey
Fixed a
seg
f
ault when after a remote cli
e
n
t
termin
a
te
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
L
e
t
pwmd_process() wor
k
wh
e
n not
inside
a
c
o
m
m
a
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbe
y
Finalized commit 65d085f
.
Should be back to
no
r
mal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile-time fix
for
F
reeBSD whe
n
trying to l
i
nk with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Compile-time fix for --disable-
n
ls
.
commit
|
commitdiff
|
tree
2009-03-14
B
en K
i
b
bey
Up
d
ated pwmc
.
c t
o
use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Added PWMD
_
OPTIO
N
_PINE
N
TRY_TIMEOUT
.
Only usefu
l
wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Let pwmd_set
o
pt()
set pw
m
d options directly w
h
en PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Added pwmc command
l
ine
o
p
tions
-C and -M to set
LC_CTY
P
E and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
PWMD_OPTION_PINENTRY_LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bbey
I
n do_pwmd_sa
v
e(), check for the user s
u
pplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
bey
Re
s
e
t
pwm-
>
pi
d
in pwmd_terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure pwmd_comman
d
_ap() has a
handle
and
comma
n
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
be
y
C
ompil
e
tim
e
fix f
o
r -D
M
E
M
_
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Don't try to xfree t
h
e password retu
r
ned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Ki
b
bey
Updated the copyrigh
t
header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added war
n
_un
u
sed_result attrib
u
te to
pwmd_command_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
K
ibbey
F
ixed mem
.
c to use a mutex wh
e
n a
c
ce
s
sing t
h
e m
e
mory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Added pwmd_
c
ommand_ap()
.
This makes pw
m
d_command()
.
.
.
commit
|
commitdiff
|
tree
next