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
B
e
n Kibbe
y
Return
G
PG_ERR_CANCELED rathe
r
than GPG_ERR_EOF if
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibb
e
y
Fixed commit 4d70df9
.
Don't use send
/
recv()
o
n a pi
p
e()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben K
i
bbey
C
r
ea
t
e
d
sr
c
/misc
.
[
ch],ssh
.
[c
h
],pinentry
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibbey
pwmd_new() now se
t
s
a defau
l
t pinentry tty, t
e
rm and
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n Kibbey
F
ix
e
d sending "OPTION D
I
SPLA
Y
" when set with p
w
md
_
setop
t
()
.
commit
|
commitdiff
|
tree
2009-04-12
Be
n
K
i
bbe
y
Use send()/rec
v
(
)
instead of read()/wr
i
te() for socket IO
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbe
y
An
o
ther f
i
x fo
r
commit 592815d
.
Don't
clos
e
the SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibb
e
y
Preprocess
o
r conditio
n
al fix for the pr
e
v
io
u
s commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed pwmd_open2() with a
r
emo
t
e SSH
co
n
nect
i
on whe
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed
p
wmd_
c
onnect_url(
)
with
a
N
U
LL url
p
arameter
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bbey
If pwmd_connect_url() doesn't match ssh://
o
r
s
ocket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
Added
pwmd_socket_typ
e
()
w
hich sets a parameter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
pwmc: Le
t
-
-
url be a non-DEBUG
o
ption
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
p
w
mc: Set STDIN_FILEN
O
to non-blocking when
w
a
iting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
Rese
t
pwm-
>
cmd
from pwmd_ssh_connect(
)
.
Fixes pwm
d
_
p
rocess()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
It is probab
l
y better to s
e
t O
_
NONBLOC
K
only
f
or the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Ki
b
bey
Ca
l
l _pwmd_proc
e
ss() in _in
q
u
ir
e
_cb
(
) so status
m
e
ssage
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bbey
More doc
u
m
entat
i
on cleanups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
Fixed i
n
stalling t
h
e
w
rong l
i
ntian overrides f
o
r t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Ki
b
be
y
I
nste
a
d of
sending the NOP command
t
o
process pen
d
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--
d
i
s
able-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
Call libssh2_channe
l
_close() before
f
re
e
ing
it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More d
o
cumenations
u
pda
t
es
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Add
e
d a no
t
e to the docume
n
tat
i
o
n
abou
t
file
n
ames beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Kibbe
y
Sh
o
w the client name
in the pinentry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
A
ll funct
i
on argume
n
t
s th
a
t take
a f
i
lename path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbe
y
Check for an empty (but not NULL) required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Ki
b
bey
Fixed pwmd_pro
c
ess(
)
when a
n
OPEN
comma
n
d
faile
d
with
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Kibbey
Free the tcp_conn
in
re
s
et_
a
s
y
nc() when
'
don
e
'
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n Ki
b
bey
Free
t
he t
c
p
_co
n
n in
s
etup_tc
p
_ses
s
ion(
)
.
F
i
x
es fre
e
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
Send "OPTION PINENTRY=0" after establishing a remo
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Ki
b
bey
Rev
e
rt
"
A
dded support for a
p
assphras
e
i
n
the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added su
p
port for a passphr
a
se
in the url string
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kib
b
ey
Set PWMD_OPTION_IP_VER
S
ION
to P
W
M
D_IP_ANY when
s
sh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n
K
i
bbey
Added pwmd
_
connect_url() and pwmd_connect_u
r
l_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Another
s
td
a
rg bu
g
fix
.
This time in pwmd_str
d
up_pri
n
tf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Re
t
urn GPG_ERR_BAD_CERT if the h
o
st key cannot be
v
er
i
fied
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Requi
r
e a C99 co
m
pi
l
er
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
co
n
figure
.
ac: AC_USE_SYS
T
EM_EX
T
ENS
I
ONS, require autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Fixed PWMD_OPTION_PASS
P
HRAS
E
a
n
d PWM
D
_O
P
T
I
O
N_P
A
SSPHRA
S
E
_
C
B
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fi
x
ed pw
m
d_get_fds() when doin
g
an
A
SYNC_C
M
D_OPE
N
2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Set the file d
e
s
criptor
t
o
non-
b
lo
c
ki
n
g
i
n pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Lin
k
with
-lrt o
n
Linux x86_
6
4 boxe
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
A
dded GPG_ERROR_CFLAGS to t
h
e pw
m
c Makefile de
p
endencies
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbe
y
Zero length is a success from read_
h
o
o
k() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Fixed read_hook() an
d
write_hoo
k
() over
a
n SSH cha
n
nel
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibb
e
y
C
ommi
t
1b59e7d co
n
t
a
ined a typo that didn't reall
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibb
e
y
Fix
e
d
pwmd_command_ap(
)
corrupting the
a
rg
u
me
n
t li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
K
i
b
bey
Fixed option --name
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
The '
c
hangelog' tar
g
et n
o
w only generat
e
s changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentati
o
n
clea
n
ups
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibbey
Do
c
umented SSH in the header
.
A
l
so fi
x
e
d
forma
t
tin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbey
Fi
x
ed so
m
e compile-time conditionals
.
A
g
ain
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
Added
a
n
o
te
about calling p
w
md_get_fds
(
) af
t
e
r
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Removed pwmd_get_fd(
)
and pwmd_get_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
F
i
xed PWMD_OPTION_PINENT
R
Y_TIMEOUT when us
e
d
w
ith pwmd_
o
pen2()
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
Updated the
p
wmc
d
o
cumentat
i
on
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibb
e
y
Make sure a va
l
i
d
handle
a
nd as
s
uan co
n
text is
a
vailable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Return ASYNC_DONE from pwmd_proces
s
() wh
e
n not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Ki
b
bey
Determine the p
w
md ser
v
er
v
ers
i
on
i
n _socket_connect
_
finali
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Documented pinentr
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
b
b
e
y
F
ixe
d
lo
c
a
l
pinentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rename
d
pwmd_get
_
fd2()
t
o
p
wmd_get
_
async2_
f
d()
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Ki
b
bey
Rem
o
v
ed
P
WMD
_
OPTION
_
PINENTRY
.
No longer nee
d
ed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbe
y
D
on't
do "GETCONFIG data_directory"
o
n a
n
SSH connect
i
on
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
A
d
d
ed pwmd_o
p
en2() a
n
d
pwmd_s
a
ve2(
)
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kib
b
ey
More docum
e
ntations updates
a
nd
f
ixes
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
p
w
md_get_hostkey() now
r
equires a pw
m
_
t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
W
I
TH_PINENTRY conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over do_save_
g
e
tpin()
when GPG_ERR_I
N
V_
P
ASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Fixed pwm
d
_
s
ave(
)
when PWMD_OPTION_PINENTRY is
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The ord
e
r of getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben K
i
bbey
Crea
t
ed a doc/
M
a
kefile
"
doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Ki
b
bey
S
e
t a default timeout
o
f
30 seconds for pwmd
_
open_async
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Renam
e
d p
w
md_p
a
ssword_fn to pwm
d
_
passp
h
rase_
c
b
_
t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
U
p
dated the documentatio
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PW
M
D_OPTION_IP_VERSION
which shou
l
d
b
e set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fix
e
d --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
A few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
Fixed zombie pinen
t
ry proces
s
es
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
F
ixed pwmd_save_async2
(
) when used with an SS
H
channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fixe
d
t
he --get-hos
t
key option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d
s
ome c
o
mpile time
w
arnings
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
A
few compi
l
e t
i
m
e
conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
When
d
oing a pwmd_
o
pe
n
_
a
s
ync2(), check the passphra
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Ki
b
bey
Fixed c
h
ecking for an SSH error
in wr
i
te_h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kib
b
ey
T
rim any '\r
\
n' in
t
he comm
a
n
d
before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentry
r
etries when used w
i
t
h pwmd_open
_
async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
C
h
eck for ge
t
opt
.
h for systems
t
hat
h
a
ve getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
U
se getopt_lon
g
()
.
When not available, build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fixed a
p
o
tenti
a
l buffer o
v
erflow in do_nb_comman
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
K
ibb
e
y
F
a
il if assuan_ge
t
_
a
ctiv
e
_fds()
d
o
e
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Renamed pwmd_tcp_conn
e
ct() and pwmd
_
tcp
_
c
onnect_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't d
u
p()
t
he assu
a
n
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for
t
he
prev
i
ous comm
i
t which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibb
e
y
Fixe
d
pwmd
_
open
/
save_async
2
() when the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
xed using
a specified p
a
ssphrase
w
he
n
using pwm
d
_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don't close the TCP
FD when
a
n async command complete
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fi
x
ed a p
w
md_tcp
_
c
o
nnect_
a
sync() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbey
Ad
d
ed
pwmd_get
_
fd2() to ret
u
rn the FD
u
sed by pwm
d
_open_
a
s
yn
.
.
.
commit
|
commitdiff
|
tree
next