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 pwmd_disconnect() to close the connection without freeing the
2009-04-14
Ben Kib
b
ey
Added
p
wmd_
d
isco
n
nect() to
close the connection withou
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
Ben
K
ib
b
e
y
Fixed a segfault duri
n
g an SSH connect
i
on fa
i
lure
.
commit
|
commitdiff
|
tree
2009-04-13
B
e
n Kibbey
ssh
.
c cleanu
p
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kibbey
pwmc:
F
i
xed NULL terminating th
e
command read from
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
B
e
n
K
ibb
e
y
pine
n
try
.
c cl
e
anup
.
commit
|
commitdiff
|
tree
2009-04-13
B
en Kibbey
F
i
x
ed pwmd_open_as
y
nc2() and pwmd_save_async2() to
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n K
i
bbey
Wh
e
n sending a command with pwmd_command(), make sure
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n
K
ibbey
F
ixed a
c
oup
l
e Debian lintian
warnings w
i
th the manual
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
en K
i
b
bey
pwmc: #in
c
l
u
de
<
fcntl
.
h>, usa
g
e text cle
a
nup
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
R
eturn
GPG_ERR_CANCELED r
a
ther
than GPG_E
R
R_EO
F
if
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbe
y
Fixed co
m
m
i
t
4d70df9
.
D
on't
u
s
e send/
r
ecv() on a pipe()
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n Kibbey
Created src/misc
.
[ch],
s
sh
.
[ch],pi
n
entry
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
K
ibbey
pwmd_ne
w
() now sets a defa
u
lt
p
in
e
ntry
tty, te
r
m and
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kib
b
ey
Fixed sending "OPTIO
N
DISPLAY" when s
e
t
w
i
t
h pwm
d
_setopt()
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n
Kibbey
Use send()/recv() instead of
read()
/
wr
i
te() for socket IO
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibb
e
y
Another fix fo
r
commit 5
9
2
8
1
5
d
.
Don't c
l
o
se the SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
Pr
e
processor conditional fix for the
pr
e
vious commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bbey
Fixed pwmd_open2() with a r
e
mote SSH connectio
n
when
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
F
i
xed pwm
d
_
connect_url() with a
N
U
LL url para
m
eter
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
If pwmd_connect_url() doesn't
m
atch s
s
h:// or socket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
Added pwmd_soc
k
et
_
type() which set
s
a param
e
ter t
o
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
pwmc: Let --url
be a non-DE
B
UG option
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
p
wmc: Set ST
D
IN_FILENO to non-blocki
n
g w
h
en
w
aiting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Reset pwm->cmd from
pwmd_ssh_c
o
n
n
e
ct(
)
.
F
i
x
e
s
p
w
m
d
_
p
roc
e
ss()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
It is prob
a
bly bett
e
r t
o
set O
_
NO
N
BLOC
K
only f
o
r t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Call _p
w
m
d_process() i
n
_inquire_cb() so s
t
a
tus messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
More d
o
cumentation
c
leanups
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbe
y
F
i
xed
inst
a
lling the
w
rong
l
in
t
ian overrides for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Instea
d
of se
n
ding the NOP command to process pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disable-ssh fixe
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
Call libssh2
_
channel_c
l
ose() be
f
ore freeing i
t
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kibbey
More
d
o
c
um
e
nat
i
o
n
s upda
t
e
s
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Added
a note to the
d
o
c
umentat
i
on about filenames be
g
inning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Show the c
l
ient name in
t
h
e
p
inentry d
i
alog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All
fun
c
tion a
r
guments
t
hat take a
f
i
l
en
a
me
p
a
t
h no
w
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
b
e
y
Che
c
k for an empty (but
not NU
L
L) requir
e
d parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fixed
p
wmd_p
r
oc
e
ss
(
) when an O
P
EN co
m
mand failed with
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free th
e
tcp_conn in reset_async() when 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbe
y
Free the tcp_conn in setup_tcp_ses
s
i
on()
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
K
i
bbey
Send "
O
PTION PINENTRY=0" after est
a
blishin
g
a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Revert "Added
s
upport for a passphrase
i
n the url
s
t
r
ing
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben
Kibbe
y
Added suppo
r
t for a pa
s
sphrase
i
n the url stri
n
g
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
S
et PWMD_OPTION_IP
_
VERS
I
ON to PWMD_IP_
A
NY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added
p
wmd
_
conne
c
t_url() and pwmd_c
o
nne
c
t_url_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
A
noth
e
r stdarg bugfix
.
This t
i
me
i
n p
w
md_strd
u
p_printf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Retur
n
GPG_ERR_BAD
_
CE
R
T i
f
th
e
host key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
R
e
quire
a C99 com
p
iler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
b
b
ey
confi
g
ure
.
ac: AC_USE_SYSTEM_EXTENSIONS, requi
r
e autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
K
i
bbey
Fixed
PWMD
_
OPT
I
ON_PASSPHRA
S
E
a
nd PWMD_OPT
I
ON_P
A
S
SPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
Fixed
pwm
d
_get_fds() when
d
oing an
A
S
Y
NC_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Set
t
he file descriptor to
no
n
-bl
o
cking in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbe
y
L
i
nk with
-lrt on Linux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Adde
d
GPG_ERROR_
C
FLAGS
t
o the
p
wmc Mak
e
file
d
ependenci
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibb
e
y
Zero
length is a suc
c
ess
from read_hook() a
n
d
write_hook
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed read_hook(
)
an
d
write_h
o
ok() o
v
er an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
Commit 1b59e7d c
o
nt
a
in
e
d a typo t
h
a
t
didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd_command_ap() corrup
t
in
g
the argu
m
e
nt list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fix
e
d
option
--
n
ame
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Ki
b
b
ey
Th
e
'
c
hang
e
log' ta
r
g
et now
only generates
c
hanges from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Min
o
r docu
m
entation
c
leanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
D
o
cumented SS
H
in
t
he header
.
Also
fi
x
ed f
o
rmatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Fixed
s
ome compile-ti
m
e conditionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Added a note a
b
out calling pwmd_get_fds()
after ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbe
y
Removed pwmd_get_fd
(
) and pwmd_get_a
s
y
nc2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n
Kibbey
Fixed PWMD_OPTION
_
PINENTRY_TIMEOUT when used
with pwmd
_
open2
(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Updat
e
d the pwmc
d
ocum
e
ntati
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make
s
ure
a valid
h
andle and assuan cont
e
xt is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Ret
u
rn ASYNC_
D
ONE from pwm
d
_process() wh
e
n
not
i
n a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine the pwmd
server v
e
rsion in _so
c
ket_conn
e
ct_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
D
ocumented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbe
y
Fixed local
p
inentry
st
r
i
ng
s
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Renamed pwmd_g
e
t_fd2() t
o
pwmd_get_async2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Removed PWMD_O
P
TIO
N
_PINENTRY
.
No long
e
r needed si
n
ce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
b
b
ey
Don't do "GETCONFIG dat
a
_dir
e
ctor
y
" on an S
S
H
connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
A
d
d
e
d pwmd_open2() and pwmd_save2(
)
which will
u
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
More documentations updates a
n
d
f
ixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
wmd_get_hostkey() now require
s
a pwm_t
handle
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTR
Y
con
d
itional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over do_
s
ave_
g
e
tpin() when
G
PG_ERR
_
INV_PA
S
S
PHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
bb
e
y
Fixed pwmd_save() w
h
e
n PWMD_OPTI
O
N_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of getting the password
i
s:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbe
y
Created a doc/Makefile "
d
oxyge
n
" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
Set a
defa
u
lt timeo
u
t of 30 seco
n
ds for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Rename
d
pw
m
d_
p
a
s
s
word_fn to pwmd
_
passp
h
r
ase
_
cb_t
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
ey
Updated the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
d
ded PWMD_O
P
TI
O
N_IP_VERSION which should b
e
se
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --
p
ort
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
A few
minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
F
i
x
e
d zo
m
bie pin
e
ntry processes
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibbey
Fi
x
ed pwmd_save_a
s
ync2() when used with
a
n SSH ch
a
nnel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibbey
Fixed
t
he --get-host
k
ey o
p
ti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
F
i
xed some compile time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few
compile time
co
n
d
iti
o
n
a
l f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
W
h
en doi
n
g a pwmd_open_
a
sync2
(
), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed
ch
e
cking
f
or an S
S
H
e
r
ro
r
i
n
w
rite_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbe
y
Trim any
'
\r\n'
in the command before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentry re
t
ries when used with pwm
d
_open_async
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n K
i
bbey
C
heck for getop
t
.
h for systems that have
getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en
Kibb
e
y
Use
getopt_long()
.
When not available
,
build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
Fixed
a potential buffer ove
r
flow i
n
do_nb_com
m
and()
.
commit
|
commitdiff
|
tree
next