# \#public-key

**URL:** https://erlangforums.com/tag/public-key/358.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [How to validate the certificate chain in a JWT, including checking against provided CRLs?](https://erlangforums.com/t/how-to-validate-the-certificate-chain-in-a-jwt-including-checking-against-provided-crls/3827)

<div class="topic-metadata">

**Author:** [@albertocsouto](https://erlangforums.com/u/albertocsouto)\
**Replies:** 5\
**Last updated:** [August 6, 2024, 1:04pm UTC](https://erlangforums.com/t/how-to-validate-the-certificate-chain-in-a-jwt-including-checking-against-provided-crls/3827 "2024-08-06T13:04:22Z")

</div>

Hi, I need to validate the certificate chain in a JWT. This includes checking against provided CRLs. I’ve tried at first using public\_key:pkix\_crls\_validate, using as reference the test suite for public\_key. But I’ve en…

---

## [Whether attribute certificates can be used in the public\_key module.](https://erlangforums.com/t/whether-attribute-certificates-can-be-used-in-the-public-key-module/2930)

<div class="topic-metadata">

**Author:** [@tanaka](https://erlangforums.com/u/tanaka)\
**Replies:** 4\
**Last updated:** [December 19, 2023, 12:52pm UTC](https://erlangforums.com/t/whether-attribute-certificates-can-be-used-in-the-public-key-module/2930 "2023-12-19T12:52:27Z")

</div>

We are trying to implement a feature for issuing attribute certificates using records such as AttributeCertificate, which are defined in public\_key.hrl We checked if a certificate generated by the public\_key module coul…

---

## [How to encrypt files using PGP keys?](https://erlangforums.com/t/how-to-encrypt-files-using-pgp-keys/1860)

<div class="topic-metadata">

**Author:** [@samuel88](https://erlangforums.com/u/samuel88)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 7:51pm UTC](https://erlangforums.com/t/how-to-encrypt-files-using-pgp-keys/1860 "2022-09-23T19:51:08Z")

</div>

Hello all, Hope everyone is doing all right. Encrypting files with RSA keys is pretty easy with Erlang, but I couldn’t find out how to do the same using PGP keys (without using CMD). I have spent a few days trying to …

---

## [Ssh\_signature - SSH signatures in just Erlang/OTP](https://erlangforums.com/t/ssh-signature-ssh-signatures-in-just-erlang-otp/1041)

<div class="topic-metadata">

**Author:** [@hauleth](https://erlangforums.com/u/hauleth)\
**Replies:** 1\
**Last updated:** [August 23, 2022, 8:41am UTC](https://erlangforums.com/t/ssh-signature-ssh-signatures-in-just-erlang-otp/1041 "2022-08-23T08:41:13Z")

</div>

On Elixir Discord there was discussion about a library that would provide data signing in standardised way. So I have implemented SSH signing using just Erlang/OTP (no external dependencies). It supports RSA and Ed25519 …
