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
Created src/misc.[ch],ssh.[ch],pinentry.[ch].
2009-04-12
Ben Kibb
e
y
Created src/misc
.
[ch
]
,s
s
h
.
[
ch],
p
inentry
.
[ch]
.
commit
|
commitdiff
|
tree
2009-04-12
Ben
Kibbey
pw
m
d_new() now sets a de
f
au
l
t pinentry tty, ter
m
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibb
e
y
Fixed sending "OPTION
DISPLAY" when s
e
t with pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
U
se s
e
nd()
/
recv() ins
t
ead of read(
)
/wri
t
e() fo
r
soc
k
et I
O
.
commit
|
commitdiff
|
tree
2009-04-12
Ben Kibbey
A
nother
fix for
commit 592815d
.
Don't close the SSH
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
P
reprocessor conditional fix for the previous commit
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed pwmd_open2() with a
r
emote SSH
con
n
ection when
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
i
bbey
F
i
xed pwmd_connect
_
url() wi
t
h a NUL
L
u
r
l param
e
t
er
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
If pwmd_connect
_
ur
l
() doesn't m
a
tch ssh
:
// or socket
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
Added pwmd_
s
ocket_ty
p
e() whic
h
sets
a param
e
ter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibb
e
y
p
w
m
c: Let -
-
u
r
l be a
n
on-DEBUG option
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbe
y
p
w
mc:
Set
S
TDIN_FILENO to no
n
-
b
l
ocking when wa
i
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Reset p
w
m
-
>cmd from
pwmd_ssh
_
connec
t
()
.
Fix
e
s
p
wmd_process()
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Ki
b
bey
It is p
r
obably better to se
t
O_NONBL
O
CK on
l
y
for
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Call _pwmd_pr
o
cess()
i
n
_inquire_c
b
()
s
o
sta
t
u
s
m
es
s
ages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n
Ki
b
bey
Mo
r
e
documentation
c
leanups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibb
e
y
Fixed install
i
ng the wrong l
i
n
tian overrides for th
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
Instead
o
f sendin
g
the NOP command to process
pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--
d
isable-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Ki
b
bey
Call libssh2_channel_clos
e
()
b
efore f
r
eeing
it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More documenations updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kibbey
Added a note to the
doc
u
mentation about fil
e
names
b
eginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibb
e
y
S
h
ow the client
name in the pinentry dia
l
og
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
All fun
c
t
i
on argum
e
nts tha
t
take
a
filename path
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kib
b
ey
C
heck for an
e
mpty
(
b
u
t
not NULL)
requ
i
red pa
r
ameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
Fixed pw
m
d_p
r
oce
s
s
() w
h
en an O
P
EN comma
n
d failed w
i
th
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
F
r
e
e the tcp_conn in reset_as
y
nc() when 'don
e
'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
Fr
e
e the tcp_conn in setup_
t
cp_session()
.
F
ixe
s
freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
Send "OPTION PINENTRY=0" after establishin
g
a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Rev
e
rt
"Added
support
f
or a
p
assp
h
rase in the url s
t
ri
n
g
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
e
n
K
ib
b
ey
Added suppo
r
t
f
or a passphrase in the url stri
n
g
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kib
b
ey
S
et PWMD_OPTION_IP_VERSION to PWMD_IP_ANY when
s
sh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibbey
Add
e
d pwmd_conne
c
t_url
(
)
a
nd
p
wm
d
_
connect_url_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kib
b
ey
Another stdarg bugfix
.
T
h
is
t
i
me in pwmd_strdup_print
f
()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Return
G
PG_ERR_BA
D
_CERT if t
h
e host key c
a
nnot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n K
i
bbe
y
R
e
quire a C99
compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
c
o
nfigur
e
.
ac:
A
C_U
S
E_SYSTEM_EXT
E
NSIONS
,
re
q
u
ire autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Fixed P
W
MD_
O
PTION_PASSPHRA
S
E and
P
WMD_OPTION_PAS
S
PHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kib
b
e
y
Fixed p
w
md_g
e
t_
f
ds() when
d
oin
g
a
n ASYNC_CMD_OPEN
2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbe
y
Se
t
the file de
s
cripto
r
to no
n
-bloc
k
ing in pw
m
d when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Lin
k
with -lr
t
on Linu
x
x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Added GPG_ERROR_CFLAGS
t
o the p
w
m
c Makefile d
e
pendencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Ki
b
bey
Zero leng
t
h i
s
a success fr
o
m read_hook() and write_
h
ook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed read_hook() a
n
d
w
rite_hook() ov
e
r
an SSH c
h
annel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibb
e
y
Comm
i
t 1b59e
7
d con
t
ained
a
typo that didn't real
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
F
ixed p
w
md_command
_
ap() co
r
r
u
pting the
a
rg
u
ment list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fi
x
e
d opt
i
on --name
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
The 'cha
n
gelog' target now
only generates changes from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbe
y
Minor
d
ocumentation cle
a
nups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Documented SSH
in the heade
r
.
A
l
s
o fix
e
d for
m
atting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Fixed some
c
ompile-
t
ime conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
Added a note about calling pwmd_get_
f
ds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Re
m
ov
e
d
p
wmd_get_fd() and
p
w
m
d_get_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
F
i
xed PWMD_OPTION_PI
N
ENTRY_TIM
E
OUT
wh
e
n
used with
pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
Up
d
a
ted the pwmc docu
m
enta
t
io
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Mak
e
su
r
e
a valid
h
a
ndle and assu
a
n
context is av
a
ilable
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Retu
r
n
A
S
YNC_DONE f
r
om
p
wmd_pr
o
cess(
)
when no
t
in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Determine t
h
e
p
wmd
server ve
r
sion in _socket_conn
e
c
t
_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
K
ib
b
e
y
Documented pinent
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Fi
x
ed local pinentry
s
trings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibbey
Rena
m
ed pwmd_get_
f
d2() to pwmd
_
get_
a
syn
c
2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kibb
e
y
R
e
m
oved PW
M
D
_OPTION_PINE
N
TRY
.
N
o
longer neede
d
s
ince
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do "GETCO
N
FIG
d
ata_dire
c
to
r
y" o
n
an SSH c
o
nn
e
ction
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Add
e
d pwmd_op
e
n2()
and pwmd_save2()
w
hich will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
Mo
r
e docum
e
ntations update
s
and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
p
w
md_get_host
k
ey() now re
q
ui
r
e
s
a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
WITH
_
PINENTRY con
d
i
tion
a
l fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over do_save_g
e
t
p
in() when
GPG_ERR
_
INV_PASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pwmd_sav
e
() when PWMD_OPTI
O
N_PINENTRY is se
t
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
T
he order of getting th
e
p
as
s
word
is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Cre
a
ted a
d
o
c
/Makefile "dox
y
gen" target
t
o generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
S
e
t a default
t
i
meout o
f
30 seconds
for
p
wmd_open_a
s
ync2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Renamed pwm
d
_password_fn to
p
wmd_pas
s
phra
s
e
_
cb_t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Updat
e
d
the
documentati
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Add
e
d
PWMD_OPTION_IP_VERSION which should b
e
set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
A few mino
r
cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Fixed zombie
p
i
nen
t
ry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixe
d
pwmd_
s
a
v
e
_a
s
ync2
(
)
w
hen
u
se
d
with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed the --ge
t
-hostkey opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Fixed some co
m
pil
e
time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibb
e
y
A few compile time conditi
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
When doing
a
p
w
m
d
_op
e
n_async
2
()
,
chec
k
the passp
h
rase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fixe
d
checkin
g
for
a
n
SSH
e
r
r
o
r
in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim any '\r\n'
i
n the comma
n
d
before sending
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentry
r
e
tries when used with pwmd
_
open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
C
heck for getop
t
.
h
for sys
t
ems that have
g
etop
t
_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
U
se get
o
pt_long()
.
When
not avail
a
b
l
e, bu
i
ld the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
ib
b
ey
Fixed a potent
i
al buffer over
f
l
ow in do_n
b
_comm
a
nd()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail
i
f
assua
n
_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Renamed pwmd_tcp_con
n
ect() and pwmd_tcp_connec
t
_
a
sync
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Ki
b
bey
Don't
dup()
the assua
n
ctx F
D
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
i
bbey
Fix for t
h
e p
r
evio
u
s c
o
mmit which didn't co
n
sider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd
_
open/save_async2() when th
e
f
i
l
e is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed
us
i
ng a specifie
d
passphrase
w
hen usi
n
g p
w
m
d_
o
pen
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Don't cl
o
se the TCP FD when an async command
complete
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fi
x
ed a pwmd_tcp
_
connect_async()
s
egfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added p
w
md_get_fd2()
t
o re
t
urn the FD used by pwmd_open_a
s
yn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
R
e
m
o
ved
p
w
md_termin
a
te
_
pinentry()
.
There is n
o
need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
R
e
moved pwm
d
_op
e
n_n
b
(
)
, pwmd_save_nb(), pw
m
d_open
_
nb
_
finaliz
.
.
.
commit
|
commitdiff
|
tree
next