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
Return GPG_ERR_CANCELED rather than GPG_ERR_EOF if the pinentry process
2009-04-12
Ben Kibbe
y
Return GPG_E
R
R_CANCELE
D
ra
t
her than GPG_ERR_EOF if
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Be
n
Kibb
e
y
F
i
xed commit 4d70d
f
9
.
Don't use send/recv() on a
pipe()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
K
i
b
bey
Create
d
sr
c
/misc
.
[ch],s
s
h
.
[ch],pinentry
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
pwmd_new(
)
now sets a
d
efault pinentry t
t
y, term
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
en Kibbey
Fixed sen
d
ing "
O
PTION DISP
L
AY"
w
h
en set with pw
m
d
_setopt()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
K
ibbe
y
Use send()/recv(
)
i
nstead of
r
ead()/write() f
o
r socke
t
IO
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
Another fix for commit 592815d
.
Don't
c
lose
t
he SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
Ki
b
bey
Prep
r
ocessor cond
i
tion
a
l
f
i
x
for the
previ
o
us
com
m
it
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
Fixed pwmd_
o
pe
n
2() with
a
remote SSH
connection whe
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bb
e
y
Fixed pwmd_connect_url() with a NU
L
L url parameter
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
If pw
m
d_
c
onnect
_
url() doesn'
t
ma
t
ch ssh:// or s
o
cket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Adde
d
pwmd_socket_type() which sets a parameter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
pwmc:
Let
-
-
url be a non-DEBUG option
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pwmc: Set
S
TDIN
_
FILENO to non-blocking when waiti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Re
s
e
t
pwm->cmd from pw
m
d_ssh_connect()
.
F
i
x
es pwmd_process()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
It is
p
robably bet
t
er to se
t
O_NON
B
LOCK only
f
or the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ib
b
ey
Call _
p
wmd_process() in _i
n
quire_cb() so status messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbe
y
More document
a
tio
n
cleanups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bb
e
y
Fixed installin
g
the wro
n
g lintian over
r
ides
f
or the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
In
s
tea
d
of sen
d
ing the NOP
c
o
mmand
to process pe
n
ding
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
--d
i
sa
b
le-s
s
h
f
i
x
es
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
i
b
bey
C
a
ll libssh2
_
channel_
c
lose() be
f
ore freei
n
g it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Mo
r
e documen
a
tions updat
e
s
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kibbey
Added a note
to the d
o
cument
a
t
i
on a
b
out
f
i
lename
s
beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
S
ho
w
t
h
e clien
t
name in t
h
e
pine
n
try dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
All functi
o
n argume
n
t
s
that take
a
fi
l
e
n
a
me
path
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
Chec
k
fo
r
an
emp
t
y (bu
t
not N
U
LL) required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Ki
b
bey
Fixe
d
pwmd_proce
s
s() when an OPEN c
o
mmand f
a
iled with
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
F
r
ee the tcp_conn in reset_async
(
)
w
hen
'
don
e
'
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Ki
b
bey
Free the
tc
p
_conn
in setup_tcp_s
e
s
sion()
.
Fixes fr
e
eing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Send "OPTION PIN
E
NTRY=0"
after es
t
ablishing a
r
emote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Revert
"A
d
ded
s
upp
o
rt for
a
pass
p
hrase
i
n the url
s
tring
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added s
u
pp
o
rt for a p
a
ssphrase in
the u
r
l
string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
K
ibbey
Set P
W
MD_OP
T
ION_IP_VERSION to PWMD_IP
_
ANY when
s
sh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added pwmd_
c
on
n
ec
t
_url
(
)
and pwmd_con
n
ect_u
r
l_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Another stdarg bugfi
x
.
T
h
is
t
ime in
p
wmd_str
d
up_prin
t
f(
)
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibb
e
y
Ret
u
rn GPG_ERR_B
A
D_CERT if
t
he host key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Require a
C99
compi
l
er
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
configure
.
ac: AC_USE_SY
S
T
EM_EXTENSIONS
,
require auto
c
onf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
F
ixe
d
PWMD_
O
PTION_PASSPH
R
ASE
and PWMD_
O
PTI
O
N
_PASSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
b
b
ey
Fixe
d
pw
m
d_get_fds()
w
hen doing an ASYNC_CM
D
_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kib
b
ey
Set the file
descri
p
tor to non-blocking in pwm
d
when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
Link with -lrt
o
n L
i
nu
x
x
8
6_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added GP
G
_E
R
ROR_CFLA
G
S to the
pwmc Makefile dep
e
ndenc
i
es
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero length is a success f
r
om r
e
ad_hook() and write_hook
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kibbey
Fixed re
a
d_hook() and write_hook() over an
S
SH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d
c
ontained
a
typo
tha
t
didn'
t
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
Fix
e
d p
w
md_
c
omman
d
_ap() cor
r
u
p
ti
n
g t
h
e argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
K
ibbey
Fixed option --
n
ame
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
i
bbey
The
'
cha
n
gelog'
t
arget
n
ow
only generates cha
n
ges from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
M
i
n
o
r
d
ocumentation
cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbey
Documented S
S
H in t
h
e header
.
Also fixe
d
formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixe
d
some
c
ompile-t
i
me
c
onditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Add
e
d
a note about cal
l
ing pwmd_get_fds()
after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Removed pwmd_get_fd
(
) and
p
w
md_
g
e
t
_asy
n
c2_fd()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kib
b
ey
F
ixe
d
PWMD_OPTION
_
PIN
E
NTRY_TIME
O
UT when used with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kib
b
e
y
Updated the p
w
mc
d
o
cumentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make
s
ure a
v
alid handle and ass
u
an co
n
text is avail
a
b
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbey
Return A
S
YNC_DONE from pwmd_p
r
o
cess() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kib
b
ey
Dete
r
m
ine the p
w
m
d
server versio
n
in _soc
k
et_
c
onnec
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Docume
n
t
e
d
p
in
e
ntr
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed local p
i
nentry s
t
rings
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n K
i
b
b
e
y
Renamed
pwmd_get_fd2() to pwmd_get_as
y
nc
2
_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
R
e
mov
e
d PWMD_OPTI
O
N_PI
N
ENTRY
.
No longer ne
e
de
d
since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
D
on
'
t do
"GETCONFIG
data_directory" on
a
n
S
SH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Added pwmd_open2() and pwmd_save2() which wil
l
us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
More
d
o
cumentation
s
update
s
and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get_hostkey() now requires a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibb
e
y
WITH_PINENTRY condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loo
p
ove
r
do_save_getpin()
w
hen GPG_ERR_INV_PASS
P
HRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
F
i
xed pwmd_sa
v
e() wh
e
n PWMD_OPTION
_
PINE
N
TR
Y
is
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The
order of g
e
tt
i
ng the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Crea
t
ed a doc/Makefil
e
"
d
oxygen"
targ
e
t
t
o
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a
d
e
f
au
l
t
t
i
m
eout o
f
3
0 se
c
on
d
s
f
o
r
pwmd_open
_
async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
en Kibbey
Renamed pwmd_p
a
s
s
word
_
fn t
o
pwm
d
_p
a
s
sphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Updated
the docum
e
ntation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Adde
d
PWMD_OPTIO
N
_IP_VERSION which should be se
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibbey
A few min
o
r
cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
Fixed zombie pinen
t
ry processes
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kib
b
ey
F
i
x
e
d p
w
m
d
_save_asyn
c
2()
w
h
e
n
u
s
ed wit
h
an
SSH
c
hannel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
e
y
Fi
x
e
d th
e
-
-get-ho
s
tke
y
option
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
Kibbey
Fixed some comp
i
le time warni
n
gs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few c
o
mpile t
i
me co
n
ditional
f
ix
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing
a pwmd_
o
pen
_
async
2
(), c
h
ec
k
the pas
s
phrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed c
h
ecking for an SSH error in w
r
it
e
_hook()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim an
y
'\r\n' in the c
o
mmand be
f
o
r
e sending
it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Fixed pi
n
entry retries wh
e
n used with pw
m
d
_
open_asy
n
c()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Check f
o
r getopt
.
h fo
r
systems that have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
bbe
y
Use getopt_long(
)
.
When not
ava
i
lable, build th
e
includ
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed a poten
t
i
a
l buffer overflow
i
n
d
o_nb_co
m
man
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Ki
b
bey
Fail if
assuan_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
b
bey
R
e
named
pwmd_tcp_connect() and pwmd_tcp_c
o
nnec
t
_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibb
e
y
Don't dup()
the
a
s
suan
c
tx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix fo
r
the p
r
evio
u
s commit which did
n
't con
s
ider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
F
i
xed p
w
md_open/save_as
y
nc2(
)
when the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed using a specified
p
a
ssp
h
rase when using pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't
c
lo
s
e
th
e
TC
P
FD
w
h
e
n an async comman
d
com
p
letes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed a pwmd_tcp_connect_async(
)
segf
a
ult
.
commit
|
commitdiff
|
tree
2009-03-26
B
en
K
ibbey
Added pwmd
_
g
et_fd2() to return the FD used
b
y pwmd
_
open_asyn
.
.
.
commit
|
commitdiff
|
tree
next