[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Handle-info] getting pubkeys from files using FILE [WAS:]MESSAGE_FORMAT_ERROR on pubkey authentication
On Fri, 2007-08-03 at 11:32 +0200, Konstantin Rekk wrote:
> sending HDL-TCP request (version=2.1; oc=1; rc=0; snId=0 crt caCrt
> noAuth 1/ADMIN [ ] [300, ]) to 127.0.0.1:2641
> received HDL-TCP response: version=2.1; oc=1; rc=1; snId=0 crt
> caCrt
> noAuth 1/ADMIN
> index=300 type=HS_PUBKEY rwr- "FILE <mypath>/hs/svr_1/admpub.bin"
Ok, after struggling a bit I found that
the reason for the authentication error seems to be that
index=300 type=HS_PUBKEY rwr- "FILE <mypath>/hs/svr_1/admpub.bin"
is not returned with the FILE contents substituted (what I have implicitly
expected).
How is that supposed to work for authentication? The manual is full of
examples using FILE in HS_PUBKEY types. What is FILE for and how is it
actually used?
Propably I am missing some important point here ...
I put the hex-Value of the admpub key as admin handle value and now it
works.
(BTW: you propably already noticed - the handle code compiles almost (some
"deprecated" notes) fine with 1.6 compliance settings after renaming
enum variables, cause enum is a keyword in 1.6,
also I think in the build.xml file
the order of includes should be rather
<!-- include user.properties file for custom config -->
<property file="user.properties" />
<property file="build.properties" />
cause only in this case user.properties will override build.properties
(in ant the first wins)
)
Thanks!
--
Konstantin Rekk
VZG (GBV), Göttingen, Berlin
0176 2100 6000
030 29003511
skype: krekk1970
rekk@gbv.de
http://www.gbv.de
--
Konstantin Rekk
VZG (GBV), Göttingen, Berlin
0176 2100 6000
030 29003511
skype: krekk1970
rekk@gbv.de
http://www.gbv.de
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info