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 K
i
bbe
y
A
dded pwmd_
d
isconnect() to close
t
h
e
connection without
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
Ben
K
ib
b
ey
Fixed a segfault
duri
n
g an
S
S
H
conn
e
ction failure
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kibbey
ss
h
.
c cleanup
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kibbey
pwmc: Fixed NULL termin
a
ting the c
o
mma
n
d
r
ead from
.
.
.
commit
|
commitdiff
|
tree
2009-04-13
Ben K
i
bbey
pinentry
.
c cleanup
.
commit
|
commitdiff
|
tree
2009-04-13
Ben Kibbey
F
i
xed pwm
d
_open_async2(
)
and pwmd_save_a
s
ync2(
)
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
When s
e
n
d
ing a command
with pwmd_command(), mak
e
sure
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibbey
Fix
e
d a couple Debian li
n
tia
n
w
arnings with t
h
e man
u
al
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
pwm
c
:
#include <fcntl
.
h
>
, usag
e
text cleanup
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
bey
Return GPG_ERR_CANCELED rather t
h
a
n
GPG_ERR_EOF if
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
K
i
bbey
Fixed commit
4
d70
d
f9
.
Don't use se
n
d/recv() on a pipe()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Ki
b
bey
Created src/misc
.
[ch],ssh
.
[ch],pinent
r
y
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
pwmd_new
(
) no
w
sets a default pinent
r
y
tty, te
r
m
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
Fixed sending "O
P
TION DISPLAY
"
when
set
w
ith pwm
d
_setop
t
()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibbey
Use send(
)
/recv() instead of read()/write() for
sock
e
t
I
O
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
K
ibbey
Another fix for commit 592815d
.
Don
'
t close the SS
H
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibb
e
y
Prepro
c
essor conditiona
l
fix f
o
r
the prev
i
ous
commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
be
y
Fixed
p
wmd_open2() w
i
th a remote SSH connection wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
K
ibbey
Fixed pwmd_co
n
nec
t
_
url() with a NULL url parameter
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
If pwmd_
c
onnect_url() doesn't match ssh:
/
/
o
r s
o
cket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Added pwmd_socket_type() w
h
ic
h
sets
a
parameter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
pwmc: Let --url be a non-DEBUG
o
ption
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
pwmc: Set STDIN_FILENO to non-bloc
k
i
ng when
wai
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
Reset pw
m
->cmd from p
w
md_ssh_con
n
ec
t
()
.
Fixes p
w
m
d
_pr
o
cess()
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
Ki
b
bey
It is
probably better to s
e
t O_NONBLOCK only for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
C
a
l
l _pwmd_process() in _inqu
i
re_cb()
s
o
st
a
tus messag
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Mor
e
docum
e
n
tat
i
on cleanups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed installing t
h
e wrong
l
intian o
v
erride
s
fo
r
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Instead of
send
i
n
g the NOP com
m
and
to process
p
ending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbe
y
--disable
-
s
sh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
C
a
ll libssh2_channel_cl
o
se() before
f
reein
g
i
t
.
commit
|
commitdiff
|
tree
2009-04-10
B
en
Kibbey
M
ore doc
u
menati
o
n
s
u
pdates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
Added a note
t
o
the documentati
o
n ab
o
ut filena
m
es
beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
Kibbey
Sh
o
w the cli
e
nt name in
t
h
e pinent
r
y
d
ialog
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
K
i
bb
e
y
All function arguments that take a fil
e
name pa
t
h now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en
K
ibbey
Check for
a
n empty (but not NULL) required parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kib
b
ey
Fixed pwmd_process() when an OPE
N
command
f
a
iled
w
ith
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Free the tc
p
_conn in reset_as
y
nc()
when 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
F
r
e
e
the tcp
_
conn in
setu
p
_tcp_session()
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
Sen
d
"OPTION PINENTRY=
0
" after es
t
ablishing a
r
emote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
en
Kibbey
Revert
"A
d
ded supp
o
rt for
a
passphrase in the
url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibbe
y
Added
s
up
p
ort for
a passphrase in th
e
url string
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibbey
Set PWMD_OPTION_IP_VERSIO
N
to PWMD_IP_ANY when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben K
i
bbey
Added pwmd_connect_url() and pwmd_connect_url_asyn
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Another stdarg b
u
gfix
.
Thi
s
time in pwmd_
s
tr
d
up_p
r
intf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
e
y
Return
G
PG_ER
R
_
B
AD_CERT if the
host key cannot be v
e
rifie
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
Req
u
ire
a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
configure
.
ac
:
AC_USE_SYSTEM_EXTENSIONS, require autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Ki
b
bey
Fixed
P
WM
D
_OPTION_PASSP
H
RASE and
PWM
D
_OPTION_P
A
SSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Fixed pw
m
d_get
_
fds() wh
e
n doing
an ASY
N
C
_
CMD_OPE
N
2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Set th
e
file
d
e
scr
i
ptor to non-
b
locking
i
n pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
L
ink
wi
t
h -lrt
o
n Linux x86_64
b
o
xes
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
A
d
ded
GPG_ERRO
R
_CFLAGS to the pwmc Makefi
l
e
dependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero
l
en
g
th
i
s
a success from
read_ho
o
k() and write
_
hook()
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
F
ixed re
a
d
_hoo
k
() and write_hook() ov
e
r an S
S
H channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
C
o
mmit 1b59e7d contain
e
d a typo that didn't
r
e
a
l
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Fix
e
d pwmd
_
co
m
m
an
d
_a
p
() c
o
rr
u
pting the ar
g
ument l
i
st
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
F
ixed optio
n
--name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bb
e
y
The 'chan
g
elog' ta
r
get now o
n
l
y gener
a
tes
changes fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentation clea
n
ups
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibbey
Documented
SSH in
t
he header
.
Also fixed form
a
tting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Fixed some compil
e
-time c
o
n
d
ition
a
l
s
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
A
dded a not
e
about
c
alling pwmd_get_fds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bb
e
y
Removed p
w
md
_
get_fd(
)
a
n
d pwmd_get_async2_fd()
.
The
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Fixed PWMD_OPTION_PINENTRY_TIMEOUT when use
d
with pwmd_open
2
()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bb
e
y
Updated the pwmc documentati
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n K
i
b
bey
M
a
ke sure a valid
h
a
n
dle and
assuan context
i
s ava
i
lable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
R
e
t
urn A
S
Y
N
C_DONE f
r
om
p
wmd_process()
whe
n
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
D
e
termine the pwmd se
r
ver
version in
_sock
e
t_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Documente
d
pin
e
n
t
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
Fi
x
ed loc
a
l pi
n
entry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
R
en
a
med pwmd_get_fd2() to pw
m
d_get_
a
s
ync2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed
P
WMD_OPTION_PINENTRY
.
No longer needed
s
in
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
i
bbey
Do
n
'
t do "GETCONF
I
G
data_directory" on an S
S
H
c
onnec
t
ion
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kib
b
ey
Added pwmd_open2(
)
and pwmd_save
2
() w
h
ich
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Mor
e
documentations
u
pdates and fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
p
w
m
d_ge
t
_
h
o
stkey() no
w
requires a
pwm_t handle
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH_PINENTRY condit
i
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
b
b
ey
Loo
p
over do
_
s
ave_g
e
tpin
(
) when GPG_ERR_
I
NV_PASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
F
i
xed pwmd_save() wh
e
n PWMD_OPTION
_
PI
N
ENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The or
d
er of
getting the password is
:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kib
b
ey
Create
d
a
doc/Make
f
ile "do
x
ygen" target t
o
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Set a default timeout of 30
s
econds for pwmd_o
p
en_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
R
e
n
a
med
p
w
md_password_fn to pwmd_passphra
s
e_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Updated the
d
o
cum
e
ntation
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Add
e
d PWM
D
_OPTION_IP_VERSIO
N
which sho
u
ld be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A
few
m
i
n
or c
l
eanups
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibb
e
y
Fixed zo
m
bie pinentry pr
o
c
es
s
es
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed pwmd_save_as
y
nc2() when used with a
n
S
SH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed
t
h
e --get-h
o
stkey op
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
ed some compile t
i
me
w
arn
i
ngs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few compile t
i
m
e conditional fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Whe
n
doin
g
a pwmd_open_async2(), c
h
eck the pass
p
hrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kib
b
ey
Fixed check
i
ng for an SSH error i
n
write_h
o
ok()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Tr
i
m any '\r\n' in
t
he comm
a
nd before sen
d
ing it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed pin
e
ntry retries when us
e
d wit
h
pw
m
d_ope
n
_asyn
c
()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Chec
k
f
or ge
t
opt
.
h f
o
r
systems that have
g
etopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Use getopt_lo
n
g()
.
W
h
en not available, bui
l
d
t
he
i
ncluded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a p
o
tential
b
uffer
o
v
e
rflow i
n
do_nb
_
command(
)
.
commit
|
commitdiff
|
tree
next