Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] encrypt on AIX/Unix

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] encrypt on AIX/Unix
 Login/Join
 
Platinum Member
posted
Does anyone have sample code to encrypt a file, on AIX? Of course it needs to be encrypted with a password and then decrypted.

Thanks for any help or direction you can give me.
Rhonda

This message has been edited. Last edited by: Kerry,


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Expert
posted Hide Post
Rhonda,

The syntax for AIX encryption, and I'm assuming that you are talking about WebFOCUS encryption, is the same on all platforms.

The password is arbitrary and I think up to 7.6.5, though not sure of the lifting of the restriction, it must be in upper case.

Also the syntax varies based on the type of file you are encrypting.

For a master:

SET PASS=YOURPASS
ENCRYPT FILE masname


For a focexec:

SET PASS=YOURPASS
ENCRYPT FILE fexname FOCEXEC


To decrypt, use the work DECRYPT instead of ENCRYPT.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Platinum Member
posted Hide Post
Hi Ginny - I should have been more specific, I meant operating system command. I am looking for the syntax to encrypt a file on AIX outside for WebFOCUS.

Thanks!


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Expert
posted Hide Post
If it is encrypted using an OS command, how are you going to use the file in WebFOCUS?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
Rhonda,

I do not know of any native AIX command that does encryption for you. There may be some third party package that you could buy to do the encryption. On the other hand, you do already have (Web)Focus. That package can do the encryption for you ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
Unfortunately we are using 7.1.6 and WebFOCUS encryption does not work on AHTML files. We have decided to wait until we upgrade to 7.6x to do what we want.
Thanks for your help.


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Platinum Member
posted Hide Post
Hi Ginny
That's OK if it is encrypted outside of WebFOCUS. We were looking to implement a workaround to encrypting reports and using
ReportCaster to distribute the reports. We have decided to wait until we upgrade to 7.6x where this issue has been addressed.
Thanks!


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Guru
posted Hide Post
quote:
Originally posted by Rhonda:
Hi Ginny
That's OK if it is encrypted outside of WebFOCUS. We were looking to implement a workaround to encrypting reports and using
ReportCaster to distribute the reports. We have decided to wait until we upgrade to 7.6x where this issue has been addressed.
Thanks!


If you distributing by email then you might be able to apply S/MIME (wikipedia link) or another public key encryption application (PGP, OpenPGP, GnuPG) to ensure that if the wrong people get it they can't read it. This will take some setting up with your users and mail admin however.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
uuencode and uudecode? are those just dos based encryptions?
try googling 'aix command to encrypt a file' there were some OTFE commands listed.
also you may want to look into: "ccrypt" it is a util for encrypting/decrypting files 'n streams. It was intended as a replacement for the standard unix crypt utility.

Good luck.
Ira
AIX 533 WF 538 (DEV)


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
 
Posts: 195 | Registered: October 27, 2006Report This Post
Platinum Member
posted Hide Post
Thanks to everyone for their suggestions and recommendations!


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] encrypt on AIX/Unix

Copyright © 1996-2020 Information Builders