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 pwmd_get_fds() when doing an ASYNC_CMD_OPEN2 when the file was
2009-04-08
Ben Kibbey
Fixe
d
p
w
md_get_fds()
w
h
en doi
n
g an AS
Y
NC_
C
M
D
_OPEN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Set the file descriptor to no
n
-bloc
k
i
ng in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en Kibbey
Link with -lrt on Lin
u
x
x86_64
boxes
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Added GPG_ERROR_CFLAGS
t
o the pwmc Ma
k
efil
e
depe
n
d
e
ncies
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Zero leng
t
h is a succe
s
s from read_
h
ook() an
d
w
rite_hook()
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Fi
x
ed read_hook()
and write_hook() over an SSH channel
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Kibbey
Comm
i
t 1b59e7d conta
i
ned
a
typo
that d
i
dn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n
Kibb
e
y
Fixed pwmd_
c
ommand_ap() corrupting the argument list
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
Kibbey
Fixed option --nam
e
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbe
y
The 'changelog' ta
r
get
n
ow on
l
y g
e
nera
t
e
s
chang
e
s fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibb
e
y
M
inor docum
e
ntation cle
a
nups
.
commit
|
commitdiff
|
tree
2009-04-05
Be
n
Kibbey
Documented SSH in the header
.
Also fix
e
d fo
r
matting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed some comp
i
le-tim
e
con
d
i
t
i
o
nals
.
A
ga
i
n
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Ad
d
e
d
a
note abo
u
t cal
l
ing pwmd_ge
t
_fds() aft
e
r eac
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
b
b
ey
Removed pwmd_get_fd() a
n
d pwmd_get_a
s
ync2_
f
d()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
bbey
Fixed
P
WMD
_
OP
T
ION
_
P
INENTRY_TIM
E
O
UT when used wi
t
h
pwmd_open2
(
)
.
commit
|
commitdiff
|
tree
2009-04-04
Be
n
Kibbey
U
p
dat
e
d t
h
e p
w
m
c
documentation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a valid hand
l
e and assuan conte
x
t is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Return ASYNC_DONE
from pwmd_p
r
ocess() when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Deter
m
ine th
e
pwmd server ver
s
ion in _
s
oc
k
et_con
n
e
c
t_final
i
z
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
bbey
Documen
t
ed pin
e
n
try
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Fixed local p
i
nentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
be
y
Renamed
p
wmd_get_fd2() to pwmd_ge
t
_async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Removed P
W
MD_OPTION_PINENTRY
.
No longer ne
e
ded sin
c
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Don't d
o
"
GET
C
ONFIG
d
ata_directory" on an
SSH c
o
nn
e
c
t
ion
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
Added pw
m
d_open2() a
n
d pwmd_save2() whi
c
h will us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
More documentations updates
a
nd fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
pwmd_get_hos
t
key() now
req
u
ires a pwm_t handle
.
T
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
WIT
H
_PI
N
E
N
T
R
Y
c
o
ndit
i
onal f
i
xe
s
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Loop over do
_
save_ge
t
pin() when GPG_
E
RR
_
INV_PA
S
SPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kib
b
ey
Fixe
d
pwm
d
_save() when PWMD_OPTION_PINENTRY i
s
set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bbey
T
h
e
o
rder of
getting the password is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibb
e
y
Created a doc/Ma
k
e
file "doxygen" target
t
o generate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set
a d
e
fault timeout o
f
30
s
econds for pwmd_open_asyn
c
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n Kibbey
R
e
named pwmd_password_fn to pwmd_passphrase_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben
Kibbey
U
p
da
t
ed the d
o
cume
n
t
atio
n
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n Kibbey
Ad
d
ed PWMD_
O
PTION_IP_VE
R
SION which
should b
e
se
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
xed
--
p
ort
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
i
xed z
o
mb
i
e pine
n
try pr
o
cess
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed pwmd_save_a
s
ync2() wh
e
n use
d
with an SS
H
channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixe
d
the -
-
get-hostkey option
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed some com
p
i
l
e time warni
n
gs
.
commit
|
commitdiff
|
tree
2009-03-29
B
en
K
ibbey
A few compile
time c
o
ndition
a
l fixes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
When doing a
p
w
m
d
_
open_async2(), che
c
k
the passphras
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
i
xed che
c
ki
n
g for a
n
SSH err
o
r in write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim any '\r
\
n' i
n
the co
m
ma
n
d before se
n
ding
i
t to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixe
d
pinentry re
t
ries when used with
p
wmd_ope
n
_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check f
o
r getopt
.
h for
systems
t
hat have geto
p
t
_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
U
se g
e
topt_l
o
ng()
.
When
n
ot available,
b
uild the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a potential buff
e
r
overflow in do_nb_com
m
and()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fail if assuan_get_a
c
tive_fds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbe
y
Re
n
a
m
e
d
pwmd
_
tcp_connect
(
) and pwm
d
_tcp_connect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben
Kibbey
D
on'
t
dup() the a
s
suan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fix
for th
e
previou
s
commit which
didn'
t
consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
xe
d
pwm
d
_ope
n
/save
_
async2() when
th
e
file
i
s cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
F
i
xed using a sp
e
cified pass
p
hrase when
u
sing pwmd
_
o
p
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Don't close the
T
CP FD when an async command
c
ompl
e
tes
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
F
i
xed a pw
m
d_t
c
p_c
o
nne
c
t
_
a
s
y
nc() segfau
l
t
.
commit
|
commitdiff
|
tree
2009-03-26
B
en Kibbey
Added
pwmd_
g
e
t
_fd2() to return t
h
e F
D
u
s
ed by pwmd_
o
p
e
n_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
K
ibbey
Removed pwmd_terminate_pinentry()
.
Th
e
re is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kib
b
ey
Remo
v
ed
p
w
md
_
open_nb(),
p
wmd_save_n
b
(),
p
wmd_
o
p
en_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Reset the s
t
a
t
e after command compl
e
tion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kib
b
ey
F
i
xed pwm
d
_get
_
hostkey_
a
sy
n
c()
t
o reset the state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
S
e
t
the pwmd_pro
c
ess() r
e
sult
w
h
e
n finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbe
y
pwm
d
_
calloc() not
p
wmd_malloc
(
) in pwmd_ne
w
()
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n Kibbey
Let
p
wmd_open_nb(
)
use PWMD_OPTION_PINE
N
TRY_TIM
E
OUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
R
e
-a
d
d pwmd_pe
n
ding_
l
ine(
)
.
T
he difference is that
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
B
en Kibb
e
y
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
#include <
s
tdar
g
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Pu
b
lic/private symbol
c
leanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
ey
Use ttyname_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
U
s
e getpwu
i
d_
r
()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibb
e
y
I
f
username is NULL
when pa
s
se
d
to pwmd_tcp
_
connect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
W
ITH_LIBPTH conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Added
pwmd_strer
r
or_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kib
b
e
y
Fixed pwm
-
>
r
esult wit
h
ou
t
TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
Kibbey
B
e
tter pwmc ar
g
ument c
h
ecking with t
c
p options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Allow -y for pinentry retries even without
DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
--disable-tcp compile time f
i
xes an
d
other minor
cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
F
ixed a
typo in pwmc
.
c preventing reading STDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Let pwmd
_
process(
)
work wi
t
hout
a
r
u
nnin
g
c
o
mma
n
d
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
B
en
K
i
b
bey
Make sure
t
he
r
esult of a
pw
m
d_c
o
mmand()
is not
NU
L
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Revert
"
L
et pwmd_process(
)
work when not inside a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kibbey
F
i
xed a seg
f
ault when aft
e
r a
remote clien
t
terminates
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Let pwmd_
p
ro
c
es
s
() work
w
hen n
o
t inside a co
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibb
e
y
F
inaliz
e
d commit 65d085
f
.
Should be
b
ack to normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibb
e
y
Compile-time fix
f
or Fr
e
eB
S
D wh
e
n trying to link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Co
m
p
ile-time fix fo
r
--disable-nls
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kib
b
ey
Updated pwmc
.
c
to
u
se pwmd_setopt(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
A
dded PWMD_OPTION_PINENT
R
Y_TIME
O
U
T
.
Only
u
s
e
ful when
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_setopt() s
e
t pwmd opt
i
o
n
s direc
t
l
y
when PWMD_O
P
T
ION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bbey
A
d
ded pwmc command
line opt
i
ons -C and -M to
set LC_CTYPE
a
nd
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
Added
PWMD_OPTION
_
PI
N
ENTRY_
L
C_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
In do
_
pwmd_save(), check for
the user
supplied passw
o
rd
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Reset pwm->pid in pw
m
d
_
termin
a
te_pinentry()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
ibbey
Make
sure pwm
d
_command_ap() has a
handle and
command
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
Kib
b
ey
Compile time fix for
-
DMEM_DEB
U
G
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibb
e
y
Don't
try to
xfree th
e
pas
s
word returned by
a user
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben K
i
bbe
y
Updated the copyright
head
e
r
.
commit
|
commitdiff
|
tree
next