Author Topic: ODWEK decrypt document id error  (Read 1941 times)

baddeac

  • Newbie
  • *
  • Posts: 2
    • View Profile
ODWEK decrypt document id error
« on: August 23, 2018, 09:45:21 AM »
So we have an ODWEK program that logs in, search a folder, and then returns a document hit list of an expected number of hits. The ODWEK program works fine when running on the CMOD 10.1 Multiplatform Windows server.  The same program does not work from a remote windows client with the same CMOD 10.1 software installed using the normal IBM installation program.  The same ODWEK program can login, search a folder, then fails when it tries to decrypt the document id.

Working trace:

CsvGetDocIdFromHit:Return arccs return code=0,ARCCS_OKAY
5712:5416 08/20/2018 12:33:14:680127 INFO ars3wapi.cpp(1514)JNISearchFolderCallback:Current state pCD->byte_buffer=Y2SB8Z8ryaCalqX5sZzan62JQLchBpE4II8I37wYIKVn2VKzv6pqPe/Xrcf4el

Failing trace:

CsvGetDocIdFromHit:Return arccs return code=6,ARCCS_FAILED

What does the 'return code=6,ARCCS_FAILED' mean as it is not in the CMOD messages and codes manual?  We have reviewed file permissions, verified GSK libraries are installed, etc.

Thanks!

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ODWEK decrypt document id error
« Reply #1 on: August 23, 2018, 12:41:52 PM »
I'm not an ODWEK ninja, but my understanding of the new encrypted DocID's is that the hostname is somehow included in the encryption key, meaning that you have to pass the correct hostname (the name of the server) and not the local hostname in order to get the data back properly.

You'll want to reach out to IBM with a PMR and get some guidance from them.  I've also heard that they have some internal/proprietary documentation on the new encryption scheme that is enlightening in the use of the new encrypted DocID's.  You may want to ask for that.  (It's so secret, I don't even know the name of the document.)

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR