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
pwmc: Let --url be a non-DEBUG option.
2009-04-11
Ben Kibbey
pwmc: Let --url
b
e a non-D
E
BU
G
o
p
t
i
on
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
p
wmc: Set STDIN_FILENO
to non-
b
locking w
h
en waiting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n K
i
bbe
y
Res
e
t
p
wm->
c
md from p
w
md_ssh_c
o
nnect()
.
Fi
x
e
s pwmd_pr
o
cess()
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
bbey
It
i
s probably better
t
o s
e
t O_NONBL
O
CK onl
y
for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Call _pwmd_process(
)
in
_
inqui
r
e_cb
(
) so statu
s
messages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
M
o
re
d
ocumentati
o
n
cleanup
s
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
F
i
xed installing the wrong lintia
n
o
v
errides for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
en Kibbey
Ins
t
ead of se
n
ding the N
O
P command to
p
rocess
p
e
nding
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbey
-
-
d
isa
b
l
e-ssh fixes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Call libs
s
h2_channel_close
(
) befor
e
freeing it
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
Kibbey
More documena
t
ions
updates
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
A
d
ded
a
no
t
e to th
e
documentat
i
on
about filenam
e
s beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
Show the client na
m
e in
the pinentry dialog
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
All
f
unction arguments th
a
t take a filena
m
e path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
Ch
e
ck
f
o
r an empt
y
(
but not
N
ULL) requir
e
d param
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en K
i
bbey
F
ixed pwmd_proc
e
ss() when an OPEN com
m
a
nd failed
with
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
Free
t
he tcp_conn
in rese
t
_a
s
ync() when 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
F
r
ee the tcp_
c
o
nn in
s
e
t
up
_
tcp_session()
.
Fixes
fr
e
e
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send "OPTION PINENTRY=0" after establishing a rem
o
te
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kib
b
ey
Revert "Adde
d
support for
a pas
s
phra
s
e i
n
the url str
i
ng
.
"
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
A
d
d
e
d support for a passphrase in
t
he url
string
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n Kibbey
S
et PWMD_OPTION
_
IP_VERS
I
ON to PWMD
_
IP_
A
NY
w
h
e
n ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbey
Added
p
wmd_connect_url
(
) and
pwmd_connec
t
_url_async
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibb
e
y
Another stdarg bugfix
.
This time in p
w
md_strdup_print
f
()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Return GPG_ERR_BAD_CERT if the host key cannot be verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
K
i
bbey
Require a C99 compiler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibb
e
y
c
onfigu
r
e
.
ac: AC_U
S
E
_
S
Y
STEM_
E
X
T
EN
S
IONS
,
require autoconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbe
y
Fixed PWMD_OPT
I
ON_PASSPHRASE a
n
d PWMD_OPTION_P
A
SSPHRASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Fixed
pwmd
_
get_fds() when
d
oi
n
g an ASYNC_CMD
_
OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
b
e
y
S
e
t
t
h
e f
i
le descri
p
to
r
to non-b
l
oc
k
i
n
g
i
n pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
L
in
k
with -lrt on Li
n
ux x86_64 boxes
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Adde
d
GPG_E
R
ROR_CFLAGS to the pwmc
M
ak
e
file dependenc
i
es
.
commit
|
commitdiff
|
tree
2009-04-08
Be
n
Kibbey
Zero lengt
h
is a success from read_hook(
)
and writ
e
_
h
o
o
k()
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kib
b
ey
Fixed read_hook() a
n
d w
r
ite_hook() o
v
er an SSH ch
a
nnel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
b
bey
Com
m
it 1b59e
7
d contai
n
ed a typo that
didn
'
t
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kib
b
ey
Fixed p
w
md_comm
a
nd_ap() corrupting
t
he argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
en
Kibbey
Fixed
opt
i
o
n
--name
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
K
ibbey
The 'c
h
angelog' target
now o
n
ly
g
enerates
changes fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbey
Minor documen
t
ation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Do
c
u
m
ented SSH in the h
e
ader
.
Al
s
o
fixed format
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Fixed some compile-tim
e
conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Ad
d
ed a note abo
u
t c
a
lling
pwmd_get_
f
ds()
a
fter each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
ey
Removed
p
wmd_ge
t
_fd
(
) and
pwmd_get_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
Kibbe
y
Fixed PWMD_OPTION_PINENTRY_TIM
E
OUT
w
h
e
n
used with pwmd_
o
pen2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kibb
e
y
Updated the pwmc
d
o
c
umentat
i
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a val
i
d
han
d
le a
n
d assuan con
t
ext is
a
vail
a
ble
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
Return
A
SYNC_DONE fr
o
m pwmd
_
proce
s
s
(
) when no
t
i
n a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Determine t
h
e pwmd server versio
n
in _socket
_
con
n
e
c
t_
f
inali
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
be
y
Do
c
u
m
e
n
t
e
d
pinentr
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kib
b
ey
Fixed lo
c
a
l
pinentry str
i
ngs
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
R
en
a
m
e
d pwmd_get_fd2()
t
o pw
m
d_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Remo
v
e
d
PWMD_O
P
TION_PINENTRY
.
No longer ne
e
d
e
d
since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
D
o
n
'
t
do "
G
E
TCONFIG data_directory" on
a
n SSH co
n
nection
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
Added
p
wmd_open2() and pwmd_save2() which will us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
More
d
ocume
n
tations
u
p
d
a
tes and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwm
d
_get_hos
t
k
ey() n
o
w requires a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
WI
T
H_PIN
E
NT
R
Y conditional fixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbe
y
Loop
o
ver do_sav
e
_getpin() whe
n
G
PG_ERR
_
INV_PASS
P
H
R
AS
E
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Fixed pw
m
d_save() when
P
WMD_OPT
I
ON_PINENTRY is s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
The order of get
t
ing t
h
e password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben
K
ibbe
y
Creat
e
d
a
doc/M
a
kef
i
le
"doxygen" ta
r
get to gen
e
rate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben K
i
bbey
Se
t
a
def
a
ult tim
e
out of 3
0
sec
o
nds for p
w
md_ope
n
_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Renamed pwm
d
_
passwor
d
_
f
n to pwm
d
_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
Updated the docu
m
entation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Added PWMD_OPT
I
ON_IP_VERSIO
N
which sh
o
u
ld be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
Fixed -
-
p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
A
few minor cle
a
n
ups
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Ki
b
bey
Fi
x
ed z
o
mbi
e
pinentry proces
s
es
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed pw
m
d_save_async2() when
u
sed with an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --get-
h
ostkey opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
bbey
Fixed s
o
me compi
l
e time
war
n
ings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
A
f
ew compile time
conditional fixe
s
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Kibbey
When doing
a
pw
m
d
_open_a
s
ync
2
(), c
h
eck
the passphr
a
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed checking for an S
S
H error i
n
write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Trim any '\r\
n
'
i
n th
e
c
omma
n
d before sending
it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
be
y
Fixed pi
n
e
n
try retries when use
d
with pwmd_o
p
en_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Ch
e
ck for get
o
p
t
.
h for systems
that have ge
t
op
t
_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
b
e
y
Us
e
getopt_long()
.
When not a
v
aila
b
le, build the i
n
cluded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
F
i
x
ed
a
p
o
te
n
t
ial
b
uffer
o
verflow in
d
o
_nb_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
F
ai
l
if as
s
uan_g
e
t_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbey
Renamed pwmd_
t
cp_connec
t
() and pwmd_tc
p
_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup() the as
s
uan c
t
x FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Ki
b
bey
Fix
f
or
t
he pre
v
ious commit whic
h
d
idn't consid
e
r
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fi
x
e
d pwmd_open/save
_
async2() when the file
i
s ca
c
hed
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en Kibbey
Fixed using
a
specif
i
ed passphrase when using pwmd
_
open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don'
t
close th
e
T
CP FD wh
e
n an async comm
a
n
d comp
l
e
t
es
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
F
i
xed a pwmd_
t
cp_con
n
ect
_
a
sync(
)
segfaul
t
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
A
dded pwmd_ge
t
_fd2() to return t
h
e
F
D u
s
ed
b
y
p
wmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ib
b
ey
Remo
v
ed
p
wmd_termin
a
te_pinentry()
.
There is no nee
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
Remo
v
ed
p
wmd_op
e
n_nb(),
p
wmd_save_nb(
)
, pwmd_op
e
n_nb
_
fin
a
li
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the sta
t
e after c
o
mmand completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwm
d
_get
_
host
k
ey_async() to reset th
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set the pw
m
d
_proc
e
ss() result w
h
en finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
b
b
ey
pwmd_call
o
c() not
pwmd_m
a
lloc() in pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Kibbey
Let pwmd_o
p
e
n
_nb() use
PWMD_O
P
TION_PINENTR
Y
_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n
K
i
b
b
ey
Re-add pw
m
d_pen
d
ing_line()
.
The difference i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbe
y
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pu
b
lic/pri
v
ate symbol c
l
eanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyn
a
me_r
(
)
.
commit
|
commitdiff
|
tree
next