SeedShield 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 SeedShield
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,205 @@
1
+ Metadata-Version: 2.1
2
+ Name: SeedShield
3
+ Version: 0.0.1
4
+ Summary: Secure BIP39 word viewer with masking and reveal functionality
5
+ Author-email: Barlog951 <barlog951@gmail.com>
6
+ Project-URL: Documentation, https://github.com/Barlog951/SeedShield/blob/main/README.md
7
+ Project-URL: Source Code, https://github.com/Barlog951/SeedShield
8
+ Project-URL: Bug Tracker, https://github.com/Barlog951/SeedShield/issues
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: End Users/Desktop
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.6
16
+ Classifier: Programming Language :: Python :: 3.7
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Security
23
+ Requires-Python: >=3.6
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: pyperclip>=1.8.0
27
+ Provides-Extra: test
28
+ Requires-Dist: pytest>=6.0; extra == "test"
29
+ Requires-Dist: pytest-timeout>=2.1.0; extra == "test"
30
+ Requires-Dist: pytest-cov; extra == "test"
31
+ Requires-Dist: pylint; extra == "test"
32
+ Requires-Dist: flake8; extra == "test"
33
+ Requires-Dist: mypy; extra == "test"
34
+ Provides-Extra: windows
35
+ Requires-Dist: windows-curses; extra == "windows"
36
+ Provides-Extra: dev
37
+ Requires-Dist: build; extra == "dev"
38
+ Requires-Dist: twine; extra == "dev"
39
+
40
+ # SeedShield
41
+
42
+ A secure BIP39 seed phrase viewer with enterprise-grade security features, designed for safe interaction with cryptocurrency seed phrases. SeedShield emphasizes security and usability while maintaining zero data persistence.
43
+
44
+ ## Key Features
45
+
46
+ ### Security-First Design
47
+ - Zero data persistence - all operations occur in volatile memory
48
+ - Secure memory handling with automatic cleanup and sanitization
49
+ - Advanced masking system with consistent pattern length
50
+ - Timed reveal system with 3-second auto-mask
51
+ - Intelligent clipboard management with automatic clearing
52
+ - Comprehensive input validation and sanitization
53
+ - Anti-keylogging protection via mouse-based interaction
54
+ - Secure error handling with proper cleanup
55
+ - TTY/non-TTY mode handling for secure input
56
+ - Adaptive timeout mechanisms
57
+
58
+ ### User Interface
59
+ - Interactive word reveal with hover functionality
60
+ - Sequential phrase revelation mode
61
+ - Multi-source input support (file/clipboard)
62
+ - Responsive terminal interface
63
+ - Cross-platform support (Windows/Linux/MacOS)
64
+ - Dynamic scrolling for long word lists
65
+ - Clear command feedback
66
+
67
+ ## Security Guidelines
68
+
69
+ ### Operating Environment
70
+ - Use an air-gapped computer whenever possible
71
+ - Run on a secure, clean operating system
72
+ - Recommended: Live Linux distribution
73
+ - Avoid shared or public computers
74
+ - Maintain physical security awareness
75
+ - Check for surveillance devices
76
+ - Use privacy screens when necessary
77
+ - Implement proper memory management
78
+ - Clear system RAM after usage
79
+ - Utilize secure memory wiping tools
80
+
81
+ ### Usage Best Practices
82
+
83
+ #### Input Management
84
+ 1. Prefer clipboard input for multiple words (use 'v' command)
85
+ 2. Clipboard contents are automatically cleared after use
86
+ 3. Double-check word positions before revelation
87
+ 4. All input is automatically validated and sanitized
88
+ 5. Invalid inputs are safely rejected
89
+
90
+ #### Word Revelation Protocol
91
+ 1. Use sequential reveal mode ('s' command) for systematic checking
92
+ 2. Utilize mouse hover for temporary word exposure
93
+ 3. Allow auto-masking timer to complete
94
+ 4. One word visible at a time for maximum security
95
+ 5. Use scroll navigation for longer lists
96
+
97
+ ## Installation
98
+
99
+ ```bash
100
+ # Install via pip
101
+ pip install seedshield
102
+
103
+ # Install with development dependencies
104
+ pip install -e ".[test]"
105
+
106
+ # Using Docker
107
+ docker run -it --rm seedshield
108
+ docker run -it --rm -v $(pwd)/input.txt:/input.txt seedshield -i /input.txt
109
+ ```
110
+
111
+ ## Usage Guide
112
+
113
+ ### Basic Commands
114
+ ```bash
115
+ # Start interactive mode
116
+ seedshield
117
+
118
+ # Use custom wordlist
119
+ seedshield -w custom_words.txt
120
+
121
+ # Load from positions file
122
+ seedshield -i positions.txt
123
+ ```
124
+
125
+ ### Interactive Controls
126
+ - `v` - Import and validate clipboard data
127
+ - `n` - New input mode
128
+ - `s` - Sequential reveal mode
129
+ - `r` - Reset current sequence
130
+ - `q` - Safe exit with cleanup
131
+ - Mouse hover - Temporary reveal (3s timeout)
132
+ - ↑↓ Arrow keys - Scroll through lists
133
+
134
+ ## Development
135
+
136
+ ### Getting Started
137
+ ```bash
138
+ # Clone repository
139
+ git clone https://github.com/Barlog951/SeedShield.git
140
+
141
+ # Setup development environment
142
+ cd seedshield
143
+ pip install -e ".[test]"
144
+
145
+ # Run test suite
146
+ pytest
147
+ ```
148
+
149
+ ### Docker Build
150
+
151
+ #### Building from Source
152
+ ```bash
153
+ # Clone the repository
154
+ git clone https://github.com/Barlog951/SeedShield.git
155
+ cd SeedShield
156
+
157
+ # Build local image
158
+ chmod +x build.sh
159
+ ./build.sh
160
+
161
+ # Test run
162
+ docker run -it --rm seedshield --help
163
+
164
+ # Run with mounted input file
165
+ docker run -it --rm -v $(pwd)/input.txt:/input.txt seedshield -i /input.txt
166
+
167
+ # Run interactive mode
168
+ docker run -it --rm seedshield
169
+ ```
170
+ Note: Built image contains minimal dependencies and runs as non-root user for security.
171
+
172
+ ### Technical Architecture
173
+ - Python 3.6+ with type hints
174
+ - Comprehensive test suite (90% coverage)
175
+ - Automated security scanning
176
+ - Platform-agnostic clipboard handling
177
+ - Curses-based terminal interface
178
+ - Modular design with separate secure interface
179
+
180
+ ### Code Organization
181
+ - `main.py` - Entry point and argument handling
182
+ - `secure_word_interface.py` - Core interface coordination
183
+ - `input_handler.py` - Secure input processing
184
+ - `display_handler.py` - UI rendering and masking
185
+ - `state_handler.py` - State management and security
186
+ - `tests/` - Comprehensive test suite
187
+ - `data/` - Default wordlists
188
+
189
+ ## Security Philosophy
190
+ SeedShield implements a defense-in-depth approach:
191
+ - Multiple independent security layers
192
+ - Fail-secure design principles
193
+ - Memory-safe operations
194
+ - Input validation at all levels
195
+ - Automatic security timeout mechanisms
196
+ - No data persistence
197
+ - Secure error handling
198
+
199
+ ## Legal Notice
200
+
201
+ ### Disclaimer
202
+ SeedShield provides secure seed phrase verification capabilities but should be used as part of a comprehensive security strategy. Users are responsible for implementing appropriate system-level security measures. While SeedShield incorporates robust security features, it should not be relied upon as a sole security measure.
203
+
204
+ ### License
205
+ Released under the MIT License. See the LICENSE file for complete terms.
@@ -0,0 +1,13 @@
1
+ seedshield/__init__.py,sha256=IQaMo8wz0PZttdxxajXj_4_IwrYDsbZw8Axn-gRe7_A,379
2
+ seedshield/display_handler.py,sha256=yYtJAUf4JCtzD5OfWCsyoHRHo1Z-ssil3z9pB7HZmpw,4623
3
+ seedshield/input_handler.py,sha256=1yXt2XVaqn7TRwpvzKPl5Ofa4qyGToTzay74DpIqxlc,4006
4
+ seedshield/main.py,sha256=599e4F2M9Ypkc29oqaPT8yem5DWqTToGJx2MNVr8cYE,1370
5
+ seedshield/secure_word_interface.py,sha256=dij9UyGsPI3xGAhY3BvIfvf38HXjDt9A_5JcOWq6KPw,6766
6
+ seedshield/state_handler.py,sha256=L3n7tZkoIDXnGkZRW5bBLa4IkckAd_XTkXMgzQxWKn4,2490
7
+ seedshield/data/english.txt,sha256=L17tU6Rye0v4iA2PPxme_JDlhQNkbZ_47_Oi7Tsk29o,13116
8
+ SeedShield-0.0.1.dist-info/LICENSE,sha256=ZhuARPhLvptZDL8Ekv-1SFkMx7K0urpT9vFEQGSA5_Q,1066
9
+ SeedShield-0.0.1.dist-info/METADATA,sha256=RRsOeYNzzWqXFY5XwjlUZ3HGmjhP8Cvh-2aZaRDhPyU,6533
10
+ SeedShield-0.0.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
+ SeedShield-0.0.1.dist-info/entry_points.txt,sha256=XXhL9pmZd73vrlhqOOXYtUS5UN1A8uoH6bH_Tugosrs,52
12
+ SeedShield-0.0.1.dist-info/top_level.txt,sha256=PW5TkAwK23bzoxttobap8lWbZyP75zWiBP5eTGZsUII,11
13
+ SeedShield-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ seedshield = seedshield.main:main
@@ -0,0 +1 @@
1
+ seedshield
seedshield/__init__.py ADDED
@@ -0,0 +1,11 @@
1
+ """
2
+ SeedShield: Secure BIP39 seed phrase viewer with enterprise-grade security features.
3
+ """
4
+
5
+ from .secure_word_interface import SecureWordInterface
6
+ from .input_handler import InputHandler
7
+ from .display_handler import DisplayHandler
8
+ from .state_handler import StateHandler
9
+
10
+ __version__ = "0.0.1"
11
+ __all__ = ['SecureWordInterface', 'InputHandler', 'DisplayHandler', 'StateHandler']