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
Fixed read_hook() and write_hook() over an SSH channel.
2009-04-07
Ben Kibbey
Fixe
d
read_hook()
a
nd write_h
o
ok() over an SSH chann
e
l
.
commit
|
commitdiff
|
tree
2009-04-07
Ben K
i
b
bey
Commit 1b59e7d
c
ontained
a typo
that did
n
't reall
y
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fix
e
d pwm
d
_com
m
a
n
d_
a
p() corrupting the argumen
t
list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kib
b
ey
Fixed opt
i
on
--
n
a
m
e
.
commit
|
commitdiff
|
tree
2009-04-05
B
en Kibb
e
y
The 'c
h
angel
o
g' target now only gener
a
te
s
changes
from
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Minor documentation cleanup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Ki
b
bey
Documented SSH in
the h
e
ader
.
Also
fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
bbey
Fixe
d
s
o
me compile-
t
im
e
c
o
nditionals
.
Aga
i
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
Added a note
a
bout
c
a
l
l
ing pwm
d
_get_fds()
a
f
t
er eac
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
R
e
moved pw
m
d_
g
et_fd() and
pwmd_get_async2
_
fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben
K
ibbey
F
i
xe
d
PWMD_OPTION_PIN
E
NTRY
_
TIMEOUT when use
d
with pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
B
en Kibbey
U
p
dated the pwmc
d
ocumentat
i
on
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
M
a
ke su
r
e a
v
a
l
id handle
a
n
d
a
s
suan
c
on
t
ext
i
s available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
Return ASYNC_DONE from p
w
md
_
process() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
Determine the pwmd server v
e
rsion i
n
_so
c
ket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
D
o
cumented pinent
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbe
y
Fixe
d
local pinentry string
s
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ib
b
ey
Rename
d
pwmd_get_fd2() to pwm
d
_get_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Removed
PWMD_O
P
TIO
N
_PINENTRY
.
No longer needed since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Do
n
't do
"
G
E
TCONFIG
data_directory" on an SSH connection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Added
p
wmd_
o
pen2() and
p
wmd_save2() which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
More
do
c
umentation
s
u
p
d
a
tes and
f
ixes
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
pwmd_get_hostk
e
y(
)
now
r
equires a
pwm_t handle
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
WITH_PINENTRY co
n
di
t
ional fixe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibb
e
y
Loo
p
over do
_
save_getpin()
when GPG_ERR_INV_P
A
SSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Fixed pwmd_save() w
h
en PWMD_OP
T
ION_PINE
N
TRY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
The order of getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
B
e
n
Kibbey
Create
d
a doc/Makefile "doxygen" targe
t
to gene
r
ate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Set a def
a
ult
t
imeout of 30 seconds fo
r
pwmd_o
p
en_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibb
e
y
R
e
n
a
m
ed pwmd_pass
w
ord_fn to pwmd_pa
s
sphras
e
_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Updated the documentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_O
P
TION_IP_VERSION w
h
ich
s
h
ould
b
e set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed --por
t
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A
few minor
c
lean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed zombie pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibbey
Fixed p
w
md_save_async2(
)
wh
e
n use
d
w
ith
an SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixe
d
the --get
-
hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
B
en Kibbey
Fixe
d
some compile tim
e
wa
r
nings
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
b
bey
A
few comp
i
le time con
d
itional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doin
g
a
pwmd_open_as
y
nc2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
e
y
F
ixed
c
h
ecking
f
or a
n
SSH error in wr
i
te_h
o
ok() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Trim
any '\r\n
'
i
n
t
h
e command before sending it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
F
i
x
e
d pi
n
en
t
r
y retrie
s
when used
w
i
t
h
p
w
md_ope
n
_as
y
nc()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for geto
p
t
.
h for systems
that
h
ave g
e
topt_
l
ong()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibb
e
y
Use getopt
_
long()
.
When not available, build the in
c
luded
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
ixed a
potential
b
uffer ove
r
fl
o
w in do_nb_comm
a
nd()
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n
Kibbey
F
ail if assuan_get_active
_
fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renam
e
d
pwm
d
_
t
c
p_connect() and
p
wmd_
t
cp_
c
onnec
t
_
async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n K
i
b
bey
Don't dup() the assuan
ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix for the
previous c
o
mmit which
d
idn'
t
c
o
nsider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Kibbey
Fi
x
ed pwm
d
_open
/
save_async2() when t
h
e fil
e
is cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Ki
b
bey
Fi
x
ed using a specified passphrase whe
n
u
s
ing pw
m
d
_o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
b
b
ey
D
on't close
the TCP FD when an
a
s
yn
c
c
o
m
ma
n
d completes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
i
bbey
Fixed
a
pwmd
_
tc
p
_connect_async() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kib
b
ey
Added pwmd_get_f
d
2() to re
t
u
r
n
t
he FD u
s
e
d
by p
w
md_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbe
y
Rem
o
ved pwmd_termi
n
ate_pinentry()
.
T
h
e
re
i
s n
o
need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
e
n Kibbey
Removed pwmd_open_nb()
,
pwmd
_
save
_
n
b
(), pwmd_open_nb_fi
n
aliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben
Kibbey
R
e
set the
s
tate
a
fter com
m
an
d
com
p
letion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibb
e
y
Fixed
pwmd_get_hostkey_async
(
) to reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Ki
b
bey
S
et the pwmd_process
(
)
re
s
u
l
t when fini
s
he
d
.
F
ixes
commit
|
commitdiff
|
tree
2009-03-25
Ben
K
ibb
e
y
pw
m
d_calloc() not p
w
md_malloc() in
p
wm
d
_ne
w
(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
Let pw
m
d_open_nb()
u
s
e PW
M
D
_
OPTION_PINENTRY_TI
M
EOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
Re-add pwmd_pending_li
n
e(
)
.
The
difference i
s
that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben K
i
bbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pub
l
ic/pri
v
ate s
y
mbol
c
l
eanup
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Use t
t
yn
a
me
_
r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
U
s
e getp
w
uid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
b
bey
If use
r
name is NULL when passed
t
o p
w
md_
t
cp_connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Ki
b
bey
WITH_LIBPTH conditional fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
A
dded
p
wmd_
s
trerro
r
_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed pwm->result without TCP
s
upport
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbe
y
Bette
r
pw
m
c
argument checking with tcp options
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Allow -y for pinentry retr
i
es e
v
en withou
t
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
B
en Kibbey
--di
s
able-tcp compile time
f
i
xes and
other
minor clea
n
ups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
e
y
Fixed a typo i
n
pwmc
.
c
p
reventing
r
e
adin
g
ST
D
IN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd_pro
c
ess() work with
o
ut a
r
unning comman
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kibbey
Make sure t
h
e result of a pwmd_comma
n
d()
is not
NU
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
i
bbey
Revert
"
L
e
t
pwmd
_
process()
w
ork wh
e
n not inside
a
c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n
Kib
b
ey
F
i
xed a segfault
when after a
remote client
t
e
rminates
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Let pwmd_process
(
) work when not inside a co
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Final
i
zed c
o
m
mit 65d085f
.
S
hould b
e
back to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kib
b
ey
Compile
-
t
i
me f
i
x
f
o
r Free
B
SD
w
he
n
trying
to link w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Compile-time fix for --disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Updated
pwmc
.
c
t
o use pwmd_setopt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added PWMD_OPTION_PINENTRY_
T
IMEOUT
.
Only
u
sef
u
l w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_setopt
(
)
set pwmd option
s
d
i
r
e
ctly
when PWMD_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbey
Adde
d
pwmc com
m
a
n
d
l
ine opti
o
ns
-
C and -M to se
t
LC_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbe
y
Added PWMD_OPTION_PINENTRY_LC_CTY
P
E a
n
d
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbe
y
In do_pwmd_sav
e
(), che
c
k for the user suppl
i
ed password
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Rese
t
pwm->pi
d
in pwmd_term
i
na
t
e_pinentry
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbe
y
M
ake su
r
e pwm
d
_comm
a
n
d
_ap() has a ha
n
d
le and command
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Co
m
p
ile time fix for -DMEM_
D
EBU
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbe
y
D
on
'
t try to xfree the password r
e
tur
n
ed by a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbe
y
Updated the copyright
h
eader
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
Added
w
ar
n
_unused_
r
e
sult attribute to pwmd_com
m
and_ap()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed mem
.
c to use a mute
x
when accessing th
e
memory
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Ad
d
ed pwmd
_
command_
a
p()
.
Thi
s
m
a
k
e
s p
w
m
d_command()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I
messed up the directory
t
ree makin
g
it ha
r
d to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed som
e
memory leaks
.
commit
|
commitdiff
|
tree
next