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
pwmd_new() now sets a default pinentry tty, term and display from the
2009-04-12
Ben
Kibbey
pw
m
d_new() now se
t
s a default pinen
t
r
y
tty,
term and
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
bey
Fixed sending "OPTIO
N
DISPLAY" wh
e
n
s
e
t w
i
t
h
pwmd_setopt
(
)
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibb
e
y
Use send()
/
r
ecv(
)
instea
d
of rea
d
()/write() for socke
t
IO
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibb
e
y
Anot
h
er fix for comm
i
t 592815
d
.
Don't close the SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Prep
r
o
cessor conditional fix for the previous commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
F
ixed p
w
md_open2() w
i
th a remote SSH
co
n
nection when
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed pwmd_conn
e
ct
_
url()
w
i
t
h a NULL
url parame
t
er
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
If pwmd_co
n
nect_url() doesn't match ssh
:
// or socke
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
A
dded p
w
md_sock
e
t_type
(
) which
s
et
s
a parameter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
p
wmc: Let
--url be a non-DEBUG opti
o
n
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
be
y
pwmc:
S
et STDIN_FILE
N
O
to non-blocking when waiting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Rese
t
pwm->cmd from pw
m
d_ssh_connect(
)
.
Fixes
p
wm
d
_process()
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
It is pr
o
bably
bett
e
r
to set
O_N
O
N
BL
O
CK o
n
ly fo
r
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Call
_
pwmd_pr
o
cess() in _inquire
_
c
b() so
status
m
essages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
More
d
o
c
umentation
c
leanups
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kib
b
ey
Fixed instal
l
ing the wrong lintian
o
verrides for
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
i
b
be
y
Ins
t
e
ad of sendin
g
t
h
e NOP
c
o
mmand to process pen
d
in
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disable-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
C
a
ll lib
s
sh2_c
h
anne
l
_clos
e
() before free
i
ng it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More
d
o
cumenation
s
updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Added a note to the do
c
um
e
ntatio
n
a
bout f
i
lenames
beginnin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
Show the client nam
e
in the pinentr
y
dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
All function argume
n
ts that take a filename
p
a
t
h now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
K
ib
b
ey
Check for an empty (
b
ut n
o
t NULL)
r
eq
u
i
r
ed paramete
r
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fixed pw
m
d_
p
rocess(
)
when an OP
E
N
command failed with
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Kibbey
Fre
e
the tcp_
c
onn
i
n reset_async()
w
hen 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fre
e
the
t
cp
_
conn in setup_tcp_sessi
o
n
(
)
.
Fixes
freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send
"
OPTION PINENTRY=0
"
after est
a
blish
i
ng a rem
o
te
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
R
e
vert
"
Ad
d
ed
support for a pass
p
hrase in th
e
url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added support for
a
passphr
a
se
i
n the url string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
b
bey
Set PWMD_OPTION_IP_VERSION to PWMD_IP
_
A
N
Y when
ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Adde
d
pwmd_connect_url
(
)
and pwmd_connect_ur
l
_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbe
y
An
o
t
h
er std
a
rg bu
g
fi
x
.
This time in pwm
d
_strdup_printf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Ret
u
r
n GPG_ERR_BAD_C
E
RT if the host
key
c
annot be ver
i
fied
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
R
e
quire a
C
99 comp
i
ler
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
conf
i
gure
.
ac
:
AC_U
S
E_SYST
E
M_EXTENSIONS, requ
i
re aut
o
c
o
n
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixe
d
PW
M
D_OPTION_PASSPH
R
AS
E
and PWMD_O
P
TION_PA
S
SPHRASE
_
CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed pwmd_get_fds() wh
e
n doing an ASYN
C
_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Se
t
th
e
f
ile d
e
scr
i
ptor to non-bl
o
cking in pwm
d
when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Link w
i
th -lrt on
L
inu
x
x
86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added
G
P
G
_
E
R
ROR_CFLAG
S
to the
p
wmc Makefil
e
de
p
endencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Ze
r
o length is a success fro
m
read_hook()
and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kibbey
Fixed re
a
d_hook() and writ
e
_hook() over an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
bbey
Commi
t
1b59e7d contai
n
e
d
a typo that
di
d
n't
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd_com
m
a
nd_
a
p() corrup
t
i
n
g the
a
r
gum
e
n
t list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
F
ixe
d
op
t
ion --na
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
The 'changelog
'
tar
g
e
t
no
w
only generate
s
changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Minor docume
n
tation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibb
e
y
D
o
cumen
t
ed SSH in the header
.
Al
s
o fixed
f
or
m
attin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed som
e
compil
e
-time co
n
d
i
ti
o
na
l
s
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a
note about calli
n
g
pwmd_get_fds() a
f
ter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_get_fd() and pwmd_ge
t
_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Kibbey
Fixed PWMD_OPTION_PINENTRY_TIMEOUT when
u
sed with pw
m
d
_
open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibb
e
y
Update
d
the pwm
c
d
ocumentation
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n
K
ibbey
Make sur
e
a va
l
id handle and assuan context is availabl
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASY
N
C_DONE from
p
w
md_process() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine the
pwmd ser
v
er ver
s
ion
in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Doc
u
mented pinen
t
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
F
i
xed loc
a
l pi
n
entry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Re
n
amed pwmd
_
get_fd2() to pwmd_get_async2_fd(
)
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed PWMD_OPT
I
ON_PINENTRY
.
No longe
r
needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
D
on'
t
do "GETCONFIG
d
at
a
_directory" on a
n
SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
A
dde
d
pwmd_op
e
n2() and pwmd_
s
ave2()
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
More documentations
upd
a
tes and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
w
md
_
get_hostk
e
y() now require
s
a
p
wm
_
t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
W
ITH_PINENTRY conditiona
l
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop ove
r
do_save_getpin()
w
hen G
P
G
_
ERR_INV
_
PASSPHR
A
SE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Fixed pwm
d
_save()
w
h
e
n PWMD_OPTION_
P
I
NENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The
orde
r
o
f
g
et
t
ing the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Cr
e
ated a
d
o
c/Makefile "doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
S
et a
d
efault
t
im
e
ou
t
of
3
0
s
e
co
n
ds
for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbey
Renam
e
d
pwmd_password_fn t
o
pw
m
d_passp
h
rase_cb_t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Upda
t
ed the documenta
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Added PWMD_OPTION_IP_VERS
I
ON which should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --po
r
t
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbe
y
A
few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed
z
ombie
pine
n
try processes
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fixed
p
wmd_save_async2() when used with an SS
H
channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed th
e
--get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed
some compile ti
m
e
w
arn
i
ngs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few compile time cond
i
tional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
When doin
g
a pwmd_open
_
async
2
(), check the p
a
ssphra
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fi
x
ed check
i
ng fo
r
an SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Trim
a
ny '\
r
\n' in the command before sendin
g
i
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed
pinentry retr
i
es wh
e
n used
w
ith pwmd_open_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Che
c
k fo
r
get
o
pt
.
h for sys
t
ems that h
a
ve getopt_long
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Use getopt_
l
ong()
.
W
h
en
not av
a
ilable, build
the incl
u
ded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
Fixed a potential bu
f
f
e
r
overflow in do_n
b
_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
b
ey
F
a
il if as
s
uan_
g
et_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed
pwmd_tcp_connect() and pwm
d
_tcp_con
n
ec
t
_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't
d
up
(
) the as
s
uan ctx
FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for the previous commit which didn'
t
con
s
i
der
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Fi
x
ed pwmd_open/save_async2(
)
w
h
en the
file
is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Fixed using a specified p
a
ssph
r
ase when
usi
n
g pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close t
h
e
T
CP FD when
a
n async
c
ommand com
p
letes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
F
ixe
d
a pwmd_tcp_c
o
nnect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
i
bb
e
y
Adde
d
pwmd
_
get_fd2() to re
t
urn
the FD us
e
d by
pwmd_open
_
asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
emoved pwmd_terminate_p
i
nentry(
)
.
There is no
n
eed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Removed pwm
d
_ope
n
_nb()
,
p
w
md_save_nb(), pwm
d
_
o
pen_nb_fi
n
ali
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the st
a
te aft
e
r command completion
.
commit
|
commitdiff
|
tree
next