# Cupertino streaming with encryption key rotation?

**URL:** https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143
**Category:** Wowza Streaming Engine
**Tags:** media-players-and-devices
**Created:** [February 16, 2011, 11:33am UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143 "2011-02-16T11:33:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Kidd](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Michael\_Kidd](https://community.wowza.com/u/Michael_Kidd)
#### Post date: [February 16, 2011, 11:33am UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143/1 "2011-02-16T11:33:12Z")

</div>

Looking to implement HLS with a rotating key for live streaming. Haven’t been able to find anything regarding Wowza’s capabilities to handle this. Is my google-fu too weak, or has this topic not been broached?

Thanks,

-Mike

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [February 16, 2011, 4:53pm UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143/2 "2011-02-16T16:53:31Z")

</div>

Mike,

What do you mean by “rotating links”?

A user posted this method of doing expiring iinks that could be adapted to HLS streaming:

[Custom stream authorization and expiration module (all methods?)](http://community.wowza.com/t/-/33555))

Richard

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [February 16, 2011, 4:36pm UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143/3 "2011-02-16T16:36:57Z")

</div>

There is currently not a way to do rotating keys. If you use the internal AES-128 method and stop the encoder for 30 seconds and start the encoder you can change the keys but it would cause a break in the stream.

Charlie

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [February 16, 2011, 5:18pm UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143/4 "2011-02-16T17:18:35Z")

</div>

Mike,

I don’t think there is a way to do that.

Richard

---

<div class="post-metadata">

### Author: ![Michael\_Kidd](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Michael\_Kidd](https://community.wowza.com/u/Michael_Kidd)
#### Post date: [February 16, 2011, 11:59am UTC](https://community.wowza.com/t/cupertino-streaming-with-encryption-key-rotation/36143/5 "2011-02-16T11:59:08Z")

</div>

Sorry for the ambiguity, I will elaborate. Using AES encryption for the chunk files, as described here:

[https://www.wowza.com/docs/how-to-secure-apple-http-live-streaming-aes-128-external-method](https://www.wowza.com/docs/how-to-secure-apple-http-live-streaming-aes-128-external-method))

However, I would like to have the key regenerated and applied every n chunks. Does that make sense?

Thanks,

-Mike
