Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to encrypt #17

Open
dtolj opened this issue Oct 4, 2022 · 1 comment
Open

Unable to encrypt #17

dtolj opened this issue Oct 4, 2022 · 1 comment
Assignees

Comments

@dtolj
Copy link

dtolj commented Oct 4, 2022

I have followed the instructions but keep getting same error:

cat file.eyaml
test: 123

cat _public_key
cd3d4c2a86f78cfdc55dc1e8dce8668fb19dcabb172bf504cd84e90dd468623a

cat /opt/ejson/keys/cd3d4c2a86f78cfdc55dc1e8dce8668fb19dcabb172bf504cd84e90dd468623a
9787c81bcc67d82a6ec9817364a8b86fdc16a100a650b33649fd6265a4000968
eyaml encrypt file.eyaml
/usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml.rb:63:in `load_public_key': EYAML::MissingPublicKey (EYAML::MissingPublicKey)
	from /usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml.rb:30:in `encrypt'
	from /usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml.rb:38:in `encrypt_file_in_place'
	from /usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml/cli.rb:11:in `block in encrypt'
	from /usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml/cli.rb:7:in `each'
	from /usr/local/share/gems/gems/eyaml-0.3.0/lib/eyaml/cli.rb:7:in `encrypt'
	from /usr/local/share/gems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
	from /usr/local/share/gems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
	from /usr/local/share/gems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
	from /usr/local/share/gems/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
	from /usr/local/share/gems/gems/eyaml-0.3.0/bin/eyaml:7:in `<top (required)>'
	from /usr/local/bin/eyaml:25:in `load'
	from /usr/local/bin/eyaml:25:in `<main>'
@skatkov skatkov self-assigned this Aug 2, 2023
@skatkov
Copy link
Contributor

skatkov commented Aug 2, 2023

Sorry for getting back to you so late. Did you manage to resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants