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
Another stdarg bugfix. This time in pwmd_strdup_printf().
2009-04-08
Ben
K
i
bbey
Another
s
tdar
g
b
u
gfix
.
This
t
ime in pwmd_
s
trdup_
p
rintf(
)
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Re
t
urn GPG_ER
R
_
B
AD_CERT
if the host
k
ey cannot be verifie
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
Require
a
C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
configur
e
.
a
c
: AC
_
U
S
E_
S
Y
S
TEM_EXTENSION
S
, require autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Fixed PWMD_OPTION_P
A
SSPHRASE an
d
PW
M
D_OPT
I
ON_PASS
P
HRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed pwmd_get
_
fds()
w
h
e
n
do
i
ng an
ASYNC_CM
D
_
O
PEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Set the file descriptor to non-blocking in pwmd
when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Link with -lrt on Linux x86_6
4
boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Added GPG_ERROR_CFLAGS t
o
t
h
e pwmc Makef
i
le
dependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero length is a success from r
e
ad_hook()
an
d
write_
h
ook(
)
.
commit
|
commitdiff
|
tree
2009-04-07
B
en
K
ibbey
F
ixed
r
ead_hook() and
write_hook
(
) over
an SSH
ch
a
nnel
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Comm
i
t 1b59e7d contained a typo that didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibbey
Fixed pwmd
_
comma
n
d_ap() corrupting the ar
g
um
e
n
t
l
ist
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Fixed option --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
The 'changelog
'
target
n
ow only
g
e
n
e
r
ates c
h
anges fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Min
o
r documentat
i
on cl
e
anups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
D
o
cume
n
ted SSH i
n
the header
.
Also
fi
x
ed formatti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Fixed some compile-ti
m
e conditionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a n
o
te abou
t
calling pwmd_get_f
d
s() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Removed p
w
md_get
_
f
d(
)
and pwmd_get_async2
_
fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
i
b
bey
F
ixed PWMD_OPTION_PINENTRY_TIMEOUT when used with pwmd_
o
pen2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Updated the pwmc documentat
i
on
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
b
ey
Make sure a valid handle and as
s
uan
conte
x
t
is av
a
ilable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbey
Re
t
urn ASYNC_DONE
from
p
w
m
d_p
r
ocess() w
h
en not
in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Deter
m
ine
the pwmd server version in _so
c
ket_connec
t
_f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Documente
d
p
inentry
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Fixe
d
l
ocal
p
inentry stri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
R
e
named pwmd
_
get_
f
d
2
() to pwmd_get_async2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbe
y
Rem
o
ved P
W
MD_OPTION_PINENTR
Y
.
No longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Don't do "GETCO
N
FIG da
t
a_director
y
" on
an S
S
H connect
i
on
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added
p
wm
d
_ope
n
2()
a
nd
pw
m
d_save2() which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
More docu
m
e
n
tations u
p
date
s
a
nd
f
ixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
p
w
md_
g
et_hostkey()
n
ow requires a pwm_t h
a
ndle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
W
I
TH_PI
N
ENT
R
Y c
o
nditional
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Lo
o
p ove
r
do_save_g
e
tpin() whe
n
GPG_ERR_INV
_
PASSPH
R
ASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Fixed pwmd_
s
ave() when
P
W
M
D_OPTION_PINE
N
TRY is
s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
b
e
y
Th
e
order of getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a do
c
/M
a
k
e
file "doxyge
n
" t
a
r
get to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Se
t
a de
f
ault timeout of 30 seconds fo
r
pwmd_o
p
en_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en K
i
bbey
R
e
named pwmd_password_fn
to pwmd_passphr
a
s
e_c
b
_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bb
e
y
Upd
a
ted the docume
n
tation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_OPTION_IP_VERSION w
h
i
c
h
s
hould be set
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fixed
-
-p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bb
e
y
A
f
e
w
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
F
i
xed zombie p
i
n
e
ntry process
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
Fi
x
ed p
w
md
_
s
ave_async2(
)
when
u
sed wi
t
h an SS
H
c
hannel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --get-hostk
e
y
option
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
K
i
b
b
e
y
Fixed some compile
time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
A few
compile
t
ime conditio
n
al
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbe
y
When do
i
n
g
a
p
w
md_open_async2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
Fixed checkin
g
fo
r
an SSH er
r
or in
w
rite_hook()
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibb
e
y
T
r
i
m any
'\r\n' in
t
he command before sen
d
ing
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
Fixed pinentry retries when used w
i
th pwm
d
_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kib
b
ey
Chec
k
for ge
t
op
t
.
h
for sy
s
tems that
h
ave getopt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
Use getop
t
_long()
.
When not av
a
ilable
,
b
u
i
ld t
h
e
includ
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
F
i
xed a
p
ot
e
ntial buffer overflow in do_nb_comma
n
d()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail
i
f assua
n
_
g
et
_
active_fds
(
)
does
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Renamed pwm
d
_tcp
_
connect() and pwmd_tcp
_
c
o
nne
c
t_a
s
y
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup() th
e
a
ssuan
ctx
FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Fi
x
for th
e
prev
i
ous commit
which didn't
con
s
id
e
r a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
b
ey
F
i
xed p
w
md_open/s
a
ve_async2() when th
e
f
i
le is
c
ached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Fixed using a s
p
ecified p
a
ss
p
hrase when us
i
ng pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close
th
e
TCP FD
when an
a
s
y
nc command completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
F
ixed a
pwmd_tcp_connect_async() se
g
fa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Ad
d
ed pwmd_get_fd2()
to
return the F
D
used
b
y pwmd_o
p
en
_
as
y
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_termina
t
e_pinentry()
.
The
r
e is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
R
e
m
oved pwm
d
_open_nb(), pwmd_save
_
n
b
(),
p
w
m
d
_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en
K
i
bbey
Reset
t
he state after c
o
mmand complet
i
on
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbe
y
Fixed
p
wmd_ge
t
_hostkey_async(
)
t
o
res
e
t the state
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbe
y
Set the p
w
md_process
(
) result when finished
.
Fi
x
es
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
i
bbey
p
wmd_
c
a
l
l
o
c() n
o
t pwmd_ma
l
loc
(
) in pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbey
Let pwmd_o
p
en_nb() use PWMD_OPTION_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd_
p
ending_l
i
ne()
.
Th
e
d
i
f
ference is tha
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API
c
hanges:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#include <s
t
darg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ib
b
e
y
Pu
b
lic/pr
i
vate s
y
mbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibb
e
y
Use
t
tyname_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
If u
s
e
rname is
N
ULL w
h
en
p
assed to pwmd_tcp
_
conn
e
ct
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WIT
H
_
LIBP
T
H conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Ki
b
bey
A
dded
p
wmd_strerror
_
r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
F
ixed pwm->resul
t
with
o
u
t
TCP
support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Better pwmc
a
rgument c
h
ecking with tcp
options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bb
e
y
Allow -y for pi
n
entry
r
etries ev
e
n with
o
ut DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
ib
b
ey
-
-
disable-tcp compile t
i
me
fixes and othe
r
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Fixed a typo
i
n pwmc
.
c pre
v
en
t
ing reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
L
e
t pwmd_process() work wit
h
o
ut a runn
i
ng com
m
and
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make sure the
r
e
s
ult of
a
pwmd_comm
a
nd()
i
s no
t
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en K
i
b
bey
Revert "
L
et pwmd_pr
o
ces
s
(
)
wor
k
when not
inside a c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Fixed a
s
e
gfault
whe
n
after a remote client term
i
nates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_proce
s
s() work
when not inside
a
command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalize
d
com
m
it 65d0
8
5f
.
S
h
ould be back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Ki
b
bey
Com
p
ile-
t
i
me
fix
f
or FreeBSD whe
n
trying to
l
ink
with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Com
p
ile-
t
im
e
fix
f
or --di
s
a
b
le-n
l
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated
p
wmc
.
c
t
o use pwmd_
s
e
t
op
t
()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Added PWMD_OPTION
_
P
INEN
T
R
Y
_
TIMEOUT
.
Only usefu
l
when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_setopt() set
pwmd options directly whe
n
PWMD
_
OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added pwmc command
lin
e
options -C and -
M
to set LC_C
T
Y
PE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
A
dded PWMD_OPTION_PINE
N
T
R
Y
_LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
I
n do_pwmd_save
(
), check for the user su
p
plied password
.
.
.
commit
|
commitdiff
|
tree
next