Skip to content

clemente-biondo/clemente-biondo.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Solr password encryption tool for the Basic Authentication plugin

This online tool allows you to generate a solr password in the format required by the Basic Authentication plugin. This way you can get rid of the default "SolrRocks" password stored in the security.json file under the SOLR home directory.

Background

I made this tool to streamline the process of encoding the initial solr passwords for the Basic Authentication plugin.

When enabling Basic Authentication on solr, the initial passwords are stored in a security.json file under the SOLR home directory as a sha256(password+salt) hash. User IDs and passwords can be changed later on by using the HTTP Api.

The specific hashing algorithm can be found here and is a little cumbersome: Sha256AuthenticationProvider.java

Security

The entire process is executed client side, no information is sent to any remote server.

The process is protected agaist XSS attacks by using Content Security Policy.

The code is minimal and easy to inspect.

The salt is a random generated String of 16 alphanumeric characters that changes after each execution.

Usage

Use it online

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Online Solr password encryption tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published