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
Added pwmd_socket_type() which sets a parameter to PWMD_SOCKET_UDS or
2009-04-11
Be
n
Kibbey
A
d
ded p
w
md
_
socket
_
type() which sets
a
pa
r
amete
r
to
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
pwmc: Let --url b
e
a no
n
-DEBUG option
.
commit
|
commitdiff
|
tree
2009-04-11
Ben
K
ibbey
pwmc: Set STDIN
_
FILENO to non
-
b
lo
c
k
i
ng when
w
aiting
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
Reset p
w
m->cmd f
r
o
m pwmd_ssh
_
connect()
.
Fixes
pwm
d
_p
r
o
c
e
ss(
)
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
It is p
r
obably be
t
ter to set O_NONBLOCK only for the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
C
a
ll _
p
wmd_process() in _
i
nquire_
c
b() so s
t
atus
m
essages
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
More documentation cl
e
anup
s
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Ki
b
bey
Fixed installing the
w
rong lint
i
an ove
r
rides fo
r
the
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
B
e
n Kibbe
y
I
n
s
tead of
s
ending the NOP command
to process pending
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kibbey
--d
i
sable-s
s
h f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-11
Ben Kib
b
ey
Call l
i
bssh2_ch
a
nnel_
c
l
o
s
e
() befo
r
e fre
e
ing
i
t
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
More documenations u
p
d
a
tes
.
commit
|
commitdiff
|
tree
2009-04-10
B
e
n
K
i
bbey
Add
e
d
a note to
t
he docum
e
nt
a
tion a
b
o
u
t
file
n
a
m
e
s beginning
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben
K
ibbey
Show the client name
i
n t
h
e pinentry dialo
g
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbe
y
A
ll function argume
n
ts that
take a filename path now
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben K
i
bbey
Check fo
r
an
e
m
pt
y
(but not NULL
)
required p
a
ra
m
ete
r
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
B
en Kibbey
F
i
x
ed
p
wmd_pr
o
cess() wh
e
n an OP
E
N co
m
mand failed
w
i
th
commit
|
commitdiff
|
tree
2009-04-10
Ben
Kib
b
ey
Fre
e
the tc
p
_
c
onn in r
e
set_async() w
h
en '
d
one'
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
Free the tcp_conn
in
s
etup_tcp
_
s
e
ssion()
.
Fixes freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-04-10
Ben Kibbey
S
end "
O
P
TION PINENTRY=0" after establish
i
n
g
a rem
o
te
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
B
e
n
Ki
b
bey
Revert "Add
e
d support for a p
a
s
s
phrase
i
n the url string
.
"
commit
|
commitdiff
|
tree
2009-04-09
B
en
Ki
b
bey
A
dded support for a pa
s
sphrase in the url
s
tring
.
commit
|
commitdiff
|
tree
2009-04-09
Ben Kibbe
y
Set PWMD_OPTI
O
N_IP_VE
R
SION to PWMD_IP_ANY when ss
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-09
Be
n
Kibb
e
y
Added
p
wmd_connect_url() a
n
d pw
m
d_
c
onn
e
ct_url
_
asyn
c
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
An
o
ther stdarg b
u
gfix
.
Th
i
s time in pw
m
d
_
strdu
p
_
printf()
.
commit
|
commitdiff
|
tree
2009-04-08
Ben
K
i
bbe
y
Return GPG_
E
RR_BAD
_
CERT if the host key ca
n
not be ver
i
f
ied
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n Kibbey
Require a C9
9
compiler
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
Kibbey
co
n
figure
.
ac:
A
C_USE_SYSTE
M
_EXTENS
I
ONS, req
u
ire a
u
toconf
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
en K
i
bbey
Fixed PW
M
D_OPTION_PASSPHRASE and PWMD
_
OP
T
ION_P
A
SSPH
R
ASE_CB
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
F
ixed pwmd_ge
t
_fds() when doing a
n
ASYNC_C
M
D_O
P
EN2
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
B
e
n
K
ibbey
S
e
t
the file d
e
scriptor to non-
b
locking in pwmd when
.
.
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Link
with -lrt on Linux x86_6
4
boxe
s
.
commit
|
commitdiff
|
tree
2009-04-08
Ben K
i
bbey
Added
G
P
G_ERRO
R
_CFLAGS to the p
w
m
c
Makefil
e
dependen
c
i
es
.
commit
|
commitdiff
|
tree
2009-04-08
Ben Kibbey
Zero le
n
gt
h
is a success from read
_
hook
(
)
a
nd wr
i
te_
h
oo
k
(
)
.
commit
|
commitdiff
|
tree
2009-04-07
Ben
K
ibbey
Fixed rea
d
_hook() an
d
write_hook() over an SSH cha
n
nel
.
commit
|
commitdiff
|
tree
2009-04-07
Be
n
Kibbey
Commit 1b59e7d contained a typo
th
a
t didn't really
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
Ben Ki
b
bey
F
i
x
e
d pw
m
d_co
m
mand
_
ap() corrupting t
h
e argumen
t
li
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-04-07
B
e
n Kib
b
ey
Fixed option --name
.
commit
|
commitdiff
|
tree
2009-04-05
B
en
K
i
bbey
The
'c
h
angelo
g
'
target now only generates changes fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben K
i
b
b
ey
Minor doc
u
mentation
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-04-05
B
en K
i
bbey
Doc
u
mented SSH in the he
a
de
r
.
A
l
so fixed formatting
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Fixed so
m
e c
o
mpile-time cond
i
ti
o
nals
.
Again
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Added a note about ca
l
ling
p
wm
d
_g
e
t_fds() after e
a
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-04-05
Ben Kibbey
Removed pwmd_get_fd(
)
a
nd pwmd_g
e
t
_
async2_fd()
.
These
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n Kib
b
ey
Fixed PWMD_OPTION_
P
I
N
ENTRY_T
I
MEOUT wh
e
n
used wit
h
pwmd_open2(
)
.
commit
|
commitdiff
|
tree
2009-04-04
B
e
n K
i
bbe
y
U
pdated the p
w
m
c
docume
n
tation
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbey
M
ake sure a valid h
a
n
dl
e
a
n
d assuan co
n
text
is available
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kibbe
y
Return ASY
N
C_D
O
NE from pwmd_
p
rocess() when not i
n
a
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
D
ete
r
mine the pwmd se
r
ver version in _socket_connect_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
B
e
n
Kibbe
y
D
ocumente
d
p
ine
n
try
.
commit
|
commitdiff
|
tree
2009-04-03
Ben K
i
bbey
Fixed l
o
cal pinen
t
ry s
t
r
i
ngs
.
commit
|
commitdiff
|
tree
2009-04-03
B
en Kibbey
R
enam
e
d pwmd_get_fd2() to
p
w
m
d_get
_
async2_fd()
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Kibbey
Remov
e
d PWMD_OPTION_PINENTRY
.
No longer n
e
e
ded since
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
Don't
d
o "GETCONFIG data_directory" on
an SSH connectio
n
.
commit
|
commitdiff
|
tree
2009-04-02
Be
n
Kibbey
Added
p
wmd
_
o
p
en
2
(
)
and pwmd_save2()
which will use
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
More docume
n
tations up
d
ates and f
i
xes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
pwmd_
g
et_
h
os
t
key() now
r
equires
a pwm
_
t hand
l
e
.
This
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Ki
b
be
y
WITH_PINENTRY conditi
o
nal fixes
.
commit
|
commitdiff
|
tree
2009-04-02
Ben
K
ibbey
Loop over do_save_getpin() when GPG_
E
R
R
_INV_
P
ASSPHRASE
.
.
.
commit
|
commitdiff
|
tree
2009-04-02
B
en Kibbey
Fix
e
d
pw
m
d_save() when P
W
MD_
O
PTI
O
N
_
PI
N
ENTRY
i
s set
.
commit
|
commitdiff
|
tree
2009-04-02
Ben Kibbey
The order
of getting the pa
s
sword is:
commit
|
commitdiff
|
tree
2009-04-01
Ben Ki
b
bey
Cr
e
ated a doc/Makefi
l
e "
d
oxygen"
targe
t
to
g
enerate
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Ben Kibbey
Set a default ti
m
eout of
3
0
s
econd
s
for pwmd_open_async2
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
B
e
n
K
ibb
e
y
R
e
named pwmd_passwor
d
_f
n
t
o pwmd_passphrase_cb_t
.
T
h
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-31
Be
n
Kibbey
Updated the
d
ocumentation
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Adde
d
PWMD_OPTION_IP_
V
ERSIO
N
which should be set to
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
B
e
n
K
i
bbey
F
ixed --port
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
A few
m
in
o
r cleanups
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
F
ixed
zombi
e
pinentry processes
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbey
Fixed pwmd_save_async2() w
h
en used with an SSH
channel
.
.
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Ki
b
b
ey
Fixed the
--get-h
o
stkey op
t
ion
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
ibbey
Fixed som
e
compile time warnin
g
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben Kibbe
y
A few compil
e
time conditional fix
e
s
.
commit
|
commitdiff
|
tree
2009-03-29
Ben
K
i
b
bey
When doing a p
w
md_open_async2(), check the passphrase
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbey
Fixed
c
he
c
king for an S
S
H error in wri
t
e_hook() and
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
B
e
n Kibbey
Trim any
'
\r\n' in
t
he
c
omman
d
b
efore sendin
g
it to
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Be
n
K
i
bbey
F
ixed pi
n
entry ret
r
ie
s
w
h
en used with pwmd_ope
n
_async()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Check for getopt
.
h for systems that ha
v
e getopt_long()
.
commit
|
commitdiff
|
tree
2009-03-28
B
en Kibbe
y
Use getop
t
_long()
.
When not avail
a
ble
,
build
t
he include
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-28
Ben Kibbey
Fixed a potential buffer ove
r
flow in d
o
_n
b
_command()
.
commit
|
commitdiff
|
tree
2009-03-28
Ben
Kibbey
Fa
i
l if ass
u
an_ge
t
_active
_
fds()
does
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n Kibbey
Renamed pwm
d
_t
c
p_co
n
nect() and pwmd_tcp_connec
t
_async
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Don't dup()
the assu
a
n ctx FD
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
K
i
b
bey
Fi
x
f
or the previous comm
i
t w
h
ich
didn
'
t consider a
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
Ben Kibbey
Fixed pwmd_open/save_async2() when
t
h
e
file i
s
cached
.
.
.
commit
|
commitdiff
|
tree
2009-03-27
B
e
n
Ki
b
b
e
y
Fixed using
a specified passphrase when
using pwmd_open
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Be
n
Kibbey
Don't cl
o
se the TCP FD when an asy
n
c
command co
m
plet
e
s
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Ki
b
b
ey
Fixed a pwmd_tcp_connect_a
s
ync() segfault
.
commit
|
commitdiff
|
tree
2009-03-26
Ben
Kibbe
y
Added pwmd_get_fd2() to r
e
turn th
e
FD used by p
w
md_open_asyn
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Remov
e
d pwm
d
_
term
i
nate_pinentry(
)
.
There is no need
.
.
.
commit
|
commitdiff
|
tree
2009-03-26
Ben Kibbey
Removed
p
wmd_open
_
n
b(), pwmd_save_nb(
)
, pwmd_open
_
n
b_finaliz
.
.
.
commit
|
commitdiff
|
tree
2009-03-25
B
e
n
Kibbe
y
Reset the stat
e
a
fter
c
ommand completion
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Fixed pwm
d
_get_
h
ostkey_async() to reset the s
t
at
e
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Set t
h
e pwmd_proce
s
s() result when finished
.
Fixes
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
p
wmd_calloc() not p
w
md_malloc() in pwmd
_
new(
)
.
commit
|
commitdiff
|
tree
2009-03-25
Ben Kibbey
Let pwmd
_
o
pen_n
b
()
u
s
e PWMD
_
OPTI
O
N_
P
INE
N
TRY_TIMEOUT
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Ki
b
be
y
Re-add pwm
d
_pending_line()
.
T
h
e differ
e
nce is th
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibbey
API changes:
commit
|
commitdiff
|
tree
2009-03-24
Ben Kibb
e
y
#include <stdarg
.
h
>
commit
|
commitdiff
|
tree
2009-03-15
Ben Kibbey
Public
/
p
r
ivate symbol cleanup
.
commit
|
commitdiff
|
tree
next