[Bug 1946253] Review Request: rust-cryptoki - Rust-native wrapper around the PKCS #11 API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1946253

Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |zebob.m@xxxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |zebob.m@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #1 from Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> ---
 - Bump to 0.1.1

 - Explain the changes you made in fix metadata

# Initial patched metadata
# * Downgrade log to 0.4.13
Patch0:         cryptoki-fix-metadata.diff

 - The tests fail:

     Running
`/builddir/build/BUILD/cryptoki-0.1.0/target/release/deps/basic-f7cee1507995136e`
running 4 tests
test encrypt_decrypt ... FAILED
test import_export ... FAILED
test sign_verify ... FAILED
test login_feast ... FAILED
failures:
---- encrypt_decrypt stdout ----
thread 'encrypt_decrypt' panicked at 'called `Result::unwrap()` on an `Err`
value: LibraryLoading(DlOpen { desc: "/usr/local/lib/softhsm/libsofthsm2.so:
cannot open shared object file: No such file or directory" })',
tests/common.rs:15:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- import_export stdout ----
thread 'import_export' panicked at 'called `Result::unwrap()` on an `Err`
value: LibraryLoading(DlOpen { desc: "/usr/local/lib/softhsm/libsofthsm2.so:
cannot open shared object file: No such file or directory" })',
tests/common.rs:15:6
---- sign_verify stdout ----
thread 'sign_verify' panicked at 'called `Result::unwrap()` on an `Err` value:
LibraryLoading(DlOpen { desc: "/usr/local/lib/softhsm/libsofthsm2.so: cannot
open shared object file: No such file or directory" })', tests/common.rs:15:6
---- login_feast stdout ----
thread 'login_feast' panicked at 'called `Result::unwrap()` on an `Err` value:
LibraryLoading(DlOpen { desc: "/usr/local/lib/softhsm/libsofthsm2.so: cannot
open shared object file: No such file or directory" })', tests/common.rs:15:6
failures:
    encrypt_decrypt
    import_export
    login_feast
    sign_verify
test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out;
finished in 0.00s


>From their CI, this is how to run them:

%generate_buildrequires
%cargo_generate_buildrequires
echo "softhsm"

[…]

%if %{with check}
%check
export PKCS11_SOFTHSM2_MODULE=%{_libdir}/pkcs11/libsofthsm2.so
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
export SOFTHSM2_CONF=/tmp/softhsm2.conf
%cargo_test
%endif


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux