Skip to content
Snippets Groups Projects

Add standalone implementation

Merged Recolic requested to merge impl/py-standalone into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
  • 8d48c07d
    . · 8d48c07d
    Recolic authored
+ 5
0
@@ -44,6 +44,11 @@ int main(int argc, char **argv) {
return 3;
}
#ifdef KEYRING_IMPL_standalone
rlog.warning("This implementation 'standalone' always unlocks your default keyring. Keyring name `{}` will be ignored. Build with KEYRING_IMPL=lib if necessary.", keyring_and_pswd.at(0));
keyring_and_pswd.at(0) = "_ignored_";
#endif
auto res = do_unlock(keyring_and_pswd.at(0), keyring_and_pswd.at(1));
auto msg = keyringResultToString(res);
if(res == GNOME_KEYRING_RESULT_OK)
Loading