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

HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"しか使えない #12678

Closed
argrath opened this issue Dec 15, 2023 · 0 comments
Labels
🐛Bug Unexpected behavior 🌌Federation The Federation/ActivityPub feature packages/backend Server side specific issue/PR

Comments

@argrath
Copy link

argrath commented Dec 15, 2023

💡 Summary

HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"を決め打ちしています。

しかし、RFC 3230 4.1.1 は:

All digest-algorithm values are case-insensitive.

としています。

🥰 Expected Behavior

HTTP Digestヘッダのアルゴリズム部分に小文字の"sha-256"(あるいはその混合)も許容する。

🤬 Actual Behavior

HTTP Digestヘッダのアルゴリズム部分に大文字の"SHA-256"のみを許容している。

📝 Steps to Reproduce

HTTP Digestヘッダのアルゴリズム部分に小文字の"sha-256"を使う。

💻 Frontend Environment

* Server URL: https://misskey.io/
* Misskey: 2023.11.1

🛰 Backend Environment (for server admin)

No response

@argrath argrath added the ⚠️bug? This might be a bug label Dec 15, 2023
@syuilo syuilo added 🐛Bug Unexpected behavior packages/backend Server side specific issue/PR 🌌Federation The Federation/ActivityPub feature and removed ⚠️bug? This might be a bug labels Dec 16, 2023
@syuilo syuilo closed this as completed in 9f49b9f Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior 🌌Federation The Federation/ActivityPub feature packages/backend Server side specific issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants