Giter Club home page Giter Club logo

Comments (6)

emersion avatar emersion commented on May 14, 2024

You're doing it right. The password is the base64-encoded string. Can you try to netcat into the IMAP server and authenticate by typing 001 LOGIN username password?

I've just checked with single password and two password mode, and it works for me™.

from hydroxide.

underthecocotree avatar underthecocotree commented on May 14, 2024

I managed to sort it out on thunderbird.

I noticed two things about my installation.

  • I had not installed the GOPATH and GOROOT
  • I was running hydroxide from my ~/ directory, which saved auth.json in my home directory, I don't know if that makes any difference. I am running the command from the bin/ directory now (So I have no idea if it was not reading the auth.json file properly)

Mail.app seems to have a bug which doesn't save the Allow insecure authentication setting. So I think the minute I try to connect Mail.app blocks the request because it's insecure.

from hydroxide.

emersion avatar emersion commented on May 14, 2024

Ah, this auth.json should be documented - and stored at a fixed location by default maybe?

TLS should also be supported - that's planned.

from hydroxide.

underthecocotree avatar underthecocotree commented on May 14, 2024

TLS would be great, I understand that might take a while.

About auth.json
If it is at the Readme file then people should be able to see what needs to be done and act accordingly.

If the file can be added to relation of where hydroxide resides, I guess it would work and read it from there. Some people might have different installations so how do you make sure it is always written where it is accessible?

I am not sure if the auth.json is read by imap and smtp. If they are, the best thing would be to exit and print a message. Something along the lines of auth.json file not found

My limited understanding is that auth.json is read by /auth/auth.go

func readCachedAuths() (map[string]string, error) {
	f, err := os.Open(authFile)
	if os.IsNotExist(err) {

                // print auth.json file not found and exit?

		return nil, nil
	} else if err != nil {

               // print out error

		return nil, err
	}
	defer f.Close()

PS: I am not familiar with Go at all

from hydroxide.

hkujari avatar hkujari commented on May 14, 2024

About Protonmail Bridge (Mac 10.15.7) and the freshest Bridge. Never have been able to make B work as long as it have been around. Three passwords (2 for browser based site and one from Bridge). Nothing works. All imaginable combinations and permutations tried. I have removed p-mail account from my Apple Mail, removed account from System preferences, re-installed it &c. Any ideas? —Harry Kujari
PS: From the view of the Bridge App I am »Connected» (it seems to be in with correct credentials).

from hydroxide.

emersion avatar emersion commented on May 14, 2024

@hkujari: this repo isn't about the official ProtonMail bridge.

from hydroxide.

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.