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 decode base64 (on a live zoom demo)? #20

Open
notasecret opened this issue May 13, 2021 · 0 comments
Open

Unable to decode base64 (on a live zoom demo)? #20

notasecret opened this issue May 13, 2021 · 0 comments

Comments

@notasecret
Copy link
Contributor

Not sure what happened, but it was no good?

[jonmclachlan@Jons-MacBook-Pro-2 ~]$ export PEACEMAKR_APIKEY=d1Maw58P2xCQ8d0GV15n22SQNI6lYXHzWLCTEvNPHnY=
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ echo "Hello Secure World" | peacemakr -encrypt
AQAAAAkAAAAoAAAALAAAADAAAABEAAAAWAAAANcAAADuAAAAOAEAAAAEAAIAAAAAEAAAAN0SfBDW1UpdYJlZYaF+wGwQAAAA9tILpPgESnZaXRhlSydrC3sAAAB7ImNyeXB0b0tleUlEIjoid0FqMGlHK28xay9zd0dsRU1OSGcyZ0VBTzlrS1o3NlBiZWZaVVZMVDZxMD0iLCJzZW5kZXJLZXlJRCI6IlRkSnpEcE9sSXNFRmVEaExDemwrMktWbktJK0Y3ZzBqOHdoYWt2N05rQ3c9In0TAAAAW556j3RcA5MjpnxynjeUsZmo20YAAAAwRAIgSbDgOKNU5DnUhI[jonmclachlan@Jons-MacBook-Pro-2 ~]$[jo[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ echo "AQAAAAkAAAAoAAAALAAAADAAAABEAAAAWAAAANcAAADuAAAAOAEAAAAEAAIAAAAAEAAAAN0SfBDW1UpdYJlZYaF+wGwQAAAA9tILpPgESnZaXRhlSydrC3sAAAB7ImNyeXB0b0tleUlEIjoid0FqMGlHK28xay9zd0dsRU1OSGcyZ0VBTzlrS1o3NlBiZWZaVVZMVDZxMD0iLCJzZW5kZXJLZXlJRCI6IlRkSnpEcE9sSXNFRmVEaExDemwrMktWbktJK0Y3ZzBqOHdoYWt2N05rQ3c9In0TAAAAW556j3RcA5MjpnxynjeUsZmo20YAAAAwRAIgSbDgOKNU5DnUhI" | peacemakr -decrypt
2021/05/13 10:28:46 peacemakr_deserialize: 631 - failed to decode b64 object
2021/05/13 10:28:46 failed to decrypt due to error not a peacemakr ciphertext
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ echo "AQAAAAkAAAAoAAAALAAAADAAAABEAAAAWAAAANcAAADuAAAAOAEAAAAEAAIAAAAAEAAAAN0SfBDW1UpdYJlZYaF+wGwQAAAA9tILpPgESnZaXRhlSydrC3sAAAB7ImNyeXB0b0tleUlEIjoid0FqMGlHK28xay9zd0dsRU1OSGcyZ0VBTzlrS1o3NlBiZWZaVVZMVDZxMD0iLCJzZW5kZXJLZXlJRCI6IlRkSnpEcE9sSXNFRmVEaExDemwrMktWbktJK0Y3ZzBqOHdoYWt2N05rQ3c9In0TAAAAW556j3RcA5MjpnxynjeUsZmo20YAAAAwRAIgSbDgOKNU5DnUhI" | peacemakr -decrypt
2021/05/13 10:29:09 peacemakr_deserialize: 631 - failed to decode b64 object
2021/05/13 10:29:09 failed to decrypt due to error not a peacemakr ciphertext
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ echo "Hello Secure World" | peacemakr -encrypt
AQAAAAkAAAAoAAAALAAAADAAAABEAAAAWAAAANcAAADuAAAAOQEAAAAEAAIAAAAAEAAAAGUGEgp2BlU4kJKf9sK8/qUQAAAADHjDSLA8gvuki5HBdImphnsAAAB7ImNyeXB0b0tleUlEIjoid0FqMGlHK28xay9zd0dsRU1OSGcyZ0VBTzlrS1o3NlBiZWZaVVZMVDZxMD0iLCJzZW5kZXJLZXlJRCI6IlRkSnpEcE9sSXNFRmVEaExDemwrMktWbktJK0Y3ZzBqOHdoYWt2N05rQ3c9In0TAAAAJgE9/orRuZr6vHcLA1TrErEhkkcAAAAwRQIgBokaCSkyOU1RAEWGk4j7wbaCeWyDuUloRiClQ0o7Pe8CIQCcrTEiy8ktAV4nWVVjn8QIF5JV13boYohtEkIBpXNmSQaGWfJVG34RIY3kDLvxoIl2JBEeT0fQBjGWzpmP4rFZ[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ echo "AQAAAAkAAAAoAAAALAAAADAAAABEAAAAWAAAANcAAADuAAAAOQEAAAAEAAIAAAAAEAAAAGUGEgp2BlU4kJKf9sK8/qUQAAAADHjDSLA8gvuki5HBdImphnsAAAB7ImNyeXB0b0tleUlEIjoid0FqMGlHK28xay9zd0dsRU1OSGcyZ0VBTzlrS1o3NlBiZWZaVVZMVDZxMD0iLCJzZW5kZXJLZXlJRCI6IlRkSnpEcE9sSXNFRmVEaExDemwrMktWbktJK0Y3ZzBqOHdoYWt2N05rQ3c9In0TAAAAJgE9/orRuZr6vHcLA1TrErEhkkcAAAAwRQIgBokaCSkyOU1RAEWGk4j7wbaCeWyDuUloRiClQ0o7Pe8CIQCcrTEiy8ktAV4nWVVjn8QIF5JV13boYohtEkIBpXNmSQaGWfJVG34RIY3kDLvxoIl2JBEeT0fQBjGWzpmP4rFZ" | peacemakr -decrypt
Hello Secure World
[jonmclachlan@Jons-MacBook-Pro-2 ~]$ 
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

1 participant