repo.or.cz
/
pwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Fixed a segfault with the SAVE command when used with pinentry. Broke in
2009-01-29
Ben
Kibbe
y
Fix
e
d a segfault with the
S
AVE command when use
d
w
ith
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbe
y
Mor
e
thread ca
n
cel
a
tion te
s
ts and h
a
ndlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a
mutex f
o
r
t
he
c
u
stom memory
f
uncti
o
ns
.
F
i
x
es
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a
n
ew thread
when re
l
oading th
e
r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread
c
anc
e
llati
o
n tests (more t
o
c
ome) and
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
i
bbey
A couple m
o
re
thread cancellation tests and c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the client
thread termi
n
ate
s
whi
l
e a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Setup a clea
n
up
h
andle
r
i
n itera
t
e_cry
p
to_onc
e
() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
W
h
en encryp
t
ing/
d
ecrypting, don't do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bbey
In clean
u
p
_
cb(), don'
t
f
ree cn->name unti
l
everyt
h
in
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbe
y
B
e
tter mutex locki
n
g and unlocki
n
g macros
.
Useful
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update t
h
e mtime in do_xm
l
_
e
ncry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbe
y
crypto->inbuf is s
e
t to the
d
ata to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
U
s
e gc
r
y_
.
.
.
m
emory functions in do_compress
(
) a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kib
b
ey
Return GPG_ERR_ENO
A
N
O
if the
d
a
t
a
file is
n
ot a r
e
gular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A c
o
u
p
l
e
m
inor cac
h
e
.
c
cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
e
d
potentially n
o
t freeing all cache
en
t
rie
s
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed status messages
s
end
w
it
h
send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixed
t
ls
_
i
n
i
t
(
)
not
i
nitia
l
izing the SHA-1 ha
s
h
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
b
ey
Ini
t
ial
i
ze libgc
r
y
pt properly
by call
i
n
g gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsParams(
)
and deinit
T
lsPa
r
ams
(
) to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Added
op
t
ion "tcp
_
u
se_crl"
.
When TRUE,
~/
.
pwmd/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the signal
m
a
sk before other t
h
r
eads are
c
rea
t
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't
try an
d
link with -lrt on systems other
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
e
y
Fixed a compi
l
e
t
im
e
error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile tim
e
w
arning on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Rem
o
ve old < v
1
.
1
1 command li
n
e opti
o
n
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
U
se
PTHREAD_MU
T
EX_RECURSIVE not PTH
R
EAD_MU
T
EX_RECU
R
S
I
V
E
_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibb
e
y
Fixed some
compl
e
t
i
me conditi
o
nals
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
R
es
t
ore client->has_lock in clean
u
p_cl
i
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Use a structure in file_cache_
t
to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client mus
t
exp
l
icitly
s
et
O
PT
I
ON
PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't
write a log me
s
sa
g
e when the cache mutex
i
s
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit
a
7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Rev
e
r
t "Fix for co
m
mi
t
a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
F
i
x for co
m
mit a7e
1
5f
9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Rest
a
rt th
e
keepalive_t
h
read() aft
e
r receiving
S
I
GHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
Stop accepting TC
P
connections when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
If MEM_D
E
B
U
G i
s
define
d
then set the
x
.
.
.
de/alloca
t
ors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
U
s
e an SHA-1 fing
e
rprint rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a segfaul
t
when TLS fa
i
l
e
d negot
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ib
b
ey
Create the client_msg_thre
a
d and client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
Only app
e
n
d
u
n
ique status me
s
sages to the mes
s
age qu
e
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kib
b
ey
If the
c
u
rr
e
nt thread is calling
s
end_st
a
tus_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Mak
e
sure
t
he m
s
g
m
utex is unl
o
cked b
e
fore
t
rying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Ki
b
bey
Create a message queu
e
th
a
t wo
n
'
t
block se
n
d_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Porte
d
t
o pth
r
e
ad
.
cach
e
_mu
t
ex and cn_mu
t
e
x
ar
e
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
S
IGH
U
P
w
i
ll s
t
o
p
o
r start the tcp_acce
p
t_thread() dependi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Upda
t
e
d th
e
c
opyright head
e
r
s
for
2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed a p
i
nentr
y
s
e
gf
a
ult (h
o
pefully)
during
cleanu
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow ot
h
er
characters
in
t
h
e fi
l
ename when using GETCON
F
I
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
M
o
ved COM
M
A
N
DS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Return
G
PG_
E
RR_NO_
V
ALUE instead of a synt
a
x error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags
to the new v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Fixed
a
memor
y
l
e
ak in pin
e
ntry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixe
d
starting up w
i
th
o
ut an r
c
fi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
War
n
abou
t
error
s
opening a key_file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixed clear_c
a
che() clearing
a
ll c
a
che entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kib
b
e
y
Fix
e
d
a memory leak create_
d
t
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed ask
i
ng for a pas
s
phrase
a
fter opening a new fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
en Kibbe
y
Fixed closing the wrong
F
D in cleanup_crypto(
)
an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbe
y
Fix
e
d SAVE with a pas
s
phrase sp
e
c
ified in
t
he c
o
mm
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the ciphe
r
handle
in
c
rypto_cleanup
(
);
commit
|
commitdiff
|
tree
2009-01-05
Ben
Kibbey
Fixed some compile-
t
ime warn
i
ngs
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bbey
The "disable_lis
t
_and_dump" c
o
nfigurat
i
o
n
par
a
m
eter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kib
b
e
y
W
h
e
n
i
m
porting, converting
and
pushing files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en K
i
bb
e
y
Some
code rearrangeme
n
t
s
.
G
e
t
t
ing read
y
to fix freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
K
ibbe
y
Show
t
he output
f
ile
n
a
m
e and not stdo
u
t in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a
m
emory l
e
ak in
d
o_cac
h
e_push()
.
The d
o
cument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Hand
l
e
STATUS
_
COMP
R
ESS/DEC
O
MPRESS/E
N
C
R
YPT/DE
C
RYPT
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibb
e
y
Fixe
d
the pinentry dialo
g
sh
o
w
i
ng the w
r
ong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Fixed fr
e
ein
g
"t
c
p_wait"
i
n
t
cp
_
accept_thre
a
d(
)
before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Ki
b
bey
Ad
d
ed configuration par
a
me
t
e
r
"cipher_s
u
ite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbe
y
Ch
e
ck
t
he return value of
p
th
_
spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
en Kib
b
ey
Updat
e
d
t
he do
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kibbey
U
s
e
send_s
t
atus() from
CACHE
_
LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
S
et t
h
e thread n
a
me for other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben K
i
bbey
Removed the unused file h
e
ader variables
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
Kibbey
All
o
w
"
GETCONFIG key" and "G
E
TC
O
N
F
IG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added
c
omma
n
d V
E
RSION to retur
n
the versio
n
s
t
r
ing
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibbey
Set the
cli
e
nt FD to n
o
n-b
l
ocking i
n
the BYE
no
t
ifi
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Kibbey
When "k
e
y_file" is specified in the
configuration
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Ki
b
bey
Return
a
gboolean fro
m
val
i
d
a
te_acc
e
ss()
.
commit
|
commitdiff
|
tree
2008-11-22
B
en
Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben
Ki
b
bey
Use a
t
emporary variable i
n
rel
o
ad_r
c
file()
i
n case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
K
ibbey
W
I
TH_GNUTLS fixe
s
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
R
evert "
S
et the client s
o
cket fi
l
e descripto
r
to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
Fix f
o
r comm
i
t 8f85846
.
S
how the ac
t
ual error
d
escription
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _SC_PAGESIZE as the size argument to mlock(
)
.
commit
|
commitdiff
|
tree
2008-11-20
B
en Kibbey
R
evert
"Fixed a leak
in cache
_
f
r
ee()
.
"
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
Kib
b
ey
Fix
e
d a leak in cache_
f
ree()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kib
b
ey
R
e
did the file cache to use a GSList (singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
M
ove
d
read_hook()
a
nd write_hook()
to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
K
i
b
b
ey
Use log_wr
i
te() i
n
stea
d
of war
n
[
x
]
a
nd fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben
K
ibbey
Let the "key_file" configu
r
ation
p
arameter
w
ork with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
e
vert
"
Fixed OP
E
N and SA
V
E to use the "key_fi
l
e"
if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
b
e
y
R
e
vert "Added O
P
T
ION KEYFILE
.
Setting to 0 wi
l
l
d
i
sable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n Kibbe
y
Added OPTION KEYFILE
.
Set
t
ing to 0 will d
i
sable try
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Fixed OPEN a
n
d SAVE to use
the "key_file" if
specified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
Le
t
-C use
a
keyfile with
-
k
.
commit
|
commitdiff
|
tree
next