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
Preprocessor conditional fix for the previous commit.
2009-04-11
B
en Kibbe
y
Preproce
s
sor co
n
ditiona
l
fix
for the prev
i
ou
s
commit
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
Fixe
d
p
wmd_
o
pen2() with a re
m
ote SSH connection when
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
F
i
xed pwmd_conne
c
t_url() w
i
th
a
NULL url para
m
e
t
e
r
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
If pwmd_conne
c
t_url() doesn't mat
c
h ssh://
o
r soc
k
et
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Be
n
Kibbey
Added
pwmd_
s
ocke
t
_
t
ype() whic
h
sets a parameter to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
pwmc:
L
et --url b
e
a non
-
DEB
U
G
option
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
pwmc
:
Set STDIN_FILENO to non-block
i
ng when waiti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
R
eset
pwm->cmd from pwmd_ssh
_
con
n
ect()
.
Fixes pwmd_proc
e
ss(
)
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bbey
It
is
p
robably better
to set O_NONBLO
C
K
only
f
o
r
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
C
all _pwmd_process() in _inq
u
ire_cb
(
) s
o
status message
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbe
y
More docu
m
entat
i
on
clea
n
ups
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Fixed installing the wron
g
lin
t
ia
n
ove
r
r
i
d
es for
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en
K
ibbey
I
n
stead of s
e
nd
i
n
g th
e
NOP command t
o
process pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n K
i
bbey
--disabl
e
-ssh fi
x
es
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
Kibbey
Call libssh2_channel
_
close() before freeing it
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
More
d
ocumena
t
ions updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Add
e
d a no
t
e to the documentation abo
u
t
f
i
lenam
e
s beginnin
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Show the
c
l
i
ent na
m
e in t
h
e pi
n
entry dial
o
g
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All f
u
nction
a
rguments
t
hat tak
e
a filename path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
C
h
eck for
an empt
y
(b
u
t not NULL) re
q
u
i
red par
a
meter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Ki
b
bey
F
ixed pwmd_process(
)
w
h
en an OPEN command failed
w
ith
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibb
e
y
Free the tcp_con
n
in r
e
set_
a
sync()
w
hen
'
d
o
n
e'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
F
r
ee the
t
cp_conn in setup
_
tcp_
s
essi
o
n()
.
Fixes freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Sen
d
"OPT
I
ON PINEN
T
RY=0" after es
t
ablishi
n
g a
r
emote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Revert "Added sup
p
ort for a passphr
a
s
e in the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
en Kibb
e
y
A
dded sup
p
ort fo
r
a passphr
a
se in the
u
rl str
i
ng
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
S
et
P
WM
D
_OP
T
ION_IP_VERSION to
PWMD_IP_ANY when
ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n
Kibbe
y
Added pwmd_connect_url()
and pwmd_conn
e
ct_
u
rl_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
A
not
h
e
r stdarg bugfix
.
This
t
ime
in pwmd_strdu
p
_print
f
()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Return G
P
G_ERR_BAD_CERT i
f
t
he host k
e
y ca
n
n
o
t b
e
verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Require a C99 compile
r
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
configure
.
ac: AC_USE_SYSTEM
_
EXTE
N
SIONS
,
requi
r
e autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
Fixed PWM
D
_
OPTION_PASSPHRASE and PWMD_OP
T
I
O
N_PASSP
H
RASE
_
CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
F
i
xed pw
m
d_get_fds() wh
e
n doing an ASYNC_C
M
D_OPE
N
2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbe
y
Set the
file
d
escriptor to
n
on-blocking
in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
L
i
nk with -lrt on L
i
nu
x
x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbe
y
Added
G
P
G
_ERROR_CFLAG
S
to the
p
wmc Makefile dependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Z
e
ro lengt
h
is a succ
e
ss from read_ho
o
k() and write_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
Fixed
read_hook() and w
r
i
t
e_ho
o
k() ove
r
an
S
SH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
bb
e
y
C
o
mm
i
t 1b59e7d
c
o
n
tain
e
d
a typo that didn
'
t really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixe
d
pwmd_command_
a
p
(
) corrupting t
h
e a
r
gument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kibbey
F
ix
e
d option --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
T
h
e
'chan
g
elog' tar
g
et
n
ow only generates cha
n
ges
f
ro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
Minor documentation
cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented SSH in the
he
a
d
er
.
Al
s
o
fixed form
a
tting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en
Kibbey
Fi
x
ed
some com
p
ile-time
cond
i
tionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibb
e
y
Added a
n
o
te about calling pwmd_get_fds()
a
fter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbey
R
emoved pwmd_
g
et_f
d
() and pwmd_get_
a
s
yn
c
2_f
d
()
.
T
h
e
se
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fi
x
ed PWMD_OPT
I
ON_PIN
E
NTRY
_
TIMEO
U
T w
h
en
used with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Upd
a
ted the pwmc docu
m
e
ntation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a valid
h
andle and assua
n
co
n
text is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
Return
ASYNC_DON
E
fr
o
m pwmd_process() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
K
ibbey
Determi
n
e
t
h
e pwmd server v
e
rsion in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Document
e
d
p
i
nentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
F
i
xed
l
ocal pi
n
en
t
ry strings
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
Kibbey
Renam
e
d pwmd_get_fd2() t
o
pwmd_
g
et_async2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Rem
o
ved PWMD_OPTION_PINEN
T
RY
.
N
o longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Ki
b
b
e
y
Don't do
"GETCONFIG data_directory" o
n
a
n
S
SH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
Added pw
m
d_open2() an
d
p
wmd_sa
v
e2() which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
More d
o
cumentati
o
ns u
p
dates and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
pwmd_get_hostkey() n
o
w requires a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
W
I
TH
_
PINENTRY condi
t
ional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over do_s
a
ve_getpin() when
G
PG_ERR_INV_PASSPH
R
A
S
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kib
b
ey
Fixed pw
m
d_s
a
ve
(
)
when P
W
MD_OPTI
O
N_PIN
E
NTRY is
set
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibb
e
y
The o
r
d
er of getting the p
a
ssword is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a d
o
c/Makefile "dox
y
gen" target to
generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default timeout
of
3
0 seconds for pwmd_op
e
n
_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
R
e
named pwmd_password
_
fn to pwmd_p
a
ssphr
a
s
e
_
c
b_t
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Upd
a
te
d
the d
o
cumentation
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Adde
d
PWMD_
O
PTIO
N
_
I
P_VE
R
SION which should be set t
o
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixe
d
-
-
port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
A fe
w
minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinentry p
r
ocesses
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibb
e
y
Fixed pwmd_save_async
2
(
) w
h
en
u
sed with
a
n SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
Fixed the --
g
et-host
k
ey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
x
ed some compi
l
e time warnings
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Ki
b
bey
A few compil
e
t
ime cond
i
tional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Wh
e
n doing a
p
w
md_
o
pen_async2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed checking
f
o
r an SSH error in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kib
b
ey
Trim
any '\r
\
n' in the command be
f
ore se
n
d
i
n
g
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
xed pinentry retries when used with
p
wmd_open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
Chec
k
f
o
r getopt
.
h
f
or systems th
a
t have getopt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Use getopt_
l
ong()
.
Whe
n
not availabl
e
, bu
i
l
d
the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
F
i
xed a potential
b
uffe
r
overflow in do_nb_co
m
mand()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibb
e
y
Fail if assu
a
n
_
get_act
i
ve_fds()
d
oe
s
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Re
n
amed pwmd_tcp_co
n
ne
c
t
(
) a
n
d pwmd_t
c
p_c
o
nnect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbe
y
D
o
n't dup
(
) the assuan ctx F
D
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
b
ey
Fix for t
h
e previous c
o
mmit which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fi
x
ed pwmd_o
p
en
/
save_asy
n
c2()
w
hen the fi
l
e i
s
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Fix
e
d usi
n
g a
s
pecified passphrase when using pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kib
b
ey
Don't
c
lose the TCP FD whe
n
an asy
n
c comm
a
nd comp
l
ete
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixed a
p
w
md_tcp_connect
_
a
s
ync
(
) s
e
gfa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Added pwmd_ge
t
_fd2()
to r
e
turn
the FD used by pw
m
d
_
op
e
n
_
asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
Rem
o
ved pwmd_terminate_pinentry()
.
T
here
i
s
n
o need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Removed pwmd_ope
n
_n
b
(), pwmd_save_
n
b(), pwmd_open_nb_f
i
n
ali
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the
st
a
te after c
o
mmand
c
om
p
letion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
F
ixed pwmd_get_hostkey_async() to reset the sta
t
e
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pwmd_process() result
w
hen
fi
n
ished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
K
ibbey
pw
m
d_calloc() not pwm
d
_ma
l
l
oc() in pwm
d
_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd_
o
p
en_nb() use PWMD
_
OPTION
_
P
I
N
E
NTRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
next