Jump to content
Server Maintenance This Week. ×

XML with Public/private key


Helder Moreira

This topic is 1722 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,
am I getting desperated time is running and I need to send a XML to the finance department, encrypted with public/private key.

I have got both keys, and the XML File. I can find how do I lock the XML file using public/private key?

Please any tip will be welcome.

Link to comment
Share on other sites

Perfect!

Did you chmod the private key to only match your user?

chmod 700 private.key

What is the purpose of your signing process? Authenticity( making sure the data is not tampered with and is from you ) or for no one else to see the content.

Link to comment
Share on other sites

26 minutes ago, ggt667 said:

Perfect!

Did you chmod the private key to only match your user?


chmod 700 private.key

What is the purpose of your signing process? Authenticity( making sure the data is not tampered with and is from you ) or for no one else to see the content.

I did not chmod... should I?

The purpose is to make sure that the data is not tampered with and that it belongs to me.

Link to comment
Share on other sites

Private keys should never ever leave the owning user's home directory. Ideally you should use a memory stick for your keys, and only copy the public key to your computer. Put the memory stick in a physical safe.

Edited by ggt667
Link to comment
Share on other sites

2 minutes ago, ggt667 said:

Private keys should never ever leave the inital user's home directory. Ideally you should use a memory stick for your keys, and only copy the public one to your computer.

It is in the same home directory "I am using MAC OXS", let me say all 3 files (file_to_be_delivered; Public e private key) are in home directory

I have to encrypt it and send the public key & File to the finance Department. How can I do it?

Link to comment
Share on other sites

8 hours ago, Helder Moreira said:

I have to encrypt it and send the public key & File to the finance Department. How can I do it?

Pardon my interrupting a trolling session in progress, but...

I am not sure I fully understand your question. And I am even less sure why are you asking it here. Allow me to explain:

While it may be possible to encrypt a message using a private key, it is not the accepted method for proving the message's authenticity. Normally you would generate a digital signature of the message in a separate file. You should check with your recipient what their exact requirements are. 

Filemaker cannot encrypt the data for you. If it turns out that's what they want you to do, you will need to use another tool (e.g. the Terminal). Filemaker can help automate such process via Applescript  - but the actual contents of the script have nothing to do with Filemaker and require a different expertise altogether.

Filemaker can generate a digital signature file - but you will need version 18 for this. Your profile says "11 Advanced".

Hopefully this helps to put things in some perspective.

 

 

Link to comment
Share on other sites

This topic is 1722 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.