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
All function arguments that take a filename path now have ~ expanded to
2009-04-10
Ben Kibbey
All func
t
ion arguments that t
a
ke
a
filename path n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
Ch
e
c
k for an empty
(
but no
t
NULL) requi
r
e
d
p
a
rameter
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Be
n
Kibbey
Fixed pwmd_process()
w
h
en an OPEN co
m
mand faile
d
with
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the tcp_conn
i
n reset_
a
sy
n
c
(
)
w
hen 'done'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Ki
b
bey
F
r
ee the
tc
p
_conn in setup_tcp_session()
.
F
i
x
es freeing
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Send
"OPTIO
N
PINENT
R
Y=0" after establishing a remote
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben
Kibbey
R
evert
"
Added s
u
pport for
a pa
s
sphrase in
t
he
u
rl str
i
ng
.
"
commit
|
commitdiff
|
tree
2009-04-09
Be
n
K
ibbe
y
Added suppo
r
t fo
r
a passphrase in th
e
url string
.
commit
|
commitdiff
|
tree
2009-04-09
B
en Kibbey
Set PWMD_OPTION_IP_V
E
RSION to PWMD_IP_ANY
when ssh
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibb
e
y
Added
p
wmd_connec
t
_url(
)
and pwm
d
_
c
onn
e
ct_
u
rl_asy
n
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
A
nother stdarg bugfix
.
T
h
is time in
p
wmd
_
strdup_print
f
()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
Retu
r
n G
P
G_ERR_BA
D
_CERT if the host ke
y
cannot be
verified
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en K
i
bbey
Require a C9
9
com
p
iler
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
configure
.
a
c
:
A
C
_USE_SYSTEM_E
X
TENS
I
ONS
,
r
e
quire au
t
o
co
n
f
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
ibbey
Fixed
PWMD
_
OPTION_PASSP
H
RAS
E
and PWMD_O
P
TION_PAS
S
PHRASE_C
B
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Ki
b
bey
Fixed
p
w
md_get_fds() when doing a
n
ASYNC_CMD_OPEN
2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kib
b
ey
Se
t
the file descrip
t
or to non-blockin
g
in p
w
md
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link with -lrt on Li
n
ux x86_64 box
e
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
Kibbey
A
dde
d
GPG
_
ERROR_CFLAGS to t
h
e pwmc Make
f
ile
de
p
endencies
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kib
b
e
y
Zero length is
a su
c
cess
f
r
o
m read_h
o
ok() and writ
e
_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kib
b
ey
F
i
x
e
d read_hook() and write
_
h
o
ok
(
) over
a
n SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Comm
i
t
1b59e7d contained
a typo
t
hat
didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed pwmd_comman
d
_ap() corrupting the argument
lis
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbe
y
Fixed option --nam
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
The
'
changelog' target
n
ow
only g
e
nerates changes fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor docum
e
ntati
o
n c
l
eanups
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n
Kibbey
D
o
cume
n
ted S
S
H
i
n the
header
.
A
lso fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
b
ey
Fixed
som
e
co
m
pile-time conditiona
l
s
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbey
Added a note about calling p
w
md_get_
f
ds() af
t
er each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibb
e
y
Removed pwmd_get_
f
d() and
pwmd_ge
t
_
a
sync2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed PWMD_OP
T
ION_PINENTRY_T
I
MEOUT when used
w
i
t
h p
w
md_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
U
pdated the
p
wmc do
c
umentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make s
u
re a
val
i
d
han
d
le and assu
a
n context is availabl
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Ki
b
bey
Return ASYN
C
_
D
ONE from pwmd_process() when
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
b
bey
Dete
r
mine the pw
m
d ser
v
er version in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Doc
u
m
e
nted pine
n
try
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
b
bey
Fixed loc
a
l
pi
n
entry strings
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Ki
b
bey
Rena
m
ed pwmd_get_fd2(
)
to
pwmd_get_async2_f
d
()
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Removed PWM
D
_OPTION_PINENTR
Y
.
No l
o
nger needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibb
e
y
Don't d
o
"GETCONFI
G
data_directory" on a
n
SSH c
o
nnection
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
ibbey
A
d
ded pwmd_open2() and pwmd_save2()
whic
h
will
use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
More documentations updates a
n
d fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
p
w
md_get_hos
t
k
e
y() now require
s
a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
K
i
bbey
W
I
T
H_PINE
N
TRY conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibb
e
y
L
oop
o
ve
r
do_sa
v
e
_getpin(
)
when GPG_E
R
R_INV_PASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
Kibbey
Fixed
p
wmd_s
a
v
e
() w
h
e
n PWM
D
_OPTION_PIN
E
N
T
RY is se
t
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order of gettin
g
the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kib
b
ey
Created
a
doc/Make
f
ile
"
d
oxyg
e
n" target
t
o gene
r
ate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
Kibbey
S
et a default timeo
u
t of 30 se
c
onds for pw
m
d_op
e
n_asy
n
c2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Renamed pwmd_password
_
fn t
o
pwmd
_
passphrase_cb_t
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Up
d
ated th
e
documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Added PWMD_OPTION_IP_VERSION
w
hich should be set
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
e
y
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kib
b
ey
A few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
xed zom
b
ie pi
n
ent
r
y
pr
o
cesses
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
Kibb
e
y
Fixed pwmd
_
s
a
ve_a
s
ync2()
w
he
n
used
w
i
t
h an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
Fix
e
d the --get-hostkey
option
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
K
ibb
e
y
Fixed
s
ome comp
i
l
e
t
ime
warni
n
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibbey
A few compile time conditional fixe
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doi
n
g a
pwmd_open
_
as
y
nc2(), check the
pass
p
hra
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed checking for an SSH er
r
o
r
in write_ho
o
k
(
) and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Trim any
'
\r
\
n'
in the command before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
b
e
y
Fixed
p
i
nentry retries when
u
s
ed w
i
th
p
wmd_open_async
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbe
y
Check for g
e
topt
.
h for sys
t
e
ms t
h
a
t
h
av
e
ge
t
opt_long
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
i
b
bey
Use getopt_lon
g
()
.
When not avail
a
bl
e
, build the
incl
u
ded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
F
i
xed a po
t
ential buffer ov
e
rflow in
do_nb
_
comm
a
nd()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
bbey
Fail if assuan_get_active_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Renamed pwmd_tcp_connect() and pwmd_tcp_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Don
'
t d
u
p() th
e
assuan c
t
x FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix
f
or the previous
c
o
mmit which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open
/
s
a
v
e_
a
sync2() when
t
he fi
l
e is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
ibbey
Fixe
d
using a specif
i
ed
passphrase when
using pwmd
_
ope
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibb
e
y
Don't close the TCP FD w
h
e
n an async
command completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fi
x
ed a pwm
d
_tcp_co
n
nec
t
_
a
s
ync() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
B
en
K
ibbey
Added pwmd_get_fd
2
()
to return t
h
e FD
u
sed b
y
pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
R
e
m
ove
d
pwmd_terminate_pinen
t
ry()
.
There is
no n
e
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Rem
o
ved pwmd_
o
pen_nb(),
pwmd_save_nb(), pwmd
_
o
p
en_
n
b_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
en Kibbey
R
e
set the st
a
te after
c
o
m
m
and
c
ompletion
.
commit
|
commitdiff
|
tree
2009-03-25
B
en K
i
b
b
ey
Fi
x
ed pwmd
_
get_hos
t
ke
y
_async()
t
o r
e
set
t
he state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
Set the
p
wmd_process() r
e
sult when
finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pwmd_ca
l
loc() not
p
wmd_malloc() in pwm
d
_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
Let pwmd_open_nb() u
s
e PWM
D
_
OPTION_PINENTRY
_
TIMEOU
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
R
e
-add
p
w
m
d_pending_lin
e
()
.
T
he diff
e
rence is t
h
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ibbey
A
P
I changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#
i
nclude <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public/
p
r
i
v
a
te symbol c
l
eanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kibbey
Use
tt
y
name_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
U
s
e getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
I
f
user
n
ame i
s
N
ULL w
h
en passed to pwmd_
t
c
p_conne
c
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
WITH
_
LIBP
T
H conditiona
l
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
A
dded pw
m
d
_strerror
_
r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
F
ixed pw
m
->resul
t
without TCP su
p
p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n
Kib
b
ey
Better pwmc argum
e
nt
checking w
i
th tcp opti
o
ns
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow
-
y
fo
r
p
i
n
en
t
ry ret
r
ie
s
even with
o
ut DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kib
b
ey
--disab
l
e-tcp compile tim
e
f
ixes and other mi
n
or cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Fixed a typo i
n
pwmc
.
c preventing reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Le
t
pwmd_process(
)
work wit
h
out
a r
u
nning c
o
mmand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Ma
k
e s
u
r
e the resul
t
o
f
a pwm
d
_c
o
mm
a
n
d
() is not NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ib
b
ey
Rev
e
rt "Let pwmd
_
p
r
ocess() work when not i
n
s
i
de a com
m
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
b
e
y
F
ixed
a
s
e
gfault when after a remote cli
e
nt term
i
na
t
es
.
commit
|
commitdiff
|
tree
next