[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] MESSAGE_FORMAT_ERROR on pubkey authentication



Hi Jane,

thank you for taking care. 

I think this is quite a misunderstanding (english is not my native
language, see also my previous posts to the list), the server I was
talking about is just an experimenting server for development
(programming) purposes which is running solely on localhost at my
development laptop, not joining any network or infrastructure, not used
to provide "real" handles, it's all dummy.

We have got already a testing prefix from you. Thanks once more for
that. This one we will use for the testing environment. 

It is just what you normally do in development: building up development
environment (which you fully control) on your local machine, then have
integration tests in testing environment, and last but not least going
to production environment for the real thing.

BTW: It would be great if you could provide a Webservice-API for the
server to make it really distributed ;-)


Regards!
Konstantin


On Fri, 2007-08-03 at 10:06 -0400, Jane Euler wrote:
> Konstantin:
> Sorry, you can't pick a number to use as a prefix for your independent 
> handle service without going through CNRI. This goes against the Handle 
> System Service Agreement.  I would need to assign you a prefix to use and 
> make a record of it even though resolution of the handles would not be 
> using the proxies or Global.  Among other things, this helps prevent any 
> collision of prefixes at a later time.
> I can offer you a prefix on a trial basis to test your independent handle 
> service.
> Thank you for adhering to CNRI's policy on this.
> Jane
> 
> At 05:32 AM 8/3/2007, you wrote:
> >Hello,
> >
> >
> >I have set up a local server with NA (as I mentioned in previous posts)
> >
> >-----------
> >0.NA/1
> >-----------
> >
> >and admin handle
> >
> >-----------
> >1/ADMIN
> >300 HS_PUBKEY FILE <mypath>/hs/svr_1/admpub.bin
> >(when I use HS_SECKEY here everything works fine.)
> >------------
> >
> >the key is encrypted with password.
> >
> >Using the client library I get an authentication failure.
> >
> >So I tried:
> >
> >----------
> ># java -cp ./bin/handle.jar net.handle.apps.gui.hadmin.HandleTool
> >---------
> >
> >
> >There Setup->Authentication with console output:
> >
> >--------
> >   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"
> >
> >HandleException (MESSAGE_FORMAT_ERROR) Invalid array size
> >         at net.handle.hdllib.Encoder.readByteArray(Encoder.java:157)
> >         at net.handle.hdllib.Util.getPublicKeyFromBytes(Util.java:876)
> >         at net.handle.apps.gui.hadmin.HandleTool
> >$CheckAuthentication.checkAuth(HandleTool.java:492)
> >         at net.handle.apps.gui.hadmin.HandleTool
> >$CheckAuthentication.run(HandleTool.java:417)
> >         at net.handle.awt.TaskIndicator.run(TaskIndicator.java:99)
> >         at java.lang.Thread.run(Thread.java:619)
> >----------
> >
> >
> >Servers error log is silent about it, so probably a client problem:
> >
> >----------
> >/hs/svr_1$ tail -F error.log
> >         at
> >net.handle.server.NetworkInterface.run(NetworkInterface.java:150)
> >         at java.lang.Thread.run(Thread.java:619)
> >"2007/08/03 11:15:06 CEST" 25 Started new run.
> >"2007/08/03 11:15:12 CEST" 50 unspecified max_handlers count, using
> >default: 200
> >"2007/08/03 11:15:12 CEST" 50 unspecified max_handlers count, using
> >default: 200
> >"2007/08/03 11:15:12 CEST" 50 unspecified max_handlers count, using
> >default: 200
> >"2007/08/03 11:15:17 CEST" 50 Error refreshing root info:
> >HandleException (INTERNAL_ERROR) Unable to query root info
> >HandleException (INTERNAL_ERROR) Unable to query root info
> >         at
> >net.handle.hdllib.Configuration.refreshRootInfoFromNet(Configuration.java:458)
> >         at net.handle.server.AbstractServer
> >$RootInfoUpdater.run(AbstractServer.java:93)
> >-------
> >
> >access.log for the request:
> >-------
> >127.0.0.1 HTTP:HDL "Fri Aug 03 11:18:16 CEST 2007" 1 1 204ms 1/ADMIN
> >-------
> >
> >Resolution access for public read without problem.
> >
> >
> >Thanks for any help!
> >
> >
> >--
> >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
> 
-- 
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