# Encrypted bitstream

**URL:** <https://discuss.pynq.io/t/encrypted-bitstream/799>\
**Category:** Support\
**Created:** [December 23, 2019, 1:34pm UTC](https://discuss.pynq.io/t/encrypted-bitstream/799 "2019-12-23T13:34:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skorolcz](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@skorolcz](https://discuss.pynq.io/u/skorolcz)\
**Post date:** [December 23, 2019, 1:34pm UTC](https://discuss.pynq.io/t/encrypted-bitstream/799/1 "2019-12-23T13:34:06Z")

</div>

Is there any chance to use encrypted bitstream in PYNQ? How to program Zynq with encrypted bitstream using FPGA manager? key is located in BBRAM.

---

<div class="post-metadata">

**Author:** ![gnatale](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/gnatale/32/11_2.png) [@gnatale](https://discuss.pynq.io/u/gnatale)\
**Post date:** [February 6, 2020, 11:58am UTC](https://discuss.pynq.io/t/encrypted-bitstream/799/2 "2020-02-06T11:58:58Z")

</div>

Hi @skorolcz, unfortunately it is not a thing PYNQ supports at the moment. I encourage you to take a look at the PYNQ internals and how we interact with the `fpga_manager` (start from `pl_server/device.py` and work your way up from there, and try to add this feature yourself. You may want to take a look [here](https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841847/Solution+ZynqMP+PL+Programming) for starters, maybe there’s something useful.

It would be great, if you manage to do this, that you do a pull request on PYNQ so we can merge this feature in.
