Skip to main content

I want to use encryption_package in vertica, but I don't know how to install this pack in vertica...

  • March 25, 2016
  • 2 replies
  • 18 views

choisika
Forum|alt.badge.img+1

Hi

 

I want to use encryption_package in vertica, but I don't know how to install this pack in vertica...

 

the pack said me,

the SQL statements in
src/ddl/install.sql

so

 

I open the file.

 

then.. 

select version();

\set libfile '\''`pwd`'/build/Encryption.so\'';

CREATE LIBRARY Encryption as :libfile;
CREATE FUNCTION AESEncrypt as language 'C++' name 'AESEncryptFactory' library Encryption;
CREATE FUNCTION AESDecrypt as language 'C++' name 'AESDecryptFactory' library Encryption;

 

 

...what mean...

 

\set libfile '\' ''pwd''/build/Encryption.so\'';

 

 

pwd mean my password??

where is Encryption.so I don't find it...

 

plz help me ㅜㅜㅜㅜㅜㅜㅜ

 

 

 

 

2 replies

Chris_Daly_HPE
Forum|alt.badge.img
  • Participating Frequently
  • March 25, 2016

Hi, after reading through the readme in the github for this package, I can see where you might be confused.  The src/ddl/install.sql is building the Encryption.so file, and can also be done by issuing a "make install" from the command prompt from a user that also has access to VSQL.

 

-Chris


choisika
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 31, 2016

Hi Chris_Daly_HPE

 

Thanks for your kindness~!!

 

I'm rinux baby ...