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
Fixed read_hook() and write_hook() over an SSH channel.
2009-04-07
Ben Ki
b
bey
F
i
xed read_hook
(
) an
d
write_hook() over
an SSH
c
hannel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Commit 1b59e7d contained
a typo that didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kib
b
ey
Fixe
d
pwmd_co
m
mand_ap() corrup
t
ing
t
he argument li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibbe
y
Fixed opt
i
on --name
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
T
h
e '
c
hangelo
g
' target no
w
o
nly generate
s
c
han
g
es from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
Minor docu
m
entation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Documented SSH i
n
the header
.
Also fix
e
d formatti
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
e
n Ki
b
bey
Fixed some
c
o
m
pile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kib
b
e
y
Added a
note about calli
n
g pwmd_
g
et_
f
ds()
after
e
ach
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Remo
v
ed
p
wmd_get_fd() and pwmd_get_asyn
c
2
_
fd
(
)
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Fixed
PWMD_OPTION_P
I
NENTRY_TIMEOUT
when used with pwmd_open2
(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Updated the pwmc documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
M
a
ke sure a valid handle
a
nd ass
u
an con
t
e
xt is avail
a
ble
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbe
y
Re
t
ur
n
ASYNC
_
DONE fr
o
m
pwmd_p
r
oces
s
() whe
n
n
o
t
in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Determ
i
ne the
pwmd server version in _soc
k
et_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en
K
ib
b
ey
Documen
t
e
d
p
i
nentry
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Kibbey
Fixed
lo
c
al
pinentry str
i
n
g
s
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kib
b
ey
Renamed pwmd_get_
f
d2() to pwmd_g
e
t_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
R
e
moved PWMD_OPTION_P
I
NENT
R
Y
.
No longer nee
d
e
d since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't
d
o "GETCONFIG data_dir
e
ctory" on
an SSH conn
e
cti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added pwmd
_
o
pen2() and
pwmd_save2() which
will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
M
ore d
o
cumentations updates and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_get_hos
t
key(
)
now requir
e
s a pw
m
_t handle
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
Kibbe
y
WITH_
P
INEN
T
RY
conditional fixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n Kibbey
L
oop over do
_
save_getpin()
w
h
en GPG_ERR_
I
N
V_
P
ASSP
H
RASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
Fixed pwm
d
_save() when PWMD_
O
PT
I
ON_PI
N
ENT
R
Y is set
.
commit
|
commitdiff
|
tree
2009-04-02
B
e
n
K
ibb
e
y
The
order
of getti
n
g the passw
o
rd is:
commit
|
commitdiff
|
tree
2009-04-01
B
en Kibbey
C
r
eated a doc/Makefil
e
"doxygen"
t
a
r
get to gene
r
at
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Set a defaul
t
timeout of 30 seconds for pwmd_o
p
en_a
s
ync
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
R
ena
m
e
d pwm
d
_password_fn
to pwmd_p
a
ssph
r
ase_cb_t
.
T
his
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Upda
t
ed the do
c
u
mentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added
P
WMD_OPTI
O
N_I
P
_V
E
RS
I
ON which
should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
Fixe
d
--po
r
t
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
A few min
o
r cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
e
d
zombie pinentry
proces
s
es
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fixed pwmd_
s
a
ve_asyn
c
2(
)
when
used
wi
t
h an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed the
-
-get-host
k
ey opt
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fi
x
e
d
some compile
time warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
K
i
bbey
A
few compile tim
e
conditi
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a pw
m
d_open_as
y
nc2(),
c
heck
t
he passp
h
ras
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
F
i
xed che
c
king f
o
r an S
S
H
e
r
r
or
in wri
t
e
_
hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
bey
Trim a
n
y '\r\n' in the
command be
f
ore sending i
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed pinentr
y
retries when used with pwmd_ope
n
_async(
)
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
Kibbey
C
h
eck fo
r
getopt
.
h
f
or
s
yst
e
ms that ha
v
e getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
U
s
e getopt_l
o
ng()
.
When not ava
i
l
able,
build
t
he included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Fixed a potentia
l
buffer overflow in
d
o
_nb_com
m
and()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fail if assuan_
g
et_
a
ctive_fd
s
() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Ren
a
med pwmd_tcp_connect()
a
nd pwmd_tcp_co
n
nect_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
D
o
n'
t
dup()
t
he assuan
c
tx
F
D
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kib
b
ey
Fix for the p
r
e
v
ious commit which didn't consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
en
K
ibbey
Fi
x
ed
p
wmd_
o
pen
/
sav
e
_async2()
w
hen the file is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Ki
b
bey
Fi
x
ed using a
specified passphrase when us
i
ng pwmd_op
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
Don't clos
e
the TCP F
D
when an async command completes
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Fixed a pwmd_tcp_conn
e
ct_asy
n
c() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
A
d
de
d
pwm
d
_get_fd2
(
) to return
the FD u
s
e
d
by
p
wmd_open_
a
syn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed pwmd_
t
ermi
n
a
t
e
_pine
n
try()
.
There is
no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Remo
v
ed pwmd_open_nb
(
), pwm
d
_save_n
b
()
,
pw
m
d_open_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
K
ibbey
Reset
t
he state
a
fter command completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
Fix
e
d pwmd_get
_
ho
s
tkey_async
(
) t
o
rese
t
the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Set th
e
p
wm
d
_
proc
e
ss() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
pwmd_calloc() not pwmd_malloc
(
) in pwmd_ne
w
(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwm
d
_
o
pen_nb()
u
se PWMD_OPT
I
ON_PINENTRY_
T
I
M
EOU
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
Re-add
pwmd_pending
_
li
n
e()
.
The
diff
e
rence is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API
c
h
a
nges:
commit
|
commitdiff
|
tree
2009-03-24
B
en
K
i
bbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Be
n
K
i
bbey
Publi
c
/priva
t
e symbol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Use getpw
u
id_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbe
y
If username is NULL
w
hen passed
t
o p
w
md_tcp_conne
c
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
WITH_L
I
B
PTH c
o
nditio
n
a
l f
i
xes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Add
e
d
p
wmd_strerror
_
r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->result withou
t
T
C
P sup
p
or
t
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Bett
e
r pwm
c
argu
m
ent checki
n
g wi
t
h tcp opt
i
ons
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Allow -y for pinen
t
ry retries even withou
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
--dis
a
ble-t
c
p com
p
i
le
t
ime fixe
s
and
other minor c
l
e
an
u
ps
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
Fixed a typo in pwmc
.
c
pr
e
vent
i
ng re
a
ding
S
T
DIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
L
e
t pwmd_process() wor
k
without a r
u
nning command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Make
s
ure the result o
f
a pwmd
_
command() is no
t
NULL
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Revert
"L
e
t
p
wmd_p
r
ocess() wor
k
when not i
n
sid
e
a
c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
ix
e
d a segfault when a
f
t
e
r
a
r
emote c
l
ient t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Let pwmd_process() wo
r
k
wh
e
n not inside a
c
omman
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
F
inalize
d
commit 65d
0
85f
.
Shoul
d
be back
t
o no
r
mal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Compile-time fix for FreeBSD
w
hen trying to link
with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Comp
i
le
-
tim
e
fix for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Ki
b
b
e
y
Upda
t
ed pw
m
c
.
c
to use
p
w
m
d_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Added P
W
MD_OPTION_PINENTRY_TI
M
EOUT
.
Onl
y
useful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_s
e
topt
(
) set pwmd options directly when
PWMD_OP
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kib
b
ey
Added pw
m
c command
l
ine options -C and -M to
s
e
t LC_CT
Y
P
E
and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added PWMD_OPTION_PINENT
R
Y
_
LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
In
do
_
pwmd_s
a
ve(), ch
e
c
k
for the use
r
supplied passwo
r
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbey
Re
s
et
pwm->pid
i
n
pwmd_te
r
m
in
a
t
e_
p
inentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibb
e
y
Make su
r
e
p
wmd_com
m
and_ap() has a handle
and command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile ti
m
e fix for -DMEM_DEBU
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
e
y
Don't
t
ry to xfree the passwor
d
returned by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbey
Updated the copyright header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Added
warn_unuse
d
_result attribute
t
o pwmd_comm
a
nd_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Ki
b
bey
Fixed
mem
.
c to use a
m
utex when a
c
cessing
the memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Add
e
d pwm
d
_command_ap
(
)
.
T
h
is makes pwmd_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
I messed up th
e
d
i
r
ecto
r
y tree making it hard to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben K
i
bbey
Fixed some me
m
o
r
y leaks
.
commit
|
commitdiff
|
tree
next