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
Zero length is a success from read_hook() and write_hook().
2009-04-08
Ben
K
ib
b
ey
Zero lengt
h
is a succes
s
f
rom read_hook() and writ
e
_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
K
ibbey
F
i
xed read_hook() and w
r
it
e
_hook() over an
SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kib
b
ey
Commit 1b59e7d contained a typo that didn't
really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fix
e
d
p
wmd_comm
a
n
d
_
a
p()
c
o
r
rupting the arg
u
m
e
n
t list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
F
i
xed option -
-
name
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibbey
The 'changelog' target no
w
only generates change
s
from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
ibbey
Min
o
r
d
ocumentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Ki
b
be
y
Document
e
d
S
S
H in the
header
.
Also fi
x
ed
f
o
r
m
a
tti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Ki
b
bey
Fix
e
d some compile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Kibbey
A
d
ded a note ab
o
ut ca
l
ling pwmd_get_fds() after each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed
p
wmd_ge
t
_fd() and pwmd_get_async2_fd()
.
T
h
ese
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fi
x
ed PWMD
_
O
PTION_PINENTRY_TIMEOUT w
h
en used wit
h
pwmd_
o
p
e
n
2
()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Update
d
the pw
m
c
documentation
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n
Kibbey
Make
s
ure a
v
a
l
id handle and assuan con
t
ext i
s
available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASYNC_DONE from
p
w
m
d_pro
c
ess() wh
e
n not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Determine the pw
m
d serve
r
v
ersion i
n
_socket_
c
o
nn
e
ct_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
b
e
y
Doc
u
mented p
i
n
entry
.
commit
|
commitdiff
|
tree
2009-04-03
Be
n
Kib
b
ey
Fixed
local p
i
ne
n
try strings
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
R
enamed pwmd_get_fd2() to pwmd_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed PWMD_OPTION_PINENTRY
.
N
o
l
o
nger neede
d
s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
Don'
t
d
o
"GETCO
N
FIG da
t
a_directory" on an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kib
b
ey
Added pwmd_open2() and
p
wmd_sa
v
e2() which wil
l
use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
M
o
re docum
e
ntat
i
o
ns u
p
da
t
es and
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
pwmd_
g
et_hostkey() now req
u
ires
a pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
WITH_P
I
NENTRY conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
Loop over do_sa
v
e_ge
t
p
in() when GPG_ER
R
_INV_PASS
P
HRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pwmd_save()
w
he
n
PW
M
D
_O
P
TI
O
N_P
I
NENTRY is s
e
t
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Ki
b
bey
T
h
e order of gett
i
n
g
the
pass
w
ord is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kib
b
ey
Created a d
o
c/Ma
k
efi
l
e
"
doxy
g
en"
t
arget to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default
t
i
me
o
u
t of 30
seconds for
pwmd_op
e
n_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbe
y
Rename
d
pwmd_pas
s
wo
r
d_fn to
pwmd_passphrase
_
cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Updated
t
he docu
m
enta
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Added PWMD
_
OPTION_IP_V
E
RSION
w
h
i
c
h
sho
u
ld be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibb
e
y
F
ixed --p
o
rt
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A few mi
n
o
r
c
lean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinentry pro
c
esses
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
bbey
Fixed pwmd_save_
a
s
ync2()
w
hen used wit
h
an SSH
chann
e
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the --get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixed
some com
p
ile
ti
m
e warnings
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A fe
w
c
o
mpile time condit
i
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing
a pwmd_ope
n
_asy
n
c2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Ki
b
bey
Fixed checkin
g
for
an SSH error in write_hook()
and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim an
y
'\r\n' in the command b
e
fore sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
F
ixed
p
inentry
r
etr
i
es when used wit
h
pwmd
_
o
p
e
n_async()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbe
y
C
heck
f
or g
e
topt
.
h f
o
r sys
t
ems th
a
t have getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Use geto
p
t_long()
.
When not
available, build the
i
nclude
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
Fixed a potential bu
f
f
e
r over
f
l
o
w in do_nb_command
(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Ki
b
bey
Fail if assuan_get_active_f
d
s() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed p
w
md_tcp_connect() and pwmd_tcp_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
e
y
Do
n
't du
p
(
) the assuan
c
tx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for th
e
previo
u
s co
m
mit which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
i
bbey
Fixed pwmd_ope
n
/save_async2() when the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Be
n
Kibbey
Fixed using
a specified pas
s
phrase
w
hen using pwm
d
_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Don't clos
e
t
he TCP FD when a
n
a
s
ync
c
ommand com
p
letes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
F
ixed a pwmd
_
tcp_connect_async()
s
egfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added pwmd_ge
t
_fd2
(
) to
r
e
t
urn th
e
FD
used by pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kib
b
ey
Removed pwmd_
t
er
m
inate_pinentry
(
)
.
There is no n
e
ed
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Remo
v
ed pwmd
_
open
_
nb(), pwmd_save_n
b
(), pwmd_open_nb_fina
l
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Rese
t
the state
a
fter com
m
and completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ib
b
ey
Fixed pwmd_g
e
t_hos
t
k
e
y_async() to reset th
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
i
bbey
Set the pwm
d
_proce
s
s()
r
esult
when f
i
nished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Be
n
K
i
b
b
e
y
pw
m
d_calloc() not pwmd
_
mall
o
c() in pwmd_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibbey
L
et pwm
d
_open_nb(
)
u
se PWMD_OPTI
O
N
_
PINE
N
TRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
Re-add pw
m
d_pen
d
i
ng_line(
)
.
The di
f
fere
n
ce
is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
API
c
hanges:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#
i
n
clu
d
e <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Pu
b
l
i
c/private symbol c
l
eanu
p
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Us
e
tty
n
ame_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbe
y
Use get
p
wuid
_
r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If usern
a
me is NULL
wh
e
n
passed to pwmd_t
c
p_conne
c
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
WITH_LIBPT
H
c
o
n
di
t
i
onal fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Added pwm
d
_
s
t
r
error_r(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Ki
b
bey
Fi
x
ed pwm->result wit
h
o
u
t TCP su
p
port
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbe
y
Bette
r
pwmc arg
u
m
e
nt
c
heck
i
n
g with tcp option
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y for pin
e
ntry retries even without DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
-
-
disable-tcp com
p
ile time fixes
a
nd other
m
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed a
t
ypo
in p
w
mc
.
c
prev
e
nti
n
g
r
eading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Ki
b
bey
L
e
t
pwmd_pr
o
cess
(
) work without a
r
unning comm
a
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en K
i
bbey
Make sure t
h
e
r
esult of a pwm
d
_comm
a
nd() is
n
ot
N
ULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Revert "Let pwmd_
p
roce
s
s()
work when not inside a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Fixed a
s
egfault
w
hen
a
fter a remote clien
t
terminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_pr
o
c
ess() wo
r
k when not
i
nside a comma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Final
i
ze
d
c
ommit 65d085f
.
Should
b
e
back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
C
ompi
l
e-
t
ime fix for
F
r
ee
B
SD
when trying to link w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Compile-ti
m
e fix for --di
s
able
-
nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
U
p
dated pwmc
.
c to use pwm
d
_s
e
topt()
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kib
b
ey
A
d
de
d
PWMD_OP
T
ION_PINE
N
T
RY
_
TIMEOUT
.
Only use
f
u
l wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let p
w
md_setopt() s
e
t
p
w
m
d
o
ptions d
i
rectly wh
e
n
PW
M
D_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Added
pwmc co
m
mand line options -C an
d
-M to set LC_CTY
P
E and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD
_
OP
T
ION_P
I
NENTRY_
L
C
_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In
d
o_pwmd_save
(
), check fo
r
the user
supplied password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Reset pwm->pid in
pwmd_termin
a
te_pin
e
ntry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure pwmd
_
command_ap() has a handle and co
m
m
an
d
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Co
m
pile time fi
x
for -DMEM_
D
EBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
Don't try to xfree
t
he password returne
d
by a
u
ser
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated the copy
r
i
g
ht header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
A
dded warn_unus
e
d_result a
t
t
r
ibute to pwmd_comman
d
_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbe
y
Fixed mem
.
c
to use a mutex
w
hen accessing
th
e
memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added pwmd_com
m
and_ap()
.
T
h
is
m
akes
pwm
d
_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kib
b
ey
I messed
u
p the directory tree making it hard to pull
.
.
.
commit
|
commitdiff
|
tree
next