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

feat(miniooni): add authentication to oonirun #1627

Merged
merged 14 commits into from
Jun 27, 2024

Conversation

ainghazal
Copy link
Contributor

@ainghazal ainghazal commented Jun 25, 2024

Checklist

Description

This commit adds a flag to pass an authentication bearer token to the miniooni oonirun invocation.

Closes ooni/probe#2757.

internal/cmd/miniooni/main.go Outdated Show resolved Hide resolved
internal/oonirun/link.go Outdated Show resolved Hide resolved
internal/oonirun/v2.go Outdated Show resolved Hide resolved
internal/oonirun/v2.go Outdated Show resolved Hide resolved
internal/oonirun/v2_test.go Show resolved Hide resolved
internal/cmd/miniooni/auth.txt Outdated Show resolved Hide resolved
@ainghazal
Copy link
Contributor Author

@bassosimone I think I addressed all comments in the review

bassosimone and others added 4 commits June 27, 2024 18:31
- we don't need to care about tokens

- we need to care about existing/nonexisting newline at EOL
when there's just a single line in the file
Copy link
Contributor

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐳

@bassosimone bassosimone merged commit a73c754 into ooni:master Jun 27, 2024
16 of 18 checks passed
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

Successfully merging this pull request may close these issues.

feature request (miniooni): add ability to pass authentication headers
2 participants