[Bug]: obj signurl should reject times > the limit
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start at the linode-cli obj signurl command entry point and reproduce the behavior with an expiration of +31536000. Trace how expiration is validated, then add coverage for rejecting values above 86400 seconds and confirm that valid 24-hour expirations still work.
Written by the indexing model from the issue text.
Description
CLI Version
linode-cli v5.67.0 Built from spec version 4.224.0
Command
linode-cli obj signurl <BUCKET> <OBJECT> +31536000 happily spits out a URL, but trying to access it will give Access Denied.
Reducing the expiration to 24h works.
Given that there's a limit, the command should reject expiration times above the limit and error out.
Output
No response
Expected Behavior
Error: Expiration above limit (86400s / 24h).
Actual Behavior
Steps to Reproduce
No response
- Dominant language
- Python
- Stars
- 442
- Forks
- 159
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linode/linode-cli
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
linode/linode-cli#859 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#868 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
linode/linode-cli#825 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#788 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
linode/linode-cli#769 · 7 comments ·
All issues in linode/linode-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100