mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
* This uses the great libcotp library, I stripped it down to fit inside the repository. * This is a security-convenience trade-off, and it's made very clear with the tooltips on the settings page. * It's still secured by your system keychain, and it's up to the users whether that's good enough for them. Eventually down the line I would like to support more esoteric keychains such as Bitwarden or KeePass. * Right now it's only integrated into the auto-login desktop feature, but there will eventually be like an "auto-fill OTP" button in the main window. There's still a lot to clean up with these new features but they work a little at least :-)
25 lines
No EOL
633 B
CMake
25 lines
No EOL
633 B
CMake
add_subdirectory(libbaseencode)
|
|
add_subdirectory(libcotp)
|
|
|
|
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
Corrosion
|
|
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
|
|
GIT_TAG v0.2.1
|
|
)
|
|
|
|
FetchContent_MakeAvailable(Corrosion)
|
|
|
|
FetchContent_Declare(
|
|
libphysis
|
|
GIT_REPOSITORY https://git.sr.ht/~redstrate/libphysis
|
|
GIT_TAG main
|
|
)
|
|
|
|
FetchContent_MakeAvailable(libphysis)
|
|
|
|
corrosion_import_crate(MANIFEST_PATH ${libphysis_SOURCE_DIR}/Cargo.toml)
|
|
|
|
target_include_directories(physis INTERFACE ${libphysis_SOURCE_DIR}/target/public)
|
|
target_link_libraries(physis INTERFACE unshield) |