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 Kibbey
Added pwmd_disconnect() to c
l
ose the
c
o
nne
c
tion w
i
thou
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kib
b
ey
Fixed a segfault during
a
n SSH connecti
o
n f
a
ilure
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kib
b
ey
s
s
h
.
c
c
leanup
.
commit
|
commitdiff
|
tree
2009-04-13
Ben
K
ibbey
pwmc: Fixed N
U
LL term
i
nating the
command read fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
Ben
Ki
b
bey
pinentry
.
c cleanu
p
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kibb
e
y
Fixed
p
w
m
d_o
p
en_asyn
c
2() an
d
pwmd_save_asyn
c
2(
)
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben K
i
bbey
Wh
e
n send
i
ng a command with pwmd_comma
n
d(), make su
r
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
en Kibbey
F
i
xed a c
o
uple Debia
n
lintian warnings with the
m
anu
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Be
n
Kibbey
p
w
mc: #in
c
l
u
de <fcntl
.
h>, usage
t
ex
t
cl
e
a
n
u
p
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
bey
Return GPG_ERR_CANCELED rather
than GPG_ER
R
_EOF
i
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kib
b
ey
Fixed
com
m
it 4d70df9
.
Don't use send/recv()
on a
p
ipe()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
bey
Created src/
m
i
sc
.
[
c
h
]
,ssh
.
[ch],pinen
t
r
y
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
be
y
pwm
d
_new()
no
w
sets a def
a
ult pinentry tty, term
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
B
e
n
Kibbe
y
Fixed sending "OPTION DISPLA
Y
" wh
e
n set
w
ith pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibbe
y
Use send()
/
recv() instead of rea
d
(
)
/
w
rite() fo
r
socket IO
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kib
b
ey
Another
f
ix for commit 592815
d
.
Don't c
l
ose
t
he SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Pr
e
p
r
oce
s
sor
co
n
dition
a
l fix for the previous commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed pwmd_open2() with a remote SS
H
c
onnection whe
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
K
i
b
b
ey
Fixed pwmd_co
n
nect
_
url() with a
N
ULL url parameter
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
I
f
pwmd_connect_url() doesn't match ssh://
or
socket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Added pwmd_socket_type() which sets a p
a
r
amet
e
r
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pwmc: Let --u
r
l b
e
a non-D
E
BUG
o
ption
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
K
i
bbey
pwmc: Set STDIN_FILENO to non-block
i
n
g when
wai
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
Reset
p
wm->c
m
d from p
w
md_ssh_connect()
.
Fix
e
s pwmd_process()
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Ki
b
bey
It is probably better
to
set
O_N
O
NBLOCK only for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
Call _pwmd_process() i
n
_inquire_cb() so
s
tatus messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
K
i
bbey
More d
o
c
umentation cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
Fixed
i
nstalling the wrong lintian o
v
errides
f
or the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Inste
a
d of s
e
nd
i
ng
the NOP comm
a
nd to process pend
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--disa
b
le-ss
h
fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Call l
i
bssh2_channel_close()
b
ef
o
re f
r
eeing it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More docu
m
e
na
t
ions
updates
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
K
ibbe
y
Add
e
d a no
t
e
to the documentati
o
n ab
o
ut filenames
b
egi
n
ning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kib
b
ey
Show t
h
e c
l
i
e
n
t name in
the pin
e
ntry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All function argumen
t
s that take a filename path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Check for a
n
emp
t
y (but not NULL) r
e
quired paramete
r
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Fi
x
ed p
w
md_pr
o
c
e
s
s
(
)
w
h
e
n
a
n OPEN command fail
e
d
with
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the tcp_con
n
in reset_async()
wh
e
n 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free th
e
tcp_conn in setup_tcp_se
s
sio
n
()
.
Fixe
s
freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
Send "OPTION P
I
NENTRY=0" after establis
h
ing a
r
e
m
ote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
R
e
v
e
rt "Added support for a passphrase
in
the url stri
n
g
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
Added s
u
pport for a p
a
ssphrase in
t
he ur
l
s
tring
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Ki
b
bey
Set
PWMD_OPTION_IP_VERSION to PWMD_
I
P
_A
N
Y when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
bbe
y
A
dded pwmd_connec
t
_url() and pwmd_connec
t
_url_asy
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kib
b
ey
Another s
t
darg bugfix
.
This
time in p
w
md_st
r
dup_pr
i
ntf()
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Retu
r
n
GPG
_
E
RR_BAD_CE
R
T if the host key ca
n
not be ver
i
fied
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Require a C99 comp
i
ler
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
configu
r
e
.
ac:
A
C_USE
_
SYSTEM_EXTENSIONS, re
q
uire autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
F
i
xed PWMD_OP
T
ION_PASSPHR
A
SE and PWMD_OPTION_
P
ASS
P
H
RASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
Fix
e
d pwmd_get_fds() when doing an
ASYNC
_
C
M
D_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
i
b
be
y
Set the file desc
r
iptor to non-blocking
in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Link wit
h
-lrt on
Linux x86_64 box
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
Ki
b
bey
Added
GPG_ERROR_C
F
L
A
GS to the pwm
c
M
a
kef
i
le dependenci
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
b
e
y
Zero l
e
ngth is a
success from read_
h
ook()
and w
r
i
te_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed read_hook
(
) and write_hook() over an SSH c
h
annel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Commit 1b59e7d contained a typo th
a
t didn't
re
a
lly
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fixed pwmd_command_ap() corrupting
t
he a
r
gument li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
i
bbey
Fixed opt
i
on --nam
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
The
'
changelog' target
n
o
w
only gener
a
tes changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Documented S
S
H i
n
the h
e
ader
.
Also fixed formattin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en K
i
bb
e
y
Fixed some compile-time condit
i
onals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
Add
e
d a not
e
a
b
out calling pwmd_get
_
fds()
a
ft
e
r
ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwm
d
_get_
f
d()
and pw
m
d_
g
et_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fix
e
d PWMD_O
P
TI
O
N_P
I
NENTRY_TIME
O
UT when used
w
i
t
h p
w
md_open
2
()
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Ki
b
bey
Updated the p
w
mc docum
e
ntation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Ma
k
e
s
ure
a val
i
d h
a
ndle and a
s
sua
n
contex
t
is avail
a
ble
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbey
Retu
r
n
A
S
Y
NC_DONE from pwmd_p
r
ocess() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Kib
b
e
y
Determine the pwmd server ver
s
ion in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Documented pi
n
entry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Fixe
d
loc
a
l
pinentry stri
n
gs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Rename
d
pwmd_get_fd2()
t
o pwmd_ge
t
_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Removed PWMD_OPTION_PI
N
ENTRY
.
N
o
longer ne
e
ded
since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
bbey
Don't do "G
E
T
CONFIG dat
a
_directory" on an SSH connect
i
on
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n K
i
bb
e
y
Added pwmd
_
open2
(
)
and
pwmd_sa
v
e
2(
)
w
h
ich
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
M
o
re documentations
updates
a
nd fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get_hostkey() now requires
a
p
w
m_t handle
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
WITH
_
P
I
NEN
T
R
Y cond
i
tional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop o
v
er do_s
a
v
e_
g
etpin() when GPG_ERR_I
N
V
_
PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
be
y
Fixed pwmd_save() when
P
WMD_OPTIO
N
_
P
I
NENTRY is s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
B
en K
i
bbey
The
order of ge
t
tin
g
the p
a
ss
w
or
d
is:
commit
|
commitdiff
|
tree
2009-04-01
Ben K
i
bbey
Cr
e
ated a doc/M
a
kefile
"doxygen" target
to genera
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Set
a
default timeo
u
t o
f
30
s
e
c
onds for
p
wmd_open_
a
s
y
n
c
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Renamed pw
m
d_p
a
ssword_fn to pwmd_
p
assphra
s
e
_
cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbe
y
U
pda
t
ed the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
d
d
ed PWMD_OPTION_IP_V
E
RS
I
ON which shou
l
d be s
e
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
F
i
xed --
p
ort
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d zombi
e
pinentry
processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
b
b
e
y
Fix
e
d pwmd_save_a
s
ync2() when used with an S
S
H
c
hannel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --ge
t
-
h
o
stkey
o
p
tion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibb
e
y
Fixed some
c
ompile tim
e
warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A f
e
w compi
l
e
time conditi
o
nal
f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
W
h
en doi
n
g
a pwm
d
_open_async2(), chec
k
the
p
assph
r
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed checking
f
o
r
an SSH error in write_h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Trim any '\r\n' in
t
h
e
command before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fi
x
ed pinentr
y
r
etr
i
es
wh
e
n us
e
d with
p
wmd_
o
p
e
n_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for get
o
pt
.
h f
o
r
s
y
stem
s
that ha
v
e getopt_lon
g
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
Use getopt_lon
g
()
.
When not ava
i
lable, b
u
i
l
d the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed a
poten
t
ial buffe
r
overflow
i
n do
_
nb_command()
.
commit
|
commitdiff
|
tree
next