[GH-ISSUE #53] Multibyte password not supported #32

Closed
opened 2026-03-01 21:39:15 +03:00 by kerem · 2 comments
Owner

Originally created by @vishal-biyani on GitHub (Mar 20, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/53

When testing actions locally, if your password is a token or certificate string then the action aborts:

$ act 
Provide value for 'CERTIFICATE_AUTHORITY': *********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
2019/03/20 16:36:38 abort

This is mostly due to an issue here - as the gopass does not support multi-byte characters! But this prevents local testing where secret is bigger string as is the case here.

Originally created by @vishal-biyani on GitHub (Mar 20, 2019). Original GitHub issue: https://github.com/nektos/act/issues/53 When testing actions locally, if your password is a token or certificate string then the action aborts: ``` $ act Provide value for 'CERTIFICATE_AUTHORITY': ********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* 2019/03/20 16:36:38 abort ``` This is mostly due to an issue [here](https://github.com/nektos/act/blob/18427728ae409904154955014df236e01e37b2e2/actions/action.go#L36) - as the gopass does not support multi-byte characters! But this prevents local testing where secret is bigger string as is the case here.
kerem closed this issue 2026-03-01 21:39:16 +03:00
Author
Owner

@maxheld83 commented on GitHub (May 20, 2019):

this solution might help: https://github.com/nektos/act/pull/66

<!-- gh-comment-id:494091963 --> @maxheld83 commented on GitHub (May 20, 2019): this solution might help: https://github.com/nektos/act/pull/66
Author
Owner

@cplee commented on GitHub (Feb 25, 2020):

workarounds:

  • set secret through env variable: act -s CERTIFICATE_AUTHORITY=$(cat mycert.key)
  • set secret in ~/.actrc
<!-- gh-comment-id:590715039 --> @cplee commented on GitHub (Feb 25, 2020): workarounds: * set secret through env variable: `act -s CERTIFICATE_AUTHORITY=$(cat mycert.key)` * set secret in `~/.actrc`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#32
No description provided.