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

Add server initialization and owner handling #7

Merged
merged 13 commits into from
Jan 17, 2025
Merged

Add server initialization and owner handling #7

merged 13 commits into from
Jan 17, 2025

Conversation

thebjorn
Copy link
Owner

No description provided.

@@ -19,7 +18,7 @@ def get(key, app='*', env='*'):
Returns:
The value of the key.
"""
with cd(os.environ['SEEQRET']):
with seeqret_dir():
cipher = load_symetric_key('seeqret.key')
# open the database in read-only mode
Copy link
Owner Author

Choose a reason for hiding this comment

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

Suggested change
# open the database in read-only mode
# open the database in read-only mode

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 46.26866% with 108 lines in your changes missing coverage. Please review.

Project coverage is 73.91%. Comparing base (af36705) to head (664bdab).

Files with missing lines Patch % Lines
seeqret/seeqret_init.py 28.57% 60 Missing and 5 partials ⚠️
seeqret/main.py 50.00% 23 Missing ⚠️
seeqret/cli_group_server.py 50.00% 10 Missing ⚠️
seeqret/run_utils.py 65.21% 7 Missing and 1 partial ⚠️
seeqret/cli_group_add.py 66.66% 1 Missing ⚠️
seeqret/cli_group_rm.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   78.65%   73.91%   -4.74%     
==========================================
  Files          31       33       +2     
  Lines        1054     1154     +100     
  Branches      111      132      +21     
==========================================
+ Hits          829      853      +24     
- Misses        178      251      +73     
- Partials       47       50       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thebjorn thebjorn merged commit b75718a into master Jan 17, 2025
17 checks passed
@thebjorn thebjorn deleted the dev/server branch January 17, 2025 10:03
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.

2 participants