Skip to content

Commit d181974

Browse files
author
Matthieu Gicquel
committed
update README
1 parent 737ae7a commit d181974

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ This package implements [public key pinning](https://cheatsheetseries.owasp.org/
7777

7878
### Generating the public key hashes
7979

80-
TODO
80+
You'll need the certificates (`.cer` or `.crt`)
81+
82+
```sh
83+
openssl x509 -in certificate.cer -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
84+
```
8185

8286
### Testing
8387

@@ -123,7 +127,7 @@ Mitigating this threat is achieved by:
123127

124128
# Contributing
125129

126-
TODO
130+
Contributions are welcome. See the [Expo modules docs](https://docs.expo.dev/modules/get-started/) for information on how to build/run/develop on the project.
127131

128132
# 👉 About BAM
129133

0 commit comments

Comments
 (0)