# "bad decrypt" when decrypting file

**URL:** <https://travis-ci.community/t/bad-decrypt-when-decrypting-file/7681>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** bug\
**Created:** [March 21, 2020, 5:11pm UTC](https://travis-ci.community/t/bad-decrypt-when-decrypting-file/7681 "2020-03-21T17:11:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [March 21, 2020, 9:33pm UTC](https://travis-ci.community/t/bad-decrypt-when-decrypting-file/7681/2 "2020-03-21T21:33:14Z")

</div>

> [@Error with file-encryption](https://travis-ci.community/t/error-with-file-encryption/4479/4):
>
> This looks like the confusion with .org and .com. You set up the file encryption against .org (the default) and it works there [https://travis-ci.org/goffstown-sports-app/Scrape-Calendar-Data/jobs/566269554#L166-L170](https://travis-ci.org/goffstown-sports-app/Scrape-Calendar-Data/jobs/566269554#L166-L170). However, you are looking at .com now, which requires a new set of env vars. I suggest: Setting up file encryption against .com (with travis encrypt-file --pro …) Disable builds on .org, and migrate data to .com if you haven’t done so already.

---

_[View the full topic](https://travis-ci.community/t/bad-decrypt-when-decrypting-file/7681)._
