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
Zero length is a success from read_hook() and write_hook().
2009-04-08
Ben
K
ibbey
Z
ero length is
a succe
s
s from read_hook() and write_hoo
k
()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fi
x
ed
r
ead
_
hoo
k
() and write_hook() over an
S
SH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Commit
1b59e
7
d
co
n
tai
n
ed a typo that
d
idn't re
a
l
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibbey
Fixed pwmd_com
m
and_ap() corrupting the ar
g
ument li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed option
-
-name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
The 'changelo
g
' ta
r
ge
t
now only
g
enerate
s
changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
Min
o
r docu
m
ent
a
tion cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented SSH in the header
.
Also fixed form
a
tting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibb
e
y
Fix
e
d so
m
e compile-t
i
m
e
conditi
o
nals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added
a
n
ote about calling pwmd_get_
f
ds()
a
fter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Rem
o
ved pwmd_get_f
d
() and pwmd_get_asyn
c
2_fd()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed
P
WMD_OPTION_PINENTRY_TI
M
EOUT when use
d
w
ith pwmd_op
e
n2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
en
K
ibbey
Updated the
p
wmc do
c
ume
n
tation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Ma
k
e sure a valid handle and
assuan context is
a
vailable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
i
b
bey
Retu
r
n
A
S
Y
N
C_
D
ONE from pwmd_process()
w
hen n
o
t in
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Determine
th
e
pwmd server version in
_
socket_connec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibb
e
y
D
o
cumented
p
inentry
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
K
i
b
bey
Fixed
l
ocal
p
inentr
y
strin
g
s
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Ren
a
med p
w
md_g
e
t_fd2() to pw
m
d_get_asy
n
c2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
R
e
moved PWMD_OP
T
I
O
N_PINENT
R
Y
.
N
o
lon
g
er n
e
eded since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Don't
d
o "GETCONFIG data_directory" on
an S
S
H connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Ad
d
ed pwmd_open2(
)
and p
w
md_s
a
ve2
(
) wh
i
ch wi
l
l use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Mor
e
docu
m
entations
u
pdates a
n
d f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
p
wmd_get_hostkey() now requ
i
r
es a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTRY
c
ond
i
tional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kib
b
ey
Loop over do
_
save_getpin()
w
h
e
n
G
PG_ERR_INV_PAS
S
PHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pwmd_sav
e
(
) wh
e
n PWMD_OPTION_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
i
bbey
Th
e
ord
e
r
of
g
etting t
h
e pa
s
sw
o
rd is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Crea
t
e
d
a doc/Makefi
l
e "doxygen
"
target to ge
n
er
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Set
a
default time
o
ut of
3
0 sec
o
nds for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Ren
a
med
pwmd
_
pas
s
word_fn to
pwm
d
_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ib
b
ey
Updated the
docu
m
enta
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_
O
P
TION_
I
P_V
E
RSI
O
N which should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed --por
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few mino
r
cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinen
t
ry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
F
ixed pwmd_sav
e
_asyn
c
2() when used
w
ith
a
n SSH cha
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
F
ixed the --get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed some compil
e
time
w
a
rnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
few compile time conditional
fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a pwmd_ope
n
_async2(), che
c
k t
h
e pas
s
phrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
Fixed checking for an SSH error
i
n
write_h
o
ok
(
) and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Trim any '\r\n' in the c
o
mmand b
e
fore sending i
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
bbey
Fixe
d
pinentry r
e
t
r
i
es
w
hen used wi
t
h
pwmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
Check
f
or geto
p
t
.
h
for systems that ha
v
e g
e
topt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Use
getopt_long()
.
When no
t
avail
a
ble, build the
included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
bey
Fixed a pote
n
tial buffer overflow in do_
n
b_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail
i
f assuan_
g
e
t
_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
B
en K
i
bbey
Rena
m
ed p
w
m
d_tcp_conn
e
ct() and pwmd_tcp_con
n
ect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup() the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for the previou
s
commit whic
h
didn't consider
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
ibbey
F
i
xe
d
pwm
d
_
o
pen/save_async2() when the file i
s
ca
c
hed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
i
bbey
Fi
x
e
d usin
g
a
s
pec
i
fied passphrase when u
s
ing pwmd
_
open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Don't cl
o
se th
e
T
C
P FD when a
n
async
c
ommand
complet
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Ki
b
bey
Fix
e
d
a pwmd
_
tcp_con
n
ect_async() segfau
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Added pwmd_get_
f
d2() to return the FD used
b
y
pw
m
d
_open_a
s
y
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Re
m
ove
d
p
w
md_terminate_
p
inentr
y
()
.
T
here is no n
e
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
R
e
m
o
ved pwmd_open_nb()
,
pwmd_sav
e
_nb(), pwmd_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Reset the state aft
e
r command com
p
letion
.
commit
|
commitdiff
|
tree
2009-03-25
B
en
Ki
b
bey
Fixed
p
wmd_get_hostkey_
a
s
y
nc() to reset
t
he state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
S
e
t the pwmd_process() res
u
lt when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
pwmd_c
a
lloc()
n
ot pwmd_malloc(
)
i
n
pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Let pwmd_o
p
en_
n
b(
)
us
e
PWMD_OPTION_PINENTRY
_
TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
K
ibbey
Re-add p
w
md_pen
d
i
n
g_li
n
e()
.
The
d
iffe
r
ence is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
Kibbey
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#in
c
lude
<s
t
darg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
Public/privat
e
s
ymbol
c
leanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Use tty
n
ame_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use
getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
If username is NUL
L
when pa
s
sed to pwmd_
t
c
p
_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
W
ITH_LIBPTH conditional
fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
A
dded pwmd_str
e
rro
r
_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Fixed pwm->result wi
t
hout TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibb
e
y
B
e
t
t
er pwmc argument c
h
eckin
g
with
t
cp options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allo
w
-
y
for pinentry
r
etries eve
n
w
i
t
hou
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
Kibbey
--disa
b
le
-
t
cp compile time
f
ixes an
d
other min
o
r cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a ty
p
o in
pw
m
c
.
c pre
v
enting read
i
n
g ST
D
IN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
Let pwmd
_
pr
o
cess
(
)
wor
k
w
i
thout
a
running comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Make
s
ure the
r
e
sult of a pw
m
d_c
o
mmand() is
n
o
t NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert "Let pwmd_process
(
)
w
ork when
n
ot inside a
c
o
mm
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbe
y
Fixed a
s
e
gfault w
h
en af
t
er a
r
emote
c
lient termin
a
te
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
L
et pwmd_process() wor
k
when not
inside a command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Finalize
d
commit 65
d
0
85f
.
Should
be
back to
n
ormal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
C
o
mpile-time fix for
FreeBSD
when tr
y
ing to
l
ink
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
C
omp
i
le-time fix fo
r
--disa
b
le-n
l
s
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Upd
a
ted pwmc
.
c
t
o
u
se pwmd_setopt
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD
_
OP
T
ION_PINEN
T
R
Y_TIME
O
UT
.
Only us
e
f
ul when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_setop
t
() set
p
wmd options direct
l
y w
h
e
n
PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
bey
Added pwmc comm
a
n
d
l
in
e
op
t
ions -C and
-M to set LC
_
CT
Y
PE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
A
d
ded
P
WMD_OPTION
_
PINENTRY_LC_
C
TYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
I
n do_pwmd_save(),
check for the u
s
er
supplied
p
assword
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
b
b
e
y
Res
e
t pwm->pid in pwmd_te
r
minate_pinent
r
y()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kib
b
ey
Mak
e
sure pwmd_command_ap() has a
h
andle
a
nd c
o
mmand
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Compile time fix f
o
r -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Don't try
t
o xfre
e
the password retur
n
ed by a us
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
U
pda
t
ed the c
o
p
yright head
e
r
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added warn_unu
s
e
d
_result attribute to pwmd_command
_
ap
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Fixed mem
.
c
t
o use a mutex when accessing
t
he memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
A
dded pwm
d
_com
m
an
d
_ap()
.
This m
a
kes pwmd_c
o
mmand(
)
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I messe
d
up the direct
o
ry tree m
a
king
it hard to pull
.
.
.
commit
|
commitdiff
|
tree
next