Skip to content

Deploy with windows generated keys fails #91

Closed

Description

@schliebs

Ran into a deploy error when setting up a manuscript at the OpenCon doathon:

bad decrypt
140040671200928:error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:evp_enc.c:520:

Activity

  1. dhimmel commented on Nov 13, 2017

    @dhimmel
    Member

    Will investigate.

    @broadwym got the same issue in https://travis-ci.org/broadwym/manu1/builds/301421591#L1431. Potentially some issue with how the deploy key encryption worked on windows.

  2. dhimmel commented on Nov 13, 2017

    @dhimmel
    Member

    Seems related to travis-ci/travis-ci#4746 and benjcunningham/googlecalendar#2. It looks like its a known issue that travis encrypt-file produces files on Windows that fail to decrypt later.

    @BanzaiMan locked travis-ci/travis-ci#4746, so its not clear whether Travis intends to fix this issue. This may mean we cannot use travis encrypt-file and also support setup on Windows... bummer.

  3. agitter commented on Nov 13, 2017

    @agitter
    Member

    It is a lot of overhead, but maybe Docker would work for Windows users? I successfully ran the Travis encryption inside a Docker container. But that was tested on an old Linux machine, not Windows.

  4. dhimmel commented on Nov 13, 2017

    @dhimmel
    Member

    From the official Travis Docs

    There is a report of this function not working on a local Windows machine. Please use the WSL (Windows Subsystem for Linux) or a Linux or OS X machine.

    So for now, Windows 10+ users should consider using the Windows Subsystem for Linux.

  5. dhimmel commented on Nov 15, 2017

    @dhimmel
    Member

    maybe Docker would work for Windows users?

    Yes, I agree!

  6. added a commit that references this issue on Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions