<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Metadata Bound Libraries Encryption in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Bound-Libraries-Encryption/m-p/620785#M18101</link>
    <description>&lt;P&gt;I think that the REMOTE engine does not use the remote library to read the MBL object file that contains the reference to the metadata entry. It receives the dataset file as a stream, recognizes the encryption, and then prompts you. This might be an oversight by SAS; bring this to the attention of SAS Technical Support.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2020 12:07:15 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-01-29T12:07:15Z</dc:date>
    <item>
      <title>Metadata Bound Libraries Encryption</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Bound-Libraries-Encryption/m-p/620569#M18096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here is an issue that I experiment when I try to use an MBL with Encryption.&lt;/P&gt;&lt;P&gt;After I've configured a Secure Library I try to use the encrypted contents with SAS Base client (or SAS Foundation client if prefer).&lt;/P&gt;&lt;P&gt;Here is the code that I use from my workstation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%MACRO OPTMETADS;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;options metaserver='metadataserver'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;metaport=8561&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;metauser="user"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;metapass="password"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;metaprotocol=bridge&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;metarepository=Foundation;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;%MEND OPTMETADS;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%optmetads;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;%LET SERV=server 7551;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;OPTIONS REMOTE=SERV COMAMID=TCP;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;signon SERV user='user' password='password';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rsubmit;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libname seclib 'Y:\testcifr';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;endrsubmit;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;libname rseclib slibref=seclib server=SERV;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The first step is to authenticate to Metadata Server, the second is to provide a sign on to a server where then I execute a remote libname statement. Finally I assign the remote library locally, with the slibref option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of this works except when I try to consult (browse) the dataset in the rseclib, i.e. the remote lib locally referenced.&lt;/P&gt;&lt;P&gt;The result is a message box with this information: "Missing ENCRYPTKEY option on member..." and a prompt for the encryption key.&lt;/P&gt;&lt;P&gt;In fact, if I fill the request with the key the dataset opens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to execute the following code all goes well:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rsubmit;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;data pippo;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set seclib.datasetsec (obs = 10);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;endrsubmit;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I try to execute not in remote submit, i.e. using the slibref I catch the same error message (coherent).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another interesting test that I have done was to assign the library directly, without having to do a remote signon; like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;libname seclib '\\servername\testcifr';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With this libname all goes well, as I expected!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the matter?&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Bound-Libraries-Encryption/m-p/620569#M18096</guid>
      <dc:creator>rdic65</dc:creator>
      <dc:date>2020-01-28T17:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries Encryption</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Bound-Libraries-Encryption/m-p/620785#M18101</link>
      <description>&lt;P&gt;I think that the REMOTE engine does not use the remote library to read the MBL object file that contains the reference to the metadata entry. It receives the dataset file as a stream, recognizes the encryption, and then prompts you. This might be an oversight by SAS; bring this to the attention of SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 12:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Bound-Libraries-Encryption/m-p/620785#M18101</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-01-29T12:07:15Z</dc:date>
    </item>
  </channel>
</rss>

