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
Added GPG_ERROR_CFLAGS to the pwmc Makefile dependencies.
2009-04-08
Ben Ki
b
bey
Added GPG_ERROR_CFLAGS
t
o the pwmc Makefile
d
ependencies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero length is a
s
ucc
e
ss
f
rom read_hook(
)
and
w
rite_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Ki
b
bey
Fixe
d
read_hook() and write_hook() over an SSH
c
h
a
n
nel
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibbey
Commit 1b59e7d con
t
ained a typo th
a
t
d
i
dn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
en Kibbey
Fixed pwm
d
_
c
o
m
mand_ap()
corrupting the arg
u
ment list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fixed option
--
n
a
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Th
e
'
c
h
a
n
gelog' target now
only generates chan
g
es fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
Minor
d
ocumentation cleanups
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented SSH in the header
.
Also fix
e
d
formatt
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
B
en
Kibbey
Fixed some compile-time conditionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
A
dded a note about calling pwm
d
_ge
t
_fd
s
() afte
r
each
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
K
i
bbey
Re
m
oved pwmd_get_fd()
and pwmd_get_async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibb
e
y
Fixe
d
PWM
D
_OPTION_PINENTRY_TIME
O
U
T
w
hen used wi
t
h pwmd
_
open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
U
p
dated the
pwmc
documentat
i
o
n
.
commit
|
commitdiff
|
tree
2009-04-04
B
en K
i
bbey
Ma
k
e sur
e
a v
a
lid han
d
l
e
an
d
assua
n
context is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASYNC_D
O
NE fr
o
m pwmd_process() w
h
e
n
not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
D
e
termin
e
the
pw
m
d serv
e
r versio
n
in _socke
t
_
connect_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
Kibb
e
y
Do
c
um
e
nted pinentry
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Fixed local
pinentry string
s
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
R
e
n
amed pwmd_get_fd2() to pwmd_get_async
2
_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Removed
PWMD_
O
PTION_P
I
NE
N
TRY
.
No longer need
e
d s
i
n
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't do
"
GETCO
N
FIG dat
a
_
directory"
on
a
n
S
S
H connecti
o
n
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
e
y
Added pwmd_open2() and pwm
d
_save2(
)
w
hich will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
More
d
o
cumentations u
p
dates and fix
e
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
pwmd_get_hostkey() now requ
i
res a pw
m
_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
WITH_PINENTRY conditio
n
al
fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Loop over
d
o_save_g
e
tpin() when GPG_ERR_I
N
V_
P
ASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Fixed pwmd
_
save() when PWMD_OPTION_PINENTRY
i
s set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The orde
r
of getting the password
is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kib
b
ey
Created a doc/Makefile "doxyg
e
n
"
target to generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set
a defa
u
lt timeo
u
t of 30
s
e
conds for pw
m
d
_
open_asy
n
c2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Ki
b
bey
Re
n
amed pwm
d
_passwor
d
_fn to pwmd_pas
s
ph
r
ase_cb_t
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Updated the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
bey
Added
PWMD_OPT
I
O
N_I
P
_VERSION
wh
i
ch should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
Ki
b
bey
F
i
x
ed --por
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few
m
i
nor
c
lea
n
ups
.
commit
|
commitdiff
|
tree
2009-03-29
Be
n
K
i
bbey
F
ixed zombie pinen
t
r
y
processes
.
commit
|
commitdiff
|
tree
2009-03-29
B
en K
i
bbey
Fixed pwmd_save_as
y
nc2
(
) when u
s
ed with an SSH c
h
annel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixe
d
the --get-h
o
stkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
x
ed some compi
l
e time wa
r
n
i
ngs
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few com
p
ile
t
i
me co
n
ditional
f
ixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
W
hen doing a pwmd_open
_
async2(), check t
h
e p
a
s
sphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kib
b
ey
Fixed checking for an SSH e
r
ror in write_
h
o
ok() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Trim any '\r\n' in
the command before sendi
n
g it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
F
ixed p
i
nentry retr
i
e
s
wh
e
n used with
p
wmd
_
open_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Check fo
r
get
o
pt
.
h
f
o
r systems
that h
a
v
e getopt_l
o
n
g()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben K
i
b
b
ey
Us
e
getopt_lo
n
g()
.
When not available
,
build t
h
e
included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Fixed a potent
i
al buffer overflow in do_
n
b_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
a
il if a
s
s
u
an_get_ac
t
iv
e
_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
Re
n
amed pwmd_tcp_connect(
)
and pwmd
_
tcp_co
n
nect
_
async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
K
ibbe
y
Don't
dup() the
ass
u
an
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
Fix for the pr
e
viou
s
commi
t
which didn't con
s
ider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed
pwmd_
o
pe
n
/save_asyn
c
2() when
t
he file is cache
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Fixed usin
g
a speci
f
ied passphrase whe
n
us
i
ng pwmd
_
o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Don
'
t close the
T
CP FD when
a
n async comman
d
co
m
p
l
etes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Fixe
d
a
pwmd_tcp_connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Added pw
m
d
_
g
et_fd2() to return the
FD used by
pwmd_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Removed p
w
md_terminate_pinentry()
.
There is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Removed pwm
d
_op
e
n_nb(), pwmd_save_nb(
)
, pwmd_open
_
nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the state after command completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben K
i
bbey
Fixed pwmd_get_h
o
stkey_async() t
o
r
eset
t
h
e
state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
S
et the pw
m
d_process() r
e
s
u
lt when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pw
m
d_
c
alloc() not pwmd_malloc()
i
n pwmd_new()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
Let pwmd_open_nb() u
s
e PWMD_
O
PTION_PIN
E
NTRY_T
I
MEO
U
T
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-
a
dd pwmd_pending
_
line()
.
The differ
e
nce is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
API changes
:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#includ
e
<stda
r
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Public/private sym
b
ol cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
b
bey
Use getpwuid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If use
r
name is NU
L
L when pas
s
ed to pwmd_tcp_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
WITH_LIBPTH conditio
n
al fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
bey
Added
p
wmd_s
t
rerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Fixed pwm->result without TCP sup
p
ort
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
b
bey
Better pwmc argume
n
t
c
h
ecking with t
c
p op
t
ion
s
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kib
b
e
y
All
o
w -
y
for pin
e
ntry ret
r
ies even wi
t
hout DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
--d
i
sable-tcp co
m
pi
l
e time fi
x
es and ot
h
er minor cl
e
anups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fix
e
d
a typo in p
w
mc
.
c pre
v
enting reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
L
et pwmd_process() work without a running command
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
i
b
be
y
Ma
k
e
s
ure
t
he result o
f
a p
w
md_
c
ommand
(
) is not NU
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Reve
r
t
"Le
t
p
wmd_
p
rocess() work wh
e
n no
t
insid
e
a com
m
an
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
en
K
ibbe
y
Fixed
a
segf
a
ult
when after a
rem
o
t
e
client ter
m
ina
t
es
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let
p
wm
d
_process() work w
h
en not in
s
i
d
e a
comm
a
nd
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fina
l
ized commi
t
6
5d085f
.
Should be
b
ack to no
r
mal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
C
o
mp
i
le-
t
im
e
fix
f
o
r FreeB
S
D when tr
y
ing
to link wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Compile-ti
m
e fix f
o
r
--disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kibb
e
y
Updated pwmc
.
c
t
o use pwmd_
s
etopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Added PWM
D
_OP
T
ION_PINE
N
T
RY_TIMEOUT
.
Only use
f
ul when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
Let pwmd_
s
e
topt() set
p
wmd op
t
io
n
s dir
e
ctly whe
n
PW
M
D_OP
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
A
d
d
ed
pwmc com
m
an
d
line opti
o
ns -C and
-
M to set LC
_
CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Add
e
d PWMD_OPTION_PINENTRY_LC_C
T
YPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I
n
d
o_pwmd
_
save(), ch
e
ck
f
or the user
s
u
pplied
p
assword
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
b
e
y
Rese
t
pw
m
->pid in pwmd_terminate_pinent
r
y
()
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Make sure pwmd_command_ap() has a ha
n
dle and
command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Compile time fix
f
o
r
-DMEM_DEBU
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Don't try to xfre
e
the password ret
u
rn
e
d by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
b
b
ey
Upda
t
ed the
c
opyright
h
eader
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
A
dded warn_unused_res
u
lt a
t
tribute to pwmd_com
m
a
nd_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
F
i
xed
m
em
.
c
to
u
se a mutex when accessing the memor
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added pwmd_comma
n
d
_ap()
.
Th
i
s ma
k
es pwm
d
_com
m
an
d
()
.
.
.
commit
|
commitdiff
|
tree
next