Skip to content

Commit b6135bd

Browse files
Merge pull request #5 from dreamer-coding/main
2 parents 2ac309c + 22bf080 commit b6135bd

27 files changed

+338
-348
lines changed

.github/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
builddir
22
.DS_Store
33
subprojects/**
4-
.vscode/**
Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
2+
name: 🐞 Bug Report
3+
about: Report a reproducible issue or unexpected behavior
4+
title: "[BUG] "
5+
labels: bug
86
---
97

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
8+
## Description
9+
<!-- A clear and concise description of the problem. -->
10+
11+
## Steps to Reproduce
12+
1. Go to '...'
13+
2. Click on '...'
14+
3. See error
15+
16+
## Expected Behavior
17+
<!-- What you expected to happen. -->
1218

13-
**To Reproduce**
14-
Steps to reproduce the behavior.
19+
## Actual Behavior
20+
<!-- What actually happened. Include logs or screenshots if possible. -->
1521

16-
**Expected behavior**
17-
A clear and concise description of what you expected to happen.
22+
## Environment
23+
- OS: [e.g. Linux, macOS, Windows]
24+
- Compiler/Interpreter: [e.g. GCC 13, Python 3.12]
25+
- Version/Commit: [e.g. v1.2.3 or commit SHA]
1826

19-
**Desktop (please complete the following information):**
20-
- Host OS : `???`
21-
- SKD Version: `???`
27+
## Additional Context
28+
<!-- Any other info that might help us debug. -->
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
2+
name: ✨ Feature Request
3+
about: Suggest a new feature or improvement
4+
title: "[FEATURE] "
5+
labels: enhancement
86
---
97

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
## Summary
9+
<!-- Briefly describe the feature or improvement. -->
10+
11+
## Motivation
12+
<!-- Why is this feature important? What problem does it solve? -->
1213

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
14+
## Proposed Solution
15+
<!-- Describe how you'd like to see it implemented (if you have ideas). -->
1516

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
17+
## Alternatives Considered
18+
<!-- If you considered other approaches, mention them here. -->
1819

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
20+
## Additional Context
21+
<!-- Optional: Extra information, diagrams, or references. -->

.github/ISSUE_TEMPLATE/security.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: 🔒 Security Issue
3+
about: Report a potential security vulnerability or concern
4+
title: "[SECURITY] "
5+
labels: security
6+
---
7+
8+
⚠️ **IMPORTANT: Do NOT share sensitive details in this public issue.**
9+
This template is for alerting maintainers about a potential security problem **without disclosing exploit details**.
10+
11+
## Summary
12+
<!-- Briefly describe what you found, without providing reproduction steps or exploit code. -->
13+
14+
## Impact
15+
<!-- What might be affected if this is a real issue? (e.g., data leakage, crash, privilege escalation) -->
16+
17+
## Next Steps
18+
Maintainer(s) will review this issue and contact you to discuss details privately.
19+
If you are comfortable, please share how we can reach you:
20+
21+
- **Preferred Contact:** (GitHub handle, email, X/Facebook username, etc.)
22+
23+
---
24+
25+
**Guidelines for Safe Reporting:**
26+
- Do not share exploit code or detailed steps here.
27+
- Do not share user data or private keys.
28+
- Wait for maintainer response before disclosing further details.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
# Fossil XSDK Pull Request
1+
# 🛠 Pull Request
22

33
## Description
4-
<!-- Briefly describe the purpose and scope of this pull request. -->
4+
<!-- Briefly explain what this pull request does and why it’s needed. -->
55

6-
## Testing
7-
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->
6+
## Related Issue(s)
7+
<!-- If this PR fixes or is related to an issue, link it here. Example: Closes #42 -->
8+
9+
## Changes Made
10+
- [ ] Code cleanup
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Documentation update
14+
- [ ] Other (explain below)
815

916
## Checklist
10-
- [ ] Code follows the project's coding standards.
11-
- [ ] Tests have been added or updated to cover the changes.
12-
- [ ] Documentation has been updated to reflect the changes.
13-
- [ ] The code has been reviewed by team members.
14-
- [ ] All checks and tests pass.
15-
- [ ] The license header and notices are updated where necessary.
17+
- [ ] Code builds and passes tests
18+
- [ ] No breaking changes introduced
19+
- [ ] Documentation updated if necessary
1620

17-
## License
18-
This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.
21+
## Additional Notes
22+
<!-- Optional: Anything else reviewers should know. -->

.github/ciimage/Dockerfile.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ ENV CC=clang \
3636
WORKDIR /workspace
3737

3838
# Default command
39-
CMD ["bash"]
39+
CMD ["bash"]

.github/workflows/crossfile_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0
2727

2828
- name: Set up Python
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@v6
3030
with:
3131
python-version: '3.12'
3232

.github/workflows/meson_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: '3.12'
3030

@@ -59,7 +59,7 @@ jobs:
5959
fetch-depth: 0
6060

6161
- name: Set up Python
62-
uses: actions/setup-python@v5
62+
uses: actions/setup-python@v6
6363
with:
6464
python-version: '3.12'
6565

@@ -116,7 +116,7 @@ jobs:
116116
echo "CXX=/mingw${{ matrix.architecture }}/bin/g++.exe" >> $GITHUB_ENV
117117
118118
- name: Set up Python
119-
uses: actions/setup-python@v5
119+
uses: actions/setup-python@v6
120120
with:
121121
python-version: '3.12'
122122

@@ -157,7 +157,7 @@ jobs:
157157
}
158158
159159
- name: Set up Python
160-
uses: actions/setup-python@v5
160+
uses: actions/setup-python@v6
161161
with:
162162
python-version: '3.12'
163163

SECURITY.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Security Policy
2+
3+
I take security seriously at Fossil Logic.
4+
5+
## Reporting a Vulnerability
6+
7+
If you find a potential vulnerability:
8+
9+
1. **Do not disclose details publicly.**
10+
2. Open a [🔒 Security Issue](https://github.com/fossillogic/fossil-cryptic/issues/new?template=security.md) and provide a high-level summary.
11+
3. Optionally include your contact information so maintainers can follow up privately.
12+
13+
Maintainers will respond as soon as possible to gather details safely and coordinate a fix.
14+
15+
## Disclosure Policy
16+
17+
We ask researchers and users to:
18+
- Give us time to investigate and patch before sharing details publicly.
19+
- Work with us in good faith to ensure users are not put at risk.

code/logic/auth.c

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
1-
/*
1+
/**
22
* -----------------------------------------------------------------------------
33
* Project: Fossil Logic
44
*
5-
* This file is part of the Fossil Logic project, which aims to develop high-
6-
* performance, cross-platform applications and libraries. The code contained
7-
* herein is subject to the terms and conditions defined in the project license.
5+
* This file is part of the Fossil Logic project, which aims to develop
6+
* high-performance, cross-platform applications and libraries. The code
7+
* contained herein is licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License. You may obtain
9+
* a copy of the License at:
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
* License for the specific language governing permissions and limitations
17+
* under the License.
818
*
919
* Author: Michael Gene Brockus (Dreamer)
20+
* Date: 04/05/2014
1021
*
11-
* Copyright (C) 2024 Fossil Logic. All rights reserved.
22+
* Copyright (C) 2014-2025 Fossil Logic. All rights reserved.
1223
* -----------------------------------------------------------------------------
1324
*/
1425
#include "fossil/cryptic/auth.h"

0 commit comments

Comments
 (0)