[GH-ISSUE #87] Password Recovery #78

Closed
opened 2026-02-26 01:35:06 +03:00 by kerem · 11 comments
Owner

Originally created by @rapidpage on GitHub (Sep 26, 2014).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/87

Is there anyway to recover a password?

Originally created by @rapidpage on GitHub (Sep 26, 2014). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/87 Is there anyway to recover a password?
kerem closed this issue 2026-02-26 01:35:06 +03:00
Author
Owner

@JLiscom commented on GitHub (Sep 26, 2014):

No.
You can reset it by going through MySQL

<!-- gh-comment-id:57022178 --> @JLiscom commented on GitHub (Sep 26, 2014): No. You can reset it by going through MySQL
Author
Owner

@rapidpage commented on GitHub (Sep 28, 2014):

will do, thanks

<!-- gh-comment-id:57105284 --> @rapidpage commented on GitHub (Sep 28, 2014): will do, thanks
Author
Owner

@Snowflake6 commented on GitHub (Aug 10, 2015):

How can one reset the password by going through MySQL? I tried deleting the encrypted password that was there, but it doesn't prompt me for a new one. And if I just put a new one in there (in plaintext), it doesn't accept it when I try logging in. How do I generate an encrypted PW to put in the MySQL DB?

<!-- gh-comment-id:129294170 --> @Snowflake6 commented on GitHub (Aug 10, 2015): How can one reset the password by going through MySQL? I tried deleting the encrypted password that was there, but it doesn't prompt me for a new one. And if I just put a new one in there (in plaintext), it doesn't accept it when I try logging in. How do I generate an encrypted PW to put in the MySQL DB?
Author
Owner

@Snowflake6 commented on GitHub (Aug 11, 2015):

Update - Answering my own question. At least, for people using phpMySQL, you can select the "ENCRYPT" function when you edit the cell with the password in it. Enter the password in plaintext, select "ENCRYPT" and hit apply. The password will be encrypted, and you'll be able to log in with the new password.

<!-- gh-comment-id:129651670 --> @Snowflake6 commented on GitHub (Aug 11, 2015): Update - Answering my own question. At least, for people using phpMySQL, you can select the "ENCRYPT" function when you edit the cell with the password in it. Enter the password in plaintext, select "ENCRYPT" and hit apply. The password will be encrypted, and you'll be able to log in with the new password.
Author
Owner

@JLiscom commented on GitHub (Aug 12, 2015):

@Snowflake6,
Password is hashed in PHP. Register a temporary user with the password you want. Then go in MySQL copy the password from the temp and paste it into the user you wanted to change and delete the temp user row.

In new versions we are moving away from doing user management and delegating that to other services which we consume. Like CouchDB

<!-- gh-comment-id:130437404 --> @JLiscom commented on GitHub (Aug 12, 2015): @Snowflake6, Password is hashed in PHP. Register a temporary user with the password you want. Then go in MySQL copy the password from the temp and paste it into the user you wanted to change and delete the temp user row. In new versions we are moving away from doing user management and delegating that to other services which we consume. Like CouchDB
Author
Owner

@Snowflake6 commented on GitHub (Aug 12, 2015):

That's unfortunate... I may not have the ability to add CouchDB to my website, where I run OpenNote. Why move away from MySQL?

<!-- gh-comment-id:130440634 --> @Snowflake6 commented on GitHub (Aug 12, 2015): That's unfortunate... I may not have the ability to add CouchDB to my website, where I run OpenNote. Why move away from MySQL?
Author
Owner

@JLiscom commented on GitHub (Aug 13, 2015):

@Snowflake6
CouchDB lets you do data sync. Remember I keep this up mostly because I use it.

I wanted to be able to have a cached offline app on my phone and have it automatically sync changes back up when I reconnected. I would have to write all that in PHP and MySQL where as I get it for free with CouchDB.

This is opensource so if someone doesn't like what I am doing they can fork the project and keep up the AMP version.

<!-- gh-comment-id:130844748 --> @JLiscom commented on GitHub (Aug 13, 2015): @Snowflake6 CouchDB lets you do data sync. Remember I keep this up mostly because I use it. I wanted to be able to have a cached offline app on my phone and have it automatically sync changes back up when I reconnected. I would have to write all that in PHP and MySQL where as I get it for free with CouchDB. This is opensource so if someone doesn't like what I am doing they can fork the project and keep up the AMP version.
Author
Owner

@Snowflake6 commented on GitHub (Aug 13, 2015):

Right, I understand. I like the idea of syncing to the phone, so that's not a bad thing. Hopefully I can get CouchDB installed on my ISP's server for my domain. :)

<!-- gh-comment-id:130847366 --> @Snowflake6 commented on GitHub (Aug 13, 2015): Right, I understand. I like the idea of syncing to the phone, so that's not a bad thing. Hopefully I can get CouchDB installed on my ISP's server for my domain. :)
Author
Owner

@JLiscom commented on GitHub (Aug 13, 2015):

@Snowflake6 Run it on you machine. Just sync your phone when connected to wifi.

If you have a home server you can put it on there. Or use AWS with a t2.micro instance. AWS offers a free year.

Or don't use couchdb at all and just use your brower cache. I build a export function at allows you to backup your notes to a file and reimport them if you were to ever clear the cache.

CouchDB and the Angular app do not need to be on the same server.

<!-- gh-comment-id:130851399 --> @JLiscom commented on GitHub (Aug 13, 2015): @Snowflake6 Run it on you machine. Just sync your phone when connected to wifi. If you have a home server you can put it on there. Or use AWS with a t2.micro instance. AWS offers a free year. Or don't use couchdb at all and just use your brower cache. I build a export function at allows you to backup your notes to a file and reimport them if you were to ever clear the cache. CouchDB and the Angular app do not need to be on the same server.
Author
Owner

@JLiscom commented on GitHub (Aug 13, 2015):

@Snowflake6 a quick google search showed a company that will host a couchdb instance for free
http://www.iriscouch.com/

<!-- gh-comment-id:130852745 --> @JLiscom commented on GitHub (Aug 13, 2015): @Snowflake6 a quick google search showed a company that will host a couchdb instance for free http://www.iriscouch.com/
Author
Owner

@Snowflake6 commented on GitHub (Aug 13, 2015):

As I already have a domain hosted, i'd prefer to stick with it... I'm very comfortable with the security of my domain right now, and i'd like to stick with it for acccessibility. I've run a home server before, but the ADSL means retrieving from it takes bloody ages, and the dynamic DNS necessary to keep it running isn't stable enough for my needs.

If I can get CouchDB running on my hosted domain, that'll be the ideal solution. If not, I may fork the code and maintain the AMP solution.

<!-- gh-comment-id:130860291 --> @Snowflake6 commented on GitHub (Aug 13, 2015): As I already have a domain hosted, i'd prefer to stick with it... I'm very comfortable with the security of my domain right now, and i'd like to stick with it for acccessibility. I've run a home server before, but the ADSL means retrieving from it takes bloody ages, and the dynamic DNS necessary to keep it running isn't stable enough for my needs. If I can get CouchDB running on my hosted domain, that'll be the ideal solution. If not, I may fork the code and maintain the AMP solution.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OpenNote-JLiscom#78
No description provided.