Git Product home page Git Product logo

Comments (9)

mvdan avatar mvdan commented on May 29, 2024

You can always try to log in again via bitw login.

When you get the Cipher.Fields error, what's does your bitw/data.json file look like? That is, what kind of data is under that path? The directory is under UserConfigDir, as per golang/go#29960.

Finally, do you have two-factor auth enabled?

If you share your contact details I can give you the password for my dummy test account. If you can reproduce the issue with that, you can share all the data then, as it has no sensitive information.

from bitw.

AndreasBackx avatar AndreasBackx commented on May 29, 2024

You can always try to log in again via bitw login.

Logging in with bitw login seems to work, I don't get any error or output after the password prompt. It still results in the same json unmarshal error when using sync though.

When you get the Cipher.Fields error, what's does your bitw/data.json file look like? That is, what kind of data is under that path? The directory is under UserConfigDir, as per golang/go#29960.

{
	"DeviceID": "REDACTED",
	"AccessToken": "REDACTED",
	"TokenExpiry": "2019-06-25T23:40:19.257287492Z",
	"KDF": 0,
	"KDFIterations": 100000,
	"LastSync": "0001-01-01T00:00:00Z",
	"Sync": {
		"Profile": {
			"ID": "",
			"Name": "",
			"Email": "",
			"EmailVerified": false,
			"Premium": false,
			"MasterPasswordHint": "",
			"Culture": "",
			"TwoFactorEnabled": false,
			"Key": "",
			"PrivateKey": "",
			"SecurityStamp": "",
			"Organizations": null
		},
		"Folders": null,
		"Ciphers": null,
		"Domains": {
			"EquivalentDomains": null,
			"GlobalEquivalentDomains": null
		}
	}
}

Finally, do you have two-factor auth enabled?

I do not have 2FA enabled, I should though and I will. Does bitw support 2FA?

If you share your contact details I can give you the password for my dummy test account. If you can reproduce the issue with that, you can share all the data then, as it has no sensitive information.

I'll email you using the email address on your website.

from bitw.

mvdan avatar mvdan commented on May 29, 2024

Hmm, sync is just failing entirely then.

I do not have 2FA enabled, I should though and I will. Does bitw support 2FA?

It does. There's a test for it, even.

I'll email you using the email address on your website.

I've emailed you the passwords for the dummy test accounts.

from bitw.

AndreasBackx avatar AndreasBackx commented on May 29, 2024

Okay so I've tested it with the information you gave and the sync seems to run without any output/error. What would you like me to test next perhaps?

from bitw.

mvdan avatar mvdan commented on May 29, 2024

Ah, I have an idea. None of my tests have any secret fields, so maybe I just got the decoding bit wrong. Let me give it a try.

from bitw.

mvdan avatar mvdan commented on May 29, 2024

Yeah, that was it - I can reproduce now that I've added fancier secrets to my test account. Should be fixed soon.

from bitw.

AndreasBackx avatar AndreasBackx commented on May 29, 2024

Sweet, thanks for being so quick to respond. Let me know when I can give it a shot.

from bitw.

mvdan avatar mvdan commented on May 29, 2024

I've fixed the error, though you can't use the custom fields in any way yet.

from bitw.

AndreasBackx avatar AndreasBackx commented on May 29, 2024

Thanks once more, sync seems to work now. 😀

from bitw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.