Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the package support RSA key login? #21

Closed
rainerkoenigs opened this issue Apr 18, 2023 · 2 comments
Closed

Does the package support RSA key login? #21

rainerkoenigs opened this issue Apr 18, 2023 · 2 comments

Comments

@rainerkoenigs
Copy link

Dear Mr. Scheffer,

in your blog article https://technology.amis.nl/languages/oracle-plsql/finally-sftp-from-an-oracle-database-using-plain-plsql/ from Christmas 2019 you wrote that for the moment only login with username and password is possible with your package as_sftp.

Now, more than 3 years later (not 5 yet 😉) I got the package from github and found the procedure login_pk which seems to implement exactly the feature that you described as missing in your blog article 😊

Can you give me a short hint - does RSA key login work with that procedure?

In any case, you have done a great job with the package!

Thanks in advance for a short answer and best regards from Germany

@antonscheffer
Copy link
Owner

Short hint: read usage.md
Longer answer: it is indeed possible to login with a RSA, DSA or Elliptic Curve (nistp256, nistp384, nistp521) private key.
You can use either the procedure login or login_pk.
For the first you will need to pass the private key as varchar2 parameter, for the second it should be loaded from the filesystem.

@rainerkoenigs
Copy link
Author

rainerkoenigs commented Apr 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants