#include #include #include int main() { auto store = std::make_shared(); Void::Async::ManualExecutor exec; Void::SecurityAsync::AuthenticatorOptions opts{}; opts.dummy_hash_strength = Void::Security::PasswordHashStrength::Interactive; auto auth = Void::SecurityAsync::Authenticator::create(store, exec, opts); if (!auth.has_value()) { return 1; } if ((*auth)->stats().active_password_jobs != 0) { return 2; } (void)(*auth)->close_and_join(); return 0; }