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
B
e
n
K
ibbey
F
ixed a segfaul
t
with the SAVE command when
u
sed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
M
ore thr
e
ad can
c
el
a
t
io
n
tests an
d
ha
n
dlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibb
e
y
Create
a
m
utex f
o
r the c
u
stom memory
functions
.
F
i
x
es
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
C
reate a new thread when reload
i
n
g
the r
c
f
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
ore threa
d
cancell
a
tion tests (more to com
e
)
and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
A couple more thread canc
e
llati
o
n tests and c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
If the c
l
ie
n
t
thread t
e
rmina
t
e
s
while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Se
t
u
p
a cleanup
han
d
l
e
r in i
t
erate
_
c
ryp
t
o_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Wh
e
n encrypting/decrypting, don't do the whol
e
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
In cleanu
p
_cb(), don't free cn->nam
e
until
e
v
e
r
ything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better
mutex lockin
g
and u
n
locking mac
r
os
.
Us
e
ful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
pdate
the mtime in do_xml_
e
ncrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
crypto-
>
inbuf i
s
s
et to th
e
data to
e
nc
r
y
pt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use
gcry_
.
.
.
m
e
m
ory fu
n
ctions in
do_compr
e
ss() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en
K
ibb
e
y
R
e
turn GPG_
E
RR_ENOA
N
O if th
e
data
fi
l
e is not a r
e
gular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple
m
inor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
potent
i
ally not freein
g
a
ll cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed statu
s
messa
g
e
s
send with s
e
nd_status_
a
l
l() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed tls_init(
)
not initializing the SHA-1 ha
s
h size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initia
l
iz
e
libgcrypt properly
by calling gcr
y
_ch
e
c
k
_versi
o
n()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbey
M
ov
e
in
i
tT
l
sParams() and deini
t
TlsParams() to
t
ls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Added option "tcp_use_crl"
.
Wh
e
n
TRUE, ~/
.
pwmd/
c
rl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
K
ibbey
Set the signa
l
m
ask before
o
th
e
r th
r
eads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try and link wi
t
h -
l
rt o
n
system
s
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fixed a c
o
mp
i
le time error on Free
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
ixed a co
m
pile time warn
i
n
g on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
11
c
o
m
m
an
d
li
n
e option -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
i
b
bey
U
se PTH
R
E
A
D
_
MUTEX_RECURSIVE
n
ot PTHREAD_MUTEX_RECURSIVE_N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed some comp
l
e
t
ime conditiona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Res
t
ore client
-
>has_lock in cle
a
n
up_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
U
s
e
a
structure in file_cache_t to hold the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
The client
must
e
xplicitly set OPTION P
I
NE
N
TRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Don't wri
t
e
a
log message when the cache mutex
i
s locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Ki
b
b
e
y
R
e
a
lly f
i
x commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
R
e
vert "Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Fix for
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Restart the keepalive_thread() afte
r
receiving
S
I
G
H
UP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
bbey
S
top accepting TCP
conn
e
c
ti
o
ns w
h
en shutting down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n
K
ibbey
If MEM_D
E
BU
G
is defi
n
ed
then set the
x
.
.
.
d
e
/allo
c
ators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Us
e
an
SHA-1
f
i
ngerprint rat
h
e
r
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
Fixed a segfault when TLS fa
i
led negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbey
C
r
eate
the client_msg_threa
d
an
d
cli
e
nt_msg_sender_
t
h
r
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
Only a
p
pe
n
d unique status
message
s
to
the message q
u
eu
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If
t
he
curr
e
nt thread is
c
a
ll
i
ng send_status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Ma
k
e
s
ur
e
the msg mutex is
unlocke
d
befor
e
trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a
m
e
s
sage que
u
e that wo
n
't block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported to pthre
a
d
.
cache_
m
utex and
c
n_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben K
i
bbey
S
I
G
H
UP w
i
l
l stop o
r
star
t
t
h
e
t
cp_accept_
t
hread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
Upd
a
te
d
the c
o
pyri
g
h
t
h
eade
r
s f
o
r
2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixe
d
a pinentry
s
eg
f
ault (hopefully
)
d
u
ring cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en Kibbey
A
llow oth
e
r characters in the filename
when using GETCO
N
FIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Move
d
COMMA
N
DS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
be
y
Ret
u
rn GP
G
_ERR_NO_VALU
E
in
s
tead
of a syntax er
r
or from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
K
i
b
bey
Re-a
d
d
.
flags to the new v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Fix
e
d a memory l
e
a
k
in pine
n
t
ry
_
i
t
e
r
ate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up with
o
u
t an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Warn about
e
rror
s
opening a k
e
y_file while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Fixed clear_
c
ache() clearin
g
all cache
e
ntr
i
e
s
.
commit
|
commitdiff
|
tree
2009-01-08
Be
n
Kibbey
Fixed a memory leak create_d
t
d
()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed asking
f
or a passphrase
after opening
a
ne
w
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
en Kibbey
Fixed closin
g
the
wrong FD
i
n c
l
eanup_crypt
o
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbe
y
F
i
xe
d
SAVE
with a passphr
a
se specified in the
command
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n
K
i
b
bey
Clo
s
e th
e
c
iph
e
r
hand
l
e
in crypto_cl
e
anup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fi
x
ed
s
ome comp
i
l
e
-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibbey
The "disable_list_and_dump" configuration
p
arameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bb
e
y
Whe
n
importing, conv
e
rting and push
i
ng files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibbey
S
o
me
code r
e
arrangeme
n
t
s
.
Getting ready
t
o fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
B
en K
i
bb
e
y
S
h
ow the
o
utput
f
ilename and n
o
t
s
td
o
ut
in the
i
mport
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
F
ixed a memory leak in do
_
ca
c
h
e
_pu
s
h()
.
The
d
ocument
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
B
en Kibbe
y
Handle STATUS_COMPRESS/DECOMPRESS/ENC
R
YPT/DECRYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Be
n
Kib
b
ey
F
i
x
ed
t
h
e pi
n
entr
y
dialog showing
the wrong
f
ilename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n K
i
bb
e
y
Fixed freeing "tcp_wait" in tcp_
a
ccept_th
r
e
ad() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n
Kibbey
Added con
f
i
guration parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Ch
e
c
k
the return
v
a
l
ue
of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kibbey
Upd
a
ted the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibb
e
y
Use send
_
status() from CACHE_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set
the
t
h
read name for other th
r
ea
d
s to
o
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Remove
d
the
u
n
used
f
ile header
v
ariab
l
es
.
They can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
B
e
n
Kibbe
y
Al
l
ow "
G
ETCONFIG key" and "G
E
TCONFIG ke
y
_file
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Ad
d
ed command VERSION to
r
eturn the v
e
rsion string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Set the
c
lient FD to n
o
n
-blocking in th
e
BY
E
n
ot
i
fier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Kibbey
When
"key
_
file"
i
s specif
i
ed in
t
he co
n
figura
t
ion and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbe
y
R
eturn a gbo
o
lean
f
rom
validate_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a temporary variab
l
e
i
n
reload_rcfil
e
(
) in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
en K
i
bbey
WIT
H
_GNUTL
S
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
R
evert "Set the c
l
ient socket file descri
p
tor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
F
i
x for commit 8f85846
.
Show the
a
ctual error description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbe
y
U
s
e _SC_PA
G
ESIZE as th
e
s
ize argument to mloc
k
()
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n K
i
bbey
Reve
r
t "Fixed a leak i
n
cache_fre
e
()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Ki
b
b
e
y
Fixe
d
a leak in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
Kibbey
Redid the file cache to use
a
G
SList (singu
l
ar linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n Ki
b
bey
M
oved
r
ead
_
ho
o
k() and wri
t
e_hook() to
tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Use log_wri
t
e
() instead
of warn[x] and f
p
rintf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben
Kibbey
L
e
t the
"key_file" configuration
pa
r
ameter work wit
h
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
e
vert
"Fixed OP
E
N and SAVE to use t
h
e "key_file" i
f
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n
K
ibbey
Revert "Adde
d
OPT
I
ON KEYFILE
.
S
etting to 0 will disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
Added OPTION KEY
F
ILE
.
Set
t
i
ng to
0 will dis
a
b
le trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
Fixe
d
OPEN
and SAVE
to use
the
"key_f
i
le" if spe
c
ified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Ki
b
bey
Let
-C use a keyfile wi
t
h -k
.
commit
|
commitdiff
|
tree
next