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
Fixed pwmd_get_fds() when doing an ASYNC_CMD_OPEN2 when the file was
2009-04-08
Ben Kibbey
Fixe
d
p
wmd_get
_
fds()
w
hen
d
o
i
ng an ASY
N
C_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Set the file descriptor to n
o
n
-blocking i
n
p
wmd w
h
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bb
e
y
Li
n
k with
-
lrt on Linux
x
86_64 bo
x
es
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Added GPG
_
ERROR_CFLAG
S
to
t
h
e p
w
mc Makefile depende
n
cies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Ze
r
o length is a s
u
c
cess from read_h
o
ok()
a
nd write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
be
y
Fix
e
d read_hook() and
w
rite_hoo
k
() over
an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d
c
o
n
ta
i
n
ed
a
typo that di
d
n't
reall
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
Fixed pwmd_command_ap() c
o
rrupting the
a
r
gument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Ki
b
b
e
y
Fixed option --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
The 'changelog' target
no
w
only gene
r
ates ch
a
nges fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentation cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Do
c
umented
S
S
H in
t
he
h
eader
.
A
ls
o
f
ixed for
m
atting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed
some compile-time c
o
nditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
en
Kibbey
Adde
d
a note abou
t
calling pwmd_ge
t
_
fds()
a
f
ter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibb
e
y
Removed pwmd
_
get_fd() and pwm
d
_get_
a
sync2_fd()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kib
b
ey
Fi
x
ed PWMD_OPTION
_
PINE
N
TR
Y
_TIME
O
U
T
when
used with pwmd_o
p
en
2
()
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibb
e
y
Up
d
at
e
d
the pwmc documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
Mak
e
sure
a vali
d
han
d
le and as
s
u
an context i
s
available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
R
e
turn ASYNC_D
O
NE from pwmd_process()
w
hen not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Determine
t
he
pwmd
server v
e
rsion
in _socket_co
n
nect_finali
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Documented
pin
e
ntry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
F
i
xed local pinentry
strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
R
e
named p
w
m
d_ge
t
_fd2() to pwmd_get_
a
sync2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Ki
b
b
e
y
Rem
o
ved PWMD_O
P
TION_P
I
N
E
N
T
RY
.
N
o
longer ne
e
ded since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
D
on't do "GE
T
CO
N
FIG data_dir
e
ct
o
r
y
"
on an SSH connectio
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Added p
w
md_o
p
en2(
)
an
d
pwmd_
s
ave
2
(
) which will
u
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
More d
o
cumenta
t
ions updat
e
s and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
pwmd_get_ho
s
t
key
(
) n
o
w re
q
uires
a pwm_t ha
n
dle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
WITH_PINENTR
Y
conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Loop over
do_save_getpin() when GPG_
E
RR_INV_PAS
S
PHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
F
i
xed
pwmd_save() when
P
WMD_OPTI
O
N
_
P
I
NENTRY i
s
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The or
d
er of getting the passw
o
rd is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a
d
oc/Ma
k
efile "doxygen" target
t
o generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set
a
d
e
f
ault ti
m
eout of 30 seconds for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Ren
a
med
pwmd_password_
f
n t
o
pwmd
_
pa
s
sphrase_cb
_
t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Updated the
d
o
cumentat
i
on
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Added PWMD_OPT
I
ON_
I
P_VERSION which sh
o
u
l
d
be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
xed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A
f
e
w
m
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed zombie p
i
n
e
n
try
p
roc
e
sses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fi
x
ed pwmd_sav
e
_async2(
)
when
u
sed wi
t
h an S
S
H chan
n
el
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Fixed
t
h
e --get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed some compil
e
time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
A
f
ew compile ti
m
e
conditional fi
x
es
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
When doing a
p
wmd
_
open_async2(
)
,
check the passphr
a
se
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
x
e
d
checking
f
or
an SSH
e
rr
o
r
in wri
t
e_hook()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en K
i
bbey
Tr
i
m any '\r\n' in the command before send
i
ng it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
ibbey
Fixed
p
inentry re
t
ries when used wit
h
pwmd_op
e
n_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Check for getopt
.
h
f
or system
s
that have getopt_long(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Use getopt_long()
.
W
h
e
n not available, b
u
ild the in
c
luded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a potential buff
e
r
ove
r
f
lo
w
in do_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Fail if
assu
a
n_get_ac
t
ive_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Renamed
pw
m
d_tcp_connect() a
n
d
p
wmd_tc
p
_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Don't
dup()
t
he
a
ssu
a
n
ct
x
FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
e
y
Fix
for the previo
u
s
commit
w
hich didn't consi
d
er a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
Fix
e
d
pwmd_o
p
en/save_async2()
w
hen
the file i
s
c
a
ched
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fi
x
ed
using a sp
e
cifie
d
p
assphrase when using
p
wmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close
the TCP
F
D
when an asyn
c
co
m
mand completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Fixed a pwmd_tcp_connect_async() segf
a
u
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added p
w
md_g
e
t_fd2() to
return
t
he FD us
e
d by
pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n K
i
bbey
Removed pwmd_terminate_pinen
t
ry
(
)
.
There
is no ne
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_open
_
n
b(),
p
wmd_save_nb(), pwmd_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibb
e
y
Reset
t
he
s
tate aft
e
r co
m
mand completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwmd_get_hostkey_async() to reset th
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
Set th
e
pwmd_proces
s
(
)
result
when
finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
pw
m
d_calloc() not
pwmd_m
a
lloc() in pwmd_n
e
w()
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
Let pwmd
_
open_n
b
(
) use P
W
M
D_O
P
TIO
N
_
PI
N
ENT
R
Y_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kib
b
ey
Re-add pw
m
d_pending_lin
e
(
)
.
Th
e
diff
e
re
n
ce is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en
Ki
b
b
e
y
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pu
b
l
i
c/priva
t
e symbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
be
y
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
be
y
Use getp
w
uid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibb
e
y
I
f us
e
rname is NULL when
p
assed
to pwmd_t
c
p_conn
e
ct
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH_LIBPTH c
o
ndit
i
o
nal fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibbey
Ad
d
ed pw
m
d_strerror
_
r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Fi
x
ed pwm->resul
t
w
i
tho
u
t
T
CP supp
o
rt
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
B
e
tter pwmc argu
m
ent checking with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Allow -y for pinentry retries even witho
u
t DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--
d
is
a
ble-tc
p
compile tim
e
fixes and ot
h
e
r mi
n
or
c
l
e
a
n
u
ps
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Fixed a
t
ypo in pwmc
.
c preve
n
ting reading S
T
DIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Let
p
wmd_process()
w
ork wi
t
hout a runnin
g
c
o
mmand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Mak
e
sure
the resu
l
t of a pw
m
d_com
m
and(
)
is not
NU
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Rev
e
r
t "Let pwmd_p
r
o
ce
s
s
(
) w
o
rk
w
h
e
n
not inside a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed a segf
a
ult when
a
fter a
r
e
mote client t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_process() wo
r
k wh
e
n not
i
ns
i
d
e a c
o
mmand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Fi
n
alized commit 65d085f
.
Should be
b
ack to nor
m
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
C
o
mpile-time fix for Free
B
SD when try
i
ng to
link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile-time
f
i
x
for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Upd
a
t
ed pwmc
.
c to
u
se pwmd_setop
t
()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
P
WMD_O
P
T
I
ON_PI
N
ENTRY_TIMEOUT
.
Only
u
seful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_setopt()
s
et
pwmd optio
n
s d
i
rectly when PWM
D
_
O
P
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added pwmc comm
a
nd l
i
ne o
p
tions -C and -M to set
L
C_CTYPE
a
nd
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbe
y
Added PW
M
D_
O
P
T
ION_PI
N
ENTRY_LC_CTYPE
and
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bb
e
y
I
n do_pwmd_save(), che
c
k
for the user
s
upplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
i
bbey
R
eset pwm->p
i
d
i
n pw
m
d_terminate_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure p
w
md_comm
a
nd_ap() h
a
s
a
hand
l
e and comman
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
C
o
mpile t
i
me fi
x
f
o
r -
D
MEM_DEBU
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don't try
t
o xfree the passwor
d
r
e
turned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Updated the
cop
y
right header
.
commit
|
commitdiff
|
tree
next