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

Passwords stored in .orientdb_history file #7890

Closed
FreeK opened this issue Nov 16, 2017 · 2 comments
Closed

Passwords stored in .orientdb_history file #7890

FreeK opened this issue Nov 16, 2017 · 2 comments
Assignees
Milestone

Comments

@FreeK
Copy link

FreeK commented Nov 16, 2017

OrientDB Version: 2.2.30

Java Version: Java(TM) SE Runtime Environment (build 1.8.0_151-b12)

OS: Linux (Ubuntu 14.04.5)

Expected behavior

Passwords should NOT be stored in .orientdb_history

Actual behavior

Passwords are stored in plain text in .orientdb_history

Steps to reproduce

Connect to OrientDB via console:
$ORIENTDB_HOME/bin/console.sh

Connect to a database:
orientdb> CONNECT plocal:../databases/GratefulDeadConcerts admin my_admin_password

Quit the console and cat .orientdb_history file:

CONNECT plocal:../databases/GratefulDeadConcerts admin my_admin_password
exit

As this violates our security policy, we cannot use OrientDB.

@wangjunji
Copy link

wangjunji commented Nov 24, 2018

I have the same problem.
Not only password, the encryption key is also stored in plain text in .orientdb_history by executing config set storage.encryptionKey xxxxxxxxx in console.sh
It may cause security issues. Any configuration will help to disable the console history?

@luigidellaquila
Copy link
Member

Hi @wangjunji @FreeK

I added a --disable-history option to the console, so that you can disable that functionality if needed

Thanks

Luigi

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

No branches or pull requests

3 participants