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
Better mutex locking and unlocking macros. Useful for debugging.
2009-01-25
Ben Kibb
e
y
B
e
tter mutex lockin
g
a
n
d unlocking ma
c
ros
.
Use
f
u
l
fo
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
Update th
e
mtime in do_xml_
e
ncry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbuf is set
to th
e
dat
a
t
o
e
n
crypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
se gcry_
.
.
.
memory functions
in do_compress()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
R
eturn
G
PG_
E
RR_ENOA
N
O if th
e
da
t
a file is no
t
a re
g
ul
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple minor
c
ache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed potenti
a
lly not freei
n
g
a
ll cache ent
r
i
es in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fi
x
ed status messag
e
s
se
n
d wit
h
s
end_status_all()
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
tls
_
init() no
t
initializing the
S
HA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
In
i
tia
l
ize lib
g
crypt prop
e
rly
b
y call
i
ng gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Move ini
t
TlsParams() an
d
dei
n
itTlsParams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Added option "t
c
p_use_crl"
.
W
h
en TRU
E
, ~/
.
pw
m
d/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
S
et the signal m
a
sk
befor
e
o
th
e
r
threads are
c
r
ea
t
ed
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
D
o
n't try and link wi
t
h -lr
t
on systems other th
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a com
p
ile t
i
me er
r
or
o
n
Fr
e
e
BSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed a compile time w
a
r
n
ing on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
R
emove old < v1
.
1
1
comman
d
line
o
pti
o
n
-
b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX_RECU
R
SIVE
n
o
t PTH
R
E
A
D_MUTEX_RECURSI
V
E
_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Fixed
s
o
me
c
omple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
ey
Restore
client->has_loc
k
in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a s
t
ructure in file_c
a
che_t to hold the
f
ile mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
The cl
i
ent must
explicitl
y
set OPTION PINENTRY i
f
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibbey
Do
n
't write a log m
e
ssage w
h
en the cac
h
e
mutex
i
s
l
ocked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
v
ert "Fix for c
o
mmit a7
e
15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
F
ix
for
c
ommi
t
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the keepaliv
e
_thread()
aft
e
r receiving SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop ac
c
epting TCP connections when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If M
E
M_DEBUG is defin
e
d then
set the x
.
.
.
de/al
l
ocato
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an S
H
A
-
1
f
ingerp
r
i
n
t r
a
ther than M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kib
b
ey
Fixed
a
se
g
fault
w
hen
T
L
S f
a
ile
d
negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
C
reate the client_msg_thread
and
client_msg_sender_threa
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Only append u
n
iqu
e
status m
e
ssages to the m
e
s
sage queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the current
t
hread
is cal
l
in
g
se
n
d
_st
a
tus_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibb
e
y
Make sur
e
the msg mu
t
ex is unlocked b
e
fore trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create
a
message queue tha
t
wo
n
'
t
b
l
ock send_stat
u
s_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
Ported to pthread
.
cache_m
u
tex and c
n
_
mu
t
ex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibb
e
y
SIGHUP will stop or st
a
r
t
the tcp_accept_t
h
read()
dep
e
nding
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Ki
b
bey
Updated the copyright h
e
a
d
ers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Fixed a pinentry segfault (h
o
p
e
fully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
All
o
w othe
r
c
haracters in t
h
e
f
ilename
when us
i
n
g G
E
TCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
M
o
ved COMMANDS to
d
o
c
/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Return GPG_ERR_NO_VALUE instead of a sy
n
tax error
f
rom
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
R
e-add
.
fl
a
gs
t
o
the new v2 file h
e
ad
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
a
memory le
a
k in pinentry_iterat
e
()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed startin
g
up wit
h
ou
t
an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about
e
rro
r
s open
i
ng
a
key_file while pars
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
F
ixed
c
le
a
r_cache() clearing all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kib
b
ey
Fix
e
d a memo
r
y leak crea
t
e_dt
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibb
e
y
F
ixe
d
as
k
i
n
g for
a
passphrase after opening
a
n
ew
fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d closing the wro
n
g FD in cle
a
n
up_c
r
ypto
(
)
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
ed SAVE with a passphrase
s
p
ecified
in
t
he command
.
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
C
lose the ci
p
her han
d
le in
c
r
ypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
F
ixed som
e
compile-time
w
arnings
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
Th
e
"disable_
l
ist_an
d
_dump"
c
on
f
igura
t
ion parame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
i
bbey
When impor
t
ing,
co
n
verting and pu
s
h
i
n
g f
i
les int
o
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
K
ibbey
Some c
o
de rearrang
e
m
e
n
ts
.
Getting ready to fix freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
e
n Kibbey
Show t
h
e output fi
l
ename
and not stdout in the imp
o
rt
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a
memory le
a
k in do_cac
h
e_push()
.
The
d
o
c
ument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
Kib
b
ey
Handle STATUS_COMPRESS/DE
C
O
M
PRES
S
/ENCRYPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
F
i
xed
t
he pin
e
ntr
y
dia
l
og showing the
w
r
ong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en
Kibbey
Fixed freeing "tcp_
w
ait" i
n
tcp
_
accept_
t
hread
(
) before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Ki
b
bey
Added configu
r
a
tion p
a
r
a
mete
r
"cipher_suit
e
"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
b
bey
Che
c
k the return value
o
f pth_
s
pa
w
n()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Updated the
docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
ibbey
Use send
_
status
(
) from C
A
CHE
_
LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the thre
a
d name
for other
t
hreads to
o
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n Kibbey
Removed the unus
e
d file header variables
.
They
can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibb
e
y
A
llow "GETCONFIG key"
a
nd "GETCONF
I
G key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Adde
d
comm
a
nd VERSION
to
return the vers
i
on string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
B
en Kibbey
Set
t
he
c
l
ient FD to
non-b
l
ocking in the BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n
K
ib
b
ey
When "key_fil
e
" is s
p
eci
f
ie
d
in the con
f
i
guration a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
R
e
turn a
g
boolea
n
fro
m
v
alidate_acce
s
s
()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
M
e
r
g
e branch '
v
2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kib
b
ey
Use a tempora
r
y
v
ar
i
a
ble in
r
e
load
_
r
c
fi
l
e() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
bey
Revert "Set the client socket file descr
i
ptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
en
Kibbey
Fix fo
r
co
m
mi
t
8
f
85846
.
Show the actu
a
l error des
c
ription
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _SC_PAGESIZE as the si
z
e argument to mloc
k
()
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Ki
b
bey
Re
v
ert "Fix
e
d a lea
k
in
cache_f
r
ee()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Fixed a leak in
cac
h
e_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbey
Redid the file c
a
che to use a GSList (
s
ingula
r
link
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Moved read_hook() and write_hook() to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n Kibbey
Use
l
o
g
_wr
i
te() instead of warn[x] and fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
L
e
t the
"k
e
y_file
"
configuration parameter w
o
rk
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Ki
b
bey
R
e
v
ert "Fix
e
d OPEN and
S
A
V
E t
o
use t
h
e
"key_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
e
vert
"Added OPT
I
ON KEYFILE
.
Setting to 0 wil
l
disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Be
n
Kibbey
Ad
d
e
d
O
P
TION KEY
F
I
L
E
.
Setting to 0 w
i
ll disable trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n
K
i
b
bey
F
ixed OPEN and SAV
E
to
use the "key_file" if sp
e
cified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
L
et -C use a keyfile with
-
k
.
commit
|
commitdiff
|
tree
2008-11-15
B
e
n Ki
b
b
ey
Fixed
a couple o
f
minor
memory
leaks
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibb
e
y
Added
c
onfi
g
ura
t
ion option
"
tc
p
_
wait"
.
Sets the time
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixed S
O
_
R
EUSEADDR
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Added
comma
n
d l
i
n
e option -k to obtain the key
f
r
o
m
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Ki
b
b
ey
Don't
c
h
a
nge
"
disable
_
list_and_dum
p
" after reloading
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
Kibbey
Change the versi
o
n string to
2
.
0-d
e
v
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Ve
r
sion 1
.
15
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
A
d
ded comman
d
l
i
n
e o
p
tion -k
to specify a keyfile
w
hen
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Change the
visible "pa
s
sw
o
rd" strings to "
p
assphr
a
se
.
.
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbe
y
Fi
x
ed a
s
egfault when n
e
w_connectio
n
() failed
.
assuan
_
d
einit
.
.
.
commit
|
commitdiff
|
tree
next