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

Enable HTTP in a development enviroment #116

Open
zauberstuhl opened this issue Aug 22, 2019 · 4 comments
Open

Enable HTTP in a development enviroment #116

zauberstuhl opened this issue Aug 22, 2019 · 4 comments

Comments

@zauberstuhl
Copy link

Please Describe The Problem To Be Solved

Following line breaks my local dev setup cause I am obviously not using SSL:
https://github.com/go-fed/activity/blob/master/pub/util.go#L1005

(Optional): Suggest A Solution

Introduce a development flag in util.go to switch behavior.

@cjslep
Copy link
Member

cjslep commented Sep 1, 2019

Thanks for identifying this issue. I'll take a look at fixing this soon.

@zauberstuhl
Copy link
Author

Why do you enforce ssl with the lib? Is this part of the specification?
Otherwise I would say its up to the project implementation, no?

@cjslep
Copy link
Member

cjslep commented Sep 17, 2019

It's not a part of the specification. I strongly feel that HTTPS only should be used for ActivityPub based software in production. I don't have a problem with HTTP or self-signed certs plus HTTPS being used for ease of development.

Do you see benefits for using HTTP in production Fediverse software?

@zauberstuhl
Copy link
Author

Do you see benefits for using HTTP in production Fediverse software?

no not really

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

No branches or pull requests

2 participants