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 Kibbey
F
ixed
a
segfault w
i
th the SAVE comman
d
wh
e
n used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
K
ib
b
ey
More threa
d
cancelatio
n
tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a mute
x
f
o
r
the custom memory func
t
ions
.
Fixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
K
ibbe
y
Create a
n
ew thread
w
hen relo
a
di
n
g the r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
Kibbey
More thread
c
ancella
t
ion tests
(
more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
couple
m
ore
thread cancellation tests and c
l
eanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If
t
he client thread terminates
w
hi
l
e a
pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbe
y
Setup a cleanup handler in iterate_cryp
t
o_o
n
ce() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
W
h
en
e
n
c
ry
p
ting/decry
p
tin
g
, don't d
o
the w
h
ole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
In cleanup_cb(), don't free c
n
->name until everyt
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Bett
e
r mut
e
x
loc
k
in
g
and
u
nlocking macro
s
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
bey
Up
d
a
t
e
t
he mtime in do_xm
l
_e
n
crypt
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
crypto->inbu
f
is set
to
the d
a
ta to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Use
gcry_
.
.
.
memory functions in
do_co
m
pres
s
()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Re
t
u
rn GPG_ERR_
E
NOANO i
f
the dat
a
file is
n
ot a
r
egular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
A cou
p
l
e
mi
n
or cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixed
potentia
l
l
y
not freeing al
l
cache
e
n
trie
s
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Fixed stat
u
s mess
a
ges se
n
d
wi
t
h send_status_all() o
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbe
y
F
ix
e
d tl
s
_init() not initia
l
izing t
h
e
S
HA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
In
i
tialize
libgcrypt properly by calling gc
r
y
_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
M
o
ve initTlsParams() and
d
ei
n
itTlsParams() to
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Adde
d
option "tcp_u
s
e_crl"
.
When TR
U
E, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
ey
Set the signal mask bef
o
re othe
r
th
r
eads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
Don't try and
l
ink
with
-
lrt
on
systems othe
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed a c
o
mpile time er
r
or
on FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a c
o
m
pile time warni
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Re
m
ove old
<
v1
.
11
c
om
m
a
n
d
line
o
p
tio
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
U
se P
T
HREAD
_
MUTEX_RECURSIVE not P
T
HREAD_MUTEX_REC
U
RSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fix
e
d so
m
e comple t
i
me
conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Restore c
l
ient
-
>
h
as_lock
i
n
clean
u
p_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibb
e
y
Use
a
struct
u
re in fi
l
e_cache_t to hol
d
the file
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client mu
s
t exp
l
icitly set OPTION PINENT
R
Y
i
f
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibb
e
y
Don't write a l
o
g messa
g
e when the
c
ache mut
e
x is loc
k
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
i
bbey
Really fix commi
t
a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Reve
r
t "Fix f
o
r co
m
mit
a
7e
1
5
f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit
a7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the ke
e
palive_t
h
read(
)
a
f
te
r
receiving SIGH
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Stop acce
p
ti
n
g TCP
c
o
nnections when sh
u
t
t
ing down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
bbey
If M
E
M_DEBUG is def
i
ned then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kib
b
e
y
Use an SHA-
1
fingerprin
t
rather
t
han MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Fixed a
s
egfault when T
L
S failed negotiatio
n
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbe
y
Create the client
_
msg
_
thread
and client_
m
s
g_
s
ender_
t
h
re
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Ki
b
bey
O
n
ly append unique status mes
s
ages to
th
e
message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the curren
t
thread is call
i
ng send
_
status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Make
sure the m
s
g mutex
i
s unlocked b
e
fore trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n K
i
bbey
C
reate
a
m
essag
e
qu
e
ue that won't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kib
b
ey
Ported t
o
pthread
.
cache_mutex and cn_mutex are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n Kibbey
S
IGHUP will stop or start
the tc
p
_accept_th
r
e
a
d() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
U
p
dated the copyright header
s
for 2
0
09
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed
a p
i
nentry segfault (
h
opefully) d
u
ring cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
All
o
w
other characters in the filename when using GETCO
N
FIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Ki
b
b
e
y
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Return GPG
_
ERR_
N
O
_
VALUE instea
d
of a sy
n
t
a
x error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kib
b
ey
Re
-
add
.
flags
t
o the new
v
2
f
ile header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
i
b
bey
F
i
x
e
d
a memory
l
e
a
k in pinentr
y
_i
t
erate(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bb
e
y
Fixed starting up with
o
ut an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Warn about errors openi
n
g
a key
_
file w
h
ile parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
F
i
xed clear_cache()
c
learing all cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fi
x
ed a memo
r
y leak create_d
t
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n
Kibbey
Fixed
asking for
a passphra
s
e after opening
a
new
fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed clos
i
ng th
e
wrong FD in cl
e
a
nup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Ki
b
bey
Fixed SAVE with a p
a
ssphrase specif
i
ed in th
e
co
m
mand
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the cipher handl
e
i
n crypt
o
_clea
n
up();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kib
b
ey
Fixed so
m
e
compile-ti
m
e warning
s
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbe
y
The
"disable
_
li
s
t_and_dump" configurat
i
o
n
pa
r
am
e
ter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbey
When
i
mporting,
c
onve
r
ting and pushing files into
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n
Kibbey
Some code rear
r
angement
s
.
Gettin
g
ready to fix freein
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Sho
w
the output filename and not stdout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a memory leak
i
n do_cache_pu
s
h
(
)
.
T
he docume
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kibb
e
y
Hand
l
e ST
A
T
U
S
_COMPRESS/D
E
COMPRESS/ENCRYP
T
/DEC
R
YPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kib
b
ey
F
i
xed the pinentry dialog showing the
w
rong filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
F
ixed freeing
"tcp_wait" in tcp_accept_thread() bef
o
re
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
K
i
b
bey
Added configuration parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibb
e
y
Check
t
he re
t
urn val
u
e of pth
_
spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben K
i
bbe
y
U
p
dated t
h
e do
c
s
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send
_
status() from CACHE
_
L
O
CK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Se
t
the
t
hread name for
o
ther
t
hrea
d
s too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben K
i
bbey
Rem
o
ved the unused
fi
l
e header varia
b
les
.
They
c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allow "GETCONFIG key"
and "GETCON
F
IG
k
e
y_fi
l
e"
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n
Kibbey
Added com
m
and
V
ERSION to return the
version stri
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibb
e
y
S
et t
h
e client FD to non-blocking in the BYE
n
otif
i
er
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kib
b
ey
When
"key_file" is s
p
e
c
ified in the configuration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Ki
b
b
ey
Retur
n
a gboo
l
e
an from validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kib
b
ey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
B
e
n
Kibbey
Use a te
m
p
o
rary varia
b
le in reload_r
c
file()
in
case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
WITH
_
GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
Rev
e
rt "Set
t
he cli
e
nt soc
k
et file descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for commit 8f85
8
46
.
S
h
o
w
th
e
actual er
r
or descripti
o
n
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _SC_PAGESI
Z
E as the size argument to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
e
v
e
r
t
"Fixed a
l
eak in
c
ache_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 Kibbey
Redi
d
the
f
il
e
cach
e
t
o use a GSList (singu
l
ar link
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n Kibbey
Moved re
a
d_
h
ook() an
d
write_hook() to
tl
s
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Use log_w
r
ite
(
) instead of warn[
x
] an
d
fprintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben K
i
bbey
Let the "key_
f
ile" c
o
nfi
g
uration param
e
ter w
o
rk with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kibbey
Revert
"Fixed OPEN
a
nd SAV
E
t
o
u
se
the "key
_
f
i
l
e
" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Revert "Added OPTION K
E
Y
FILE
.
S
e
tting to
0
will disab
l
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
Added OPTION KEYFILE
.
Setting to 0 will disable t
r
y
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Fixed O
P
EN and S
A
VE to use the "key_file"
if specified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibb
e
y
Let -C use a
k
e
yfile with -
k
.
commit
|
commitdiff
|
tree
next