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

Add Support Base 64 encoding of password #1068

Open
stejacob opened this issue Oct 2, 2024 · 3 comments
Open

Add Support Base 64 encoding of password #1068

stejacob opened this issue Oct 2, 2024 · 3 comments

Comments

@stejacob
Copy link

stejacob commented Oct 2, 2024

Hi,

This is likely an enhancement request.

Could you support for Base-64 encoded passwords be added to the Norconex HTTP crawler in the near future, similar to the functionality available in Autonomy IDOL? Below is an example for reference.

<credentials> <username>yourUsername</username> <password>XY12AbcDefGHIJ==</password> </credentials>

Additionally, would it be possible to provide an option to encode passwords in Base-64 using your encryption tool?

Thank you again!

@essiembre
Copy link
Contributor

Because encoding (as opposed to encrypting) is not a secure way to protect passwords, we are not planning to add it. I am still marking it as a feature request, as we may reconsider if there is enough demand for it.

What issues are you experiencing with using encryption?

@stejacob
Copy link
Author

Thank you Pascal.

No problem at all. I was simply looking for an easier way to encrypt passwords in Base-64 without relying on an external file. I understand that it will be less secure without the file but it will be used within our secure network. Thank you again.

Regards,

Stephen Jacob

@essiembre
Copy link
Contributor

essiembre commented Oct 17, 2024

You can avoid using an external key file by putting the key value right with the config, like this:

<credentials>
  <username>joe</username>
  <password>3ncryp73d</password>
  <passwordKey>
    <value>paste_the_key_kere</value>
    <source>key</source>
  </passwordKey>
</credentials>

Alternatively, you can also store the decryption key as an environment variable or system property, as described by the Credentials class.

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

No branches or pull requests

2 participants