Mac Keychain problems after deleting .AppleSetupDone

keychainmojave

So one day I decided to restart my macbook pro mid 2012 13" but then i noticed my user is gone and it is asking me for a name and password, so i tried to type my username and password yet it was wrong. So what i did was delete .AppleSetupDone and after I delete that everything was good and I was able to setup a new admin user and after that I'm having issues with my keychain like let's say opera asks me if i want to save the password or not and if i hit save it actually doesn't save it next is everytime i log back in i am no longer connected to the wifi and everytime i connect it will say it cannot find a keychain that can store something so i click reset to defaults (smth like that) and then the window just dissapeared. So what I did was go to keychain access > Preferences and clicked reset my default keychains but then it shows unable to obtain authorization for this operation and since keychain first aid is gone already I no longer know what to do

Best Answer

As @Tetsujin pointed out your question a a wall of text and is difficult to read.

Although you reset your user password/created a new one the Keychain is encrypted using the old password.

Take a look a the following articles, they should solve your problem.

Also take a look at this AskDifferent answer describing some possible fixes.

How do I delete or fix my Keychain after changing my password?

If none of these work, please edit your question to clarify your issue.