Commit graph

544 commits

Author SHA1 Message Date
Carson McManus
6d2b10022e flush output before waiting for input in prompt_char_impl, fixes #103 2021-08-29 20:36:51 -04:00
Carson McManus
bb6c733999 save empty manifest directly after prompting to create one 2021-08-29 20:17:17 -04:00
Carson McManus
b941415715 update release script 2021-08-27 11:39:57 -04:00
Carson McManus
add51351c1
Merge pull request #100 from mads256h/add-pkgbuild
Add PKGBUILD
2021-08-26 15:15:23 -04:00
Mads Mogensen
86733d50a8
Add PKGBUILD
The one generated with cargo-pkgbuild is really broken
2021-08-26 19:32:52 +02:00
Carson McManus
6d546e6298
Merge pull request #99 from dyc3/remove-old-stuff
remove all the old C# stuff
2021-08-25 19:40:58 -04:00
Carson McManus
3c05e95fda remove all the old C# stuff 2021-08-25 19:37:14 -04:00
Carson McManus
5153bcd1dc update readme and release script 2021-08-25 13:04:06 -04:00
Carson McManus
692d431fab Release steamguard-cli v0.4.0 2021-08-25 12:18:32 -04:00
Carson McManus
26184d5544 replace old release if it is still a draft 2021-08-25 12:18:27 -04:00
Carson McManus
e9ca3f6a42 Release steamguard-cli v0.4.0 2021-08-25 12:06:54 -04:00
Carson McManus
a2ab02c3a2 supply version in cargo toml 2021-08-25 12:06:49 -04:00
Carson McManus
6aab910403 Release steamguard-cli v0.4.0 2021-08-25 12:04:41 -04:00
Carson McManus
2e6973be01 Release steamguard v0.4.0 2021-08-25 12:04:18 -04:00
Carson McManus
de3818c5f9
Merge pull request #97 from dyc3/release
add full-release script, add AUR PKGBUILD automation
2021-08-25 12:02:10 -04:00
Carson McManus
9c4ca31144 add full-release script, add AUR PKGBUILD automation 2021-08-25 11:56:25 -04:00
Carson McManus
a9773bcbc0 fix package-deb script 2021-08-25 10:48:03 -04:00
Carson McManus
f656dc4853
Merge pull request #96 from dyc3/release
Update lots of things to prepare for release
2021-08-25 10:30:58 -04:00
Carson McManus
1e2d82afb5 remove the need for nightly toolchain 2021-08-25 10:26:34 -04:00
Carson McManus
1931e11706 rename package-deb.sh 2021-08-25 10:20:47 -04:00
Carson McManus
f892f1afdc more misc cargo toml update 2021-08-25 09:22:36 -04:00
Carson McManus
e5ee4b64de update readme 2021-08-25 09:18:13 -04:00
Carson McManus
5157a14ff4
Merge pull request #95 from dyc3/improve-ux
improve ux
2021-08-25 09:12:48 -04:00
Carson McManus
ece0f19ec0 cargo fmt 2021-08-25 09:09:02 -04:00
Carson McManus
69169708ef fix finalization code flow 2021-08-25 09:07:58 -04:00
Carson McManus
001e507d30 print revocation code during setup process 2021-08-25 09:06:42 -04:00
Carson McManus
c119484c1f binary gets renamed to steamguard from steamguard-cli 2021-08-25 08:49:02 -04:00
Carson McManus
4e57ce073a licensing and stuff 2021-08-25 08:36:02 -04:00
Carson McManus
c9629f62e3 move scripts to folder 2021-08-25 08:21:22 -04:00
Carson McManus
feac39ae0a update readme 2021-08-25 00:40:07 -04:00
Carson McManus
5a004efd06 update package metadata and stuff 2021-08-25 00:26:07 -04:00
Carson McManus
f3e6c11240 enable link time optimization for release builds 2021-08-25 00:26:07 -04:00
Carson McManus
140b2abda6
Merge pull request #94 from dyc3/secrets
Implement a special type to hold 2fa secret that gets zeroed on drop
2021-08-25 00:23:28 -04:00
Carson McManus
bf0b6d1572 replace secrets crate with secrecy 2021-08-25 00:19:17 -04:00
Carson McManus
ce2285d617 when encrypting, use 128 byte buffers instead of 256 byte buffers because Pkcs7 padding 2021-08-24 23:24:17 -04:00
Carson McManus
4e09b98d07 add TwoFactorSecret type, which zeros out memory when deallocated 2021-08-24 22:56:25 -04:00
Carson McManus
73c3f54051
Merge pull request #92 from dyc3/encryption
encryption
2021-08-20 11:13:52 -04:00
Carson McManus
49a264ba3f move incorrect passkey error 2021-08-20 10:49:43 -04:00
Carson McManus
fdc606fb0e add a unit test for encryption 2021-08-20 09:37:55 -04:00
Carson McManus
8722e9f294 move around fixtures 2021-08-19 17:45:20 -04:00
Carson McManus
71edb794c1 move encryption key maker into LegacySdaCompatible impl 2021-08-19 17:15:27 -04:00
Carson McManus
e611e31ad3 move encryption stuff into new module 2021-08-19 16:55:57 -04:00
Carson McManus
58a13d8bab update comment 2021-08-19 14:29:59 -04:00
Carson McManus
aa1fa6a318 fix not being able to encrypt file contents if it was longer than a certain amount of bytes 2021-08-19 14:15:38 -04:00
Carson McManus
49aea80080 decryption makes slightly more sense now 2021-08-19 09:55:52 -04:00
Carson McManus
d3cdc309ed prompt user for encryption passkey if not provided 2021-08-17 19:20:57 -04:00
Carson McManus
e1f86d3750 fix passkey arg 2021-08-17 19:04:02 -04:00
Carson McManus
f1158f9a3d implement decrypt 2021-08-17 18:54:16 -04:00
Carson McManus
531e69ea88 prompt for passkey if not provided 2021-08-17 18:24:26 -04:00
Carson McManus
1b1f12f423 implement saving encrypted maFiles 2021-08-17 18:24:26 -04:00