diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-02 16:18:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-02 16:18:04 +0300 |
commit | 47c32c25824beed156caa0511b8466321ecc9b1c (patch) | |
tree | 4af6dd3eb349594131d7b293a43d6a68939d2810 | |
parent | ca1985fca068939cb4ceb368d2b241192f2d9517 (diff) |
Use rsautl openssl command instead of pkeyutl
-rw-r--r-- | bpkg/auth.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index fbbd05f..11c18b5 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -670,9 +670,9 @@ namespace bpkg try { process pr (start_openssl ( - co, "pkeyutl", + co, "rsautl", { - "-verifyrecover", + "-verify", "-certin", "-inkey", f.string ().c_str () @@ -765,7 +765,7 @@ namespace bpkg try { process pr (start_openssl ( - co, "pkeyutl", {"-sign", "-inkey", key_name.c_str ()}, true, true)); + co, "rsautl", {"-sign", "-inkey", key_name.c_str ()}, true, true)); try { |