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
Minor documentation cleanups.
2009-04-05
Ben Kibb
e
y
Minor documentation cleanup
s
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Documented SSH
i
n the heade
r
.
Also fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben
Kibbey
Fixed
s
ome compi
l
e-time cond
i
tionals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Ki
b
bey
Added a note about calling pw
m
d
_
g
et_
f
ds() aft
e
r e
a
ch
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Remov
e
d pwmd
_
ge
t
_fd() and pwmd_get_as
y
nc2_fd()
.
T
h
es
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
en
K
ibbey
Fixed
P
WMD_O
P
TI
O
N
_PIN
E
NTRY_TIMEOUT
whe
n
u
sed wit
h
pwmd_open2()
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibb
e
y
Updated the
p
wmc documenta
t
ion
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
Make sure a valid handle a
n
d assuan conte
x
t is avai
l
ab
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben K
i
b
bey
Return
A
SYNC_DONE from pwm
d
_
p
rocess(
)
when not in a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
De
t
ermine
t
he pwmd server ver
s
ion in
_s
o
cket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
i
bbey
Documen
t
ed pinent
r
y
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n Kibbey
Fixed loca
l
p
i
nentry strings
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibb
e
y
Renamed pwmd_g
e
t_f
d
2
(
) to pwmd_g
e
t
_
async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben
K
ibbe
y
Removed PW
M
D_OPTION_P
I
N
ENTRY
.
No longer neede
d
s
i
nce
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
bey
Don'
t
do "GETCONFI
G
data
_
directory" o
n
an SSH
c
onnection
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Ad
d
ed pwmd
_
o
p
en2
(
) and
p
wmd_save2()
whi
c
h will us
e
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben K
i
bb
e
y
More documentati
o
ns updates and fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
pwmd_get_hostk
e
y() now requires a pwm_t handle
.
Thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbe
y
W
ITH
_
PINENTRY
condi
t
ional
f
ixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kibbey
Loop over do_save
_
ge
t
pin() whe
n
GPG_
E
RR_INV_
P
ASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Fixed pw
m
d_save(
)
when PW
M
D_OP
T
ION_PINEN
T
RY is set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
Kib
b
ey
The
order of g
e
tting the passw
o
rd is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Kibbey
Created a
doc/
M
akefile "do
x
ygen" t
a
rget to gen
e
rat
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kib
b
ey
Se
t
a defau
l
t t
i
meout
o
f 30 seconds fo
r
pwm
d
_ope
n
_a
s
ync2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbe
y
Renamed pwmd_
p
a
ssword
_
f
n
t
o
p
wmd_passphr
a
se_cb_t
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Updated
t
he
docu
m
e
n
tation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Added PWMD_OPTION_IP_VERSION which should
b
e
set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibb
e
y
Fixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben K
i
b
bey
A
f
e
w
minor cleanup
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fix
e
d
zo
m
bie pinentry
p
rocess
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed pwmd
_
save_
a
sync2() when used with an
SSH channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibb
e
y
Fixe
d
the --ge
t
-hostkey opti
o
n
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibb
e
y
Fixed so
m
e c
o
mpile time warning
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
Kibbey
A few co
m
p
i
le time conditional fixes
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
K
ibbe
y
When
doing a
pwmd_open_async2(), che
c
k the p
a
s
sphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
F
ixed ch
e
c
king for an SSH
e
rror
i
n write_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Trim a
n
y '\r\n' in the command bef
o
re sendin
g
i
t
to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kib
b
ey
Fix
e
d pi
n
entry
retries whe
n
use
d
w
i
th pwmd_
o
pen_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for ge
t
opt
.
h for syst
e
ms
t
hat have getop
t
_long()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibb
e
y
Use getopt_long(
)
.
W
h
en not available,
b
uil
d
the included
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a potential buffe
r
overfl
o
w
in do_nb_comman
d
()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
K
ibbey
Fail if assua
n
_get_act
i
v
e
_
f
ds() does
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Renamed pw
m
d_t
c
p_conne
c
t()
a
n
d
pwmd_tcp_c
o
nnect_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Don't
d
u
p()
t
he assuan ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
F
i
x fo
r
t
h
e previous com
m
it w
h
ich didn't conside
r
a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibb
e
y
F
ixed pw
m
d_open/save_a
s
ync2()
w
h
en the file is
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben K
i
bbey
Fixed
u
sing a sp
e
cified passphrase when using pwmd_op
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben K
i
bbey
Don't close
t
h
e TCP F
D
whe
n
a
n
async
c
ommand
c
o
m
p
l
e
te
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
F
i
xed a pwmd_tcp_connec
t
_as
y
n
c() segfa
u
lt
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Added pwmd_get_f
d
2() t
o
return the F
D
us
e
d by
p
wmd_
o
p
en_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
bey
Removed pwmd_
t
erminate_pinentry()
.
There is
n
o need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibb
e
y
Removed pwmd_ope
n
_nb(), pwmd
_
s
ave
_
nb(), pw
m
d
_
o
pen_nb_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
K
i
bbey
Reset the
s
tate
after
c
ommand c
o
mp
l
e
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-03-25
Be
n
Ki
b
bey
F
ix
e
d pwmd_get_hostkey_async() to reset t
h
e state
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set th
e
pwmd_process()
r
esult when
f
inished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
pw
m
d_calloc() not pwm
d
_
ma
l
loc() in pwmd_
n
ew()
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
L
et pwmd_open_
n
b(
)
use PWMD_
O
PTI
O
N
_PINEN
T
RY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Be
n
K
i
bbey
Re-ad
d
pwmd_pending_
l
ine()
.
T
he
d
i
ffe
r
ence is tha
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben
K
ibbey
AP
I
cha
n
ges:
commit
|
commitdiff
|
tree
2009-03-24
B
e
n Kibbey
#include <stdarg
.
h>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Pub
l
ic/pri
v
at
e
symbol
cleanup
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Ki
b
b
ey
U
s
e tt
y
name_r
(
)
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
Kibbey
Use getp
w
uid_r()
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
If
u
sernam
e
is
N
ULL when
p
a
ssed to pw
m
d_tcp_con
n
ect
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben
K
ibbey
W
ITH_LIBP
T
H
c
o
n
diti
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-03-15
Be
n
K
i
bbey
Added p
w
md_strerror_r()
.
commit
|
commitdiff
|
tree
2009-03-15
B
e
n Kib
b
ey
Fixed pwm->result
without TCP support
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Bet
t
er pwmc argument
checking
w
ith
t
c
p options
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
Allow -y for pine
n
try retries even without DEBUG
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbe
y
--di
s
able-tcp com
p
ile time fixes and other
m
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Fixed
a typo in pwmc
.
c preventing read
i
n
g
S
TDIN
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
L
e
t
pwmd_process() work w
i
thout a runnin
g
co
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben K
i
bbey
Make sure t
h
e
resu
l
t of a pwmd_com
m
and() is no
t
NUL
L
.
.
.
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibb
e
y
Revert "Let pwmd_process() work when n
o
t ins
i
de a command
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Fixed
a s
e
gfault wh
e
n after a rem
o
te client terminates
.
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Let pwm
d
_process
(
) work
w
he
n
not inside a co
m
mand
.
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Fin
a
lized
c
ommit
65
d
0
8
5f
.
Should be back
t
o normal
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
K
i
bbey
C
ompile-
t
ime fi
x
for Free
B
SD when
t
ry
i
n
g
t
o
link with
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Compile-t
i
me fi
x
for --disable-n
l
s
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Updated pwmc
.
c to use pw
m
d_set
o
pt()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added
P
W
MD
_
OPT
I
O
N_PINENTRY_TIMEOUT
.
Only usef
u
l
w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Let pwmd_setopt() set pw
m
d options direct
l
y when PW
M
D
_OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Added pwmc command lin
e
o
p
tions -C and -M
to
s
et LC_C
T
YPE and
commit
|
commitdiff
|
tree
2009-03-14
B
en Kibbey
Added PWMD_OP
T
ION_PINENTRY_
L
C_CTYPE and
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
I
n
do_pwmd_
s
av
e
(), check for
the user
s
uppli
e
d
p
ass
w
ord
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Reset
p
wm->p
i
d in pwmd_te
r
minate_pine
n
t
r
y()
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Make sure pwmd_command_ap() h
a
s a han
d
le and comm
a
nd
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Ki
b
bey
Compile time fix
f
or -DMEM_DEBUG
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Do
n
't try to xfree t
h
e p
a
ssword returned by
a
use
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
B
e
n Kibbey
Update
d
the c
o
pyright
header
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kibbey
Added w
a
r
n
_unu
s
ed_result attribute to pwmd_command_ap
(
)
.
commit
|
commitdiff
|
tree
2009-03-14
Ben Kib
b
ey
Fixed
m
em
.
c
t
o u
s
e
a mute
x
when accessing the
m
emor
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Be
n
K
ibbey
Added pwmd_command_ap()
.
This makes pwmd_
c
o
m
mand()
.
.
.
commit
|
commitdiff
|
tree
2009-03-14
Ben
Kibbey
I messe
d
up
the d
i
rectory
tr
e
e making it
h
ard
to pull
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed so
m
e m
e
mory lea
k
s
.
commit
|
commitdiff
|
tree
2009-03-13
B
en Kibb
e
y
Added pwmd_get_hostkey_a
s
ync()
.
Acts
like
p
w
md
_
t
cp_co
n
n
e
ct_a
.
.
.
commit
|
commitdiff
|
tree
2009-03-13
Ben Kibbey
Fixed
pwmd_tcp_connect_async()
.
commit
|
commitdiff
|
tree
2009-03-12
Ben K
i
bbey
Allow comm
e
n
ts
beginning with
'
#
' i
n
the known host
.
.
.
commit
|
commitdiff
|
tree
2009-03-12
Be
n
Kibbey
C
hange
d
the arguments to p
w
md_tcp_con
n
ect() and
commit
|
commitdiff
|
tree
2009-03-11
Ben Kibbey
Use secure memory function
s
.
commit
|
commitdiff
|
tree
next