Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue federating with Akkoma: PEM error in pre-encapsulation boundary #132

Open
CutestNekoAqua opened this issue Nov 19, 2024 · 0 comments

Comments

@CutestNekoAqua
Copy link

Hi, my codebase (using this lib) has no issues federating with Misskey or Mastodon, but with Akkoma I get the following... I'll try to debug it myself but I'll post it here for tracking purposes...

thanks for any input anyone might give! And thanks for this awesome project, seriously!

[2024-11-19T23:05:46Z DEBUG activitypub_federation::http_signatures] Verifying with key -----BEGIN PUBLIC KEY-----
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA354LIqjr8EotuQtc2Gxu
    gdQFwcoRzJua/9hgxTDcEvRsnDmCBuMHqnkQwO+yy6PXZawqH1gR6s0o00GJIUuC
    OczynkUlnh3QhFvjn4epXvsH4wwswIsLsCeQELmH2ybOr+kd6IJ4B6oKtpd4qou2
    mgKFmOf7hBfn+z9eX6A7UMNGQUVOO4/gnVYE9MVG5rDQZC4IHNxqNHNwywODr9f+
    TNdywRFXhlZJ55apFrI+1sOro6oXZagKC3SouJDj18HqJYA1Cp8qL/h2GA35Mp1q
    uG0hbwHciHKQP1yRAEgpWk8Cv6XNpQmdmZ4qivaib9Wa/o0FOZB4rlZilOevEmNj
    1wIDAQAB
    -----END PUBLIC KEY-----

    , message (request-target): post /aprl/inbox
    content-length: 1708
    date: Tue, 19 Nov 2024 23:05:46 GMT
    digest: SHA-256=7aCZKxy8oLgJE36CDxHyY1cULYx+1jhIwnh71cIo68U=
    host: ap.beta.versia.social
[2024-11-19T23:05:46Z DEBUG actix_web::middleware::logger] Error in response: Error(ASN.1 error: PEM error: PEM error in pre-encapsulation boundary

    Stack backtrace:
       0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
                 at /home/aprl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.86/src/backtrace.rs:27:14
       1: <T as core::convert::Into<U>>::into
                 at /build/rustc-1.82.0-src/library/core/src/convert/mod.rs:759:9
       2: <versia_ap_layer::error::Error as core::convert::From<T>>::from
                 at ./src/error.rs:24:15
       3: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
                 at /build/rustc-1.82.0-src/library/core/src/result.rs:1987:27
       4: activitypub_federation::actix_web::inbox::receive_activity::{{closure}}
                 at /home/aprl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/activitypub_federation-0.5.8/src/actix_web/inbox.rs:34:5
       5: versia_ap_layer::http::http_post_user_inbox::{{closure}}
                 at ./src/http.rs:99:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant