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
Call libssh2_channel_close() before freeing it.
2009-04-11
B
e
n Kibb
e
y
Call
l
ibssh2_cha
n
n
el_close()
before freeing it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
More documena
t
ions updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Add
e
d a note to
t
he documentation about filenames
beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
Show the cli
e
n
t name
in the pin
e
ntry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All function a
r
guments that
t
ake a filename
p
ath now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Check for an
empty (but no
t
NULL) require
d
parameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
Fixe
d
p
wmd_proces
s
() whe
n
an OPEN comm
a
nd fail
e
d with
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
Free the tcp_conn in reset_asyn
c
() whe
n
'done'
.
commit
|
commitdiff
|
tree
2009-04-10
B
en K
i
bb
e
y
F
r
ee th
e
tcp_
c
on
n
in
s
e
t
up_t
c
p
_
s
ession()
.
Fixes fre
e
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kib
b
ey
Send "O
P
TION PINENTRY=0" af
t
er esta
b
lishi
n
g a
r
emot
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n
Kib
b
ey
Revert "Adde
d
s
u
ppor
t
for a passphrase in th
e
url
string
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
e
n Kib
b
ey
Added support for a passphrase in the
u
rl str
i
n
g
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Set PWMD_OP
T
ION_IP
_
VER
S
ION
to PWMD_IP_ANY
w
hen ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
K
i
b
bey
Ad
d
ed pwmd_
c
onne
c
t
_url() a
n
d p
w
md_conn
e
ct_url_a
s
ync
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibb
e
y
Anothe
r
stdarg bugfix
.
This
t
i
m
e
in pwmd_strd
u
p
_
printf()
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kib
b
e
y
Retu
r
n GPG_E
R
R_BAD_CERT if the host key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
R
equire a C99 co
m
piler
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
configure
.
ac:
A
C_USE_SYSTEM_EXTENSIONS, re
q
uire au
t
oconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
Fixed PWM
D
_O
P
TION_PA
S
SPHRAS
E
an
d
P
WM
D
_OPT
I
ON_
P
ASSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Fixed pwmd_get_fds
(
)
w
h
e
n
doing an ASYNC_CMD_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Set the file
descr
i
pt
o
r to non-blockin
g
i
n
pw
m
d when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
K
ibbey
Link
with -
l
rt on Linux
x
8
6_
6
4 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Add
e
d GPG_ER
R
OR_CFLAGS to the pwmc Makefile dependenc
i
es
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Z
e
ro length
is a suc
c
ess from read_hook()
and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibb
e
y
Fi
x
ed
r
ead_hook() a
n
d write_h
o
ok
(
)
o
ver an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kibbey
C
ommit
1b5
9
e7d co
n
t
ained
a
typo that did
n
't r
e
a
l
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fix
e
d pwmd_command_ap() c
o
rrupting the arg
u
ment li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibb
e
y
Fixed option --n
a
me
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
T
he 'chan
g
elog'
t
arget now only g
e
nerate
s
c
h
ang
e
s
from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
Minor documentation clea
n
ups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
b
ey
Docu
m
ented SSH in
t
he he
a
der
.
A
l
s
o
f
ixe
d
form
a
tting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Ki
b
bey
F
i
xed some compile-time
co
n
ditionals
.
Aga
i
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
A
d
d
ed a note about callin
g
pw
m
d_g
e
t_fds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Ki
b
bey
Remov
e
d pwmd_get
_
fd(
)
a
n
d pw
m
d_ge
t
_async2_fd()
.
T
hese
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_OP
T
ION_PINENTRY_TIMEO
U
T when us
e
d with pw
m
d_
o
pe
n
2
(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Upd
a
ted the pwmc document
a
tion
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Make
s
ure a valid
h
andle and a
s
suan context is availa
b
le
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
Return ASYNC_DONE
from pwmd_p
r
ocess() when not
i
n
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Determine the
p
wmd
s
erver version in
_s
o
cket_
c
onnect_f
i
naliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Do
c
umented pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Fixed local
p
i
nentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbey
Renamed pwmd_get_fd2() to pwmd_g
e
t_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibbey
Removed PWMD
_
OPTION_PINENTRY
.
No
l
o
nger needed
s
i
n
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
b
e
y
Don't
do "GETC
O
NF
I
G data_di
r
ec
t
o
r
y" on an SSH
c
onne
c
tion
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Add
e
d pwmd_open2()
and pwmd_sav
e
2() which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
Kibbey
Mor
e
d
o
cumentations updat
e
s
and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
pwmd_get
_
hostkey() now requires a p
w
m_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
WI
T
H
_
PINENTRY con
d
itional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop
o
ver
d
o_save_
g
et
p
in() whe
n
GPG_ERR_INV_
P
AS
S
P
HRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Fix
e
d pwmd_save() when PWMD_OPTION_PINENTRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
T
h
e
o
r
der of getting the pas
s
word is:
commit
|
commitdiff
|
tree
2009-04-01
B
e
n Kibbey
Cre
a
ted a doc/Makefil
e
"doxygen" target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default timeout
of 30 seco
n
ds for pwm
d
_ope
n
_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
K
ibbe
y
Rena
m
ed pwmd_password
_
fn to pwmd_pass
p
hrase_cb_t
.
Th
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
U
pd
a
ted the documentatio
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
ey
Added PWMD_OPTION_IP
_
VERSION
w
hic
h
shou
l
d
be se
t
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kib
b
ey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibb
e
y
A few minor
c
l
e
a
nups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie p
i
n
e
n
try proce
s
ses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
Fixed
pwmd
_
save_asyn
c
2(
)
when
u
s
ed wi
t
h a
n
SSH cha
n
nel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ix
e
d
the --get-hostke
y
option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibb
e
y
Fixed some compile
t
ime warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
A few compil
e
time co
n
di
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
When doing
a
p
wmd_open_async2(), ch
e
ck the
p
as
s
phrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbe
y
F
i
x
e
d checking for an SSH error in writ
e
_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
T
rim any '\r\n' in the command
b
e
f
ore sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
F
ixed
pinentry
retries
when us
e
d
with pwmd_ope
n
_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
C
h
eck for getopt
.
h fo
r
syste
m
s
t
h
at have getopt_lo
n
g()
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
Use g
e
topt_long()
.
When n
o
t a
v
ailable
,
build the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixed
a pot
e
nt
i
al buffer overflow in do_nb_c
o
mmand()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail if a
s
suan_get_active_fds(
)
does
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
K
i
bbey
Ren
a
me
d
pwmd_tcp_conn
e
ct(
)
and pwmd_tcp_connect
_
as
y
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Don't
dup() the assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
Fix
for the previous
commit which di
d
n't c
o
nsi
d
er
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_ope
n
/save_async2() when
t
h
e
f
ile is cac
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
K
i
bbey
F
ixed using a spec
i
fied p
a
s
s
p
hra
s
e
w
hen using pwmd_o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n
Kibbey
Don't close the TCP FD when
a
n async
command completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixe
d
a pwmd_tcp_connec
t
_
a
s
ync() segfau
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
B
en
Kibb
e
y
Added
p
wmd_get_fd2() to ret
u
rn the FD used by pw
m
d
_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Removed
pwmd_terminate_p
i
n
entry
(
)
.
Ther
e
is
n
o ne
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Removed pwmd_
o
pen
_
nb(), pwmd_save
_
nb(), pwmd_
o
p
e
n_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the stat
e
after comma
n
d completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Fixed pwmd_get_hostkey_async() to reset t
h
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n K
i
b
bey
Set
t
he pwmd_proces
s
() result wh
e
n fi
n
ished
.
Fix
e
s
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
pwmd_calloc() not pwm
d
_
m
alloc() i
n
pwmd
_
new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
L
et pwmd
_
open_nb() use PWMD_OPT
I
ON_PINENTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en
Kibbey
Re-add pwmd_pending_line()
.
The difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
Kibbey
A
P
I changes
:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
#include
<
stda
r
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbe
y
Pu
b
lic/
p
rivat
e
symbol cle
a
nup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use ttyname_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Use get
p
w
uid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
If us
e
rname is NULL
whe
n
passed to
p
wmd_tcp_c
o
nnect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
i
bbey
WITH_LIBPTH conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Ad
d
ed pw
m
d_stre
r
ror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->resu
l
t withou
t
TCP
sup
p
or
t
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
e
y
Better pwmc argum
e
nt checking
w
ith tcp op
t
ions
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Al
l
ow -y fo
r
p
i
nentry retries even witho
u
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bb
e
y
--disab
l
e
-tcp compile
time fix
e
s and
o
t
her mi
n
or cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Fixed
a
t
ypo
i
n pwmc
.
c preventi
n
g readin
g
STDIN
.
commit
|
commitdiff
|
tree
next