kostassoid / lethe Goto Github PK
View Code? Open in Web Editor NEWSecure drive wipe
License: Apache License 2.0
Secure drive wipe
License: Apache License 2.0
Hey Kosta,
i´ve used your nice tool to wipa a 1,8TB HDD Seagate on Windows 10 v20H2 (Biuld 19042.1586).
The disk got filled randomly twice, but verification failed.
C:\WINDOWS\system32>cmd /K D:/downloads/lethe.exe wipe --blocksize=4k \Device\Harddisk1\Partition2
Wiping:
Device \Device\Harddisk1\Partition2
Size 1.82TB
Scheme Double random fill, 2 passes
- random fill
- random fill
Block size 4.00KB
Verification Last stage only
Are you sure? (type 'yes' to confirm): yes
Stage 1/2: Performing Random Fill
✔ Completed in 14 hours
Stage 2/2: Performing Random Fill
✔ Completed in 9 hours
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
Retrying previous stage at 2000263573504 in 3 seconds.
Stage 2/2: Performing Random Fill
✔ Completed in 0 seconds
Stage 2/2: Verifying Random Fill
❌ FAILED! Verification failed!
❌ Unexpected error: Verification failed!
C:\WINDOWS\system32>
C:\WINDOWS\system32>
Investigate the possibility of issuing Secure Wipe ATA command(s) for SSDs after normal fill/validate stages.
Currently the app will notify the user if the application is not running with elevated privileges. A better UX could be to actually request these privileges automatically using application manifests.
Sadly, rust does not currently support this. Relevant ticket in rust-lang: rust-lang/rfcs#721
There's a way to workaround that: https://crates.io/crates/winres
Should be simple enough to do for local builds. The potential challenge is the CI.
@Kostassoid Hi. I want to add a customized verification process, I've introduced new command line argument and the process should be if I send 20 the verification will be completed at 20% instead of 100%. So everytime if I send some number the verification should take place upto that count only not 100%.
Where do I need to make the change? Can you please guide a bit about the class or method where it is appropriate.
Thanks.
I've tried lethe list and it prints empty line on terminal. I've macOS Big Sur installed, What could be the issue? Can you please help?
I'm using Intellij and VSCode but I was unable to figure out how to build a 32 bit exe. Can anyone help me in this issue?
Can we achieve NIST data wipe technique using lethe or by modifying the existing schemes?
I've 3-4 external drives connected, When I initiate the wipe on 1 drive it starts wiping and when I start another process of LETHE and try to wipe the other drive it gives error "Unable to enumerate storage devices". How I can use it to wipe multiple drives?
The -l (list) command also doesn't work.
This is the error I get when I try to wipe the other drives if some are already in progress.
Unable to enumerate storage devices. : Cannot open device \?\Volume{7e6adb17-0000-0000-0000-100000000000}.:
Enable updates from CLI
I've tried lethe list command and it prints empty line. What could be the issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.