Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - svankan

#1
Quote from: qinohe on July 05, 2018, 03:41:26 PM

Btw. do you see the same thing happening that some  I do, that the XML is created in the future a few minutes?


It must be som kind of bug with date and time. The Nextcloud server and OPNsense firewall use ntp and it's no problem with the time.
When I pressed the button Setup/Test Nextcloud at 04.20 PM the filename of the backup was 04:07:40. My backup file was not created in the future but 13 minutes before my test.
#2
Are you sure it's the correct password?
If I write an incorrect password I get the same error and without -base64 the output is "bad magic number
".
#3
Quote from: qinohe on July 05, 2018, 12:24:47 PM
Well there is something off at least.  ;D I'm reaching the same point  that maskim & dudeman21 do.
The creation off that XML is done roughly 3 minutes in the future

Timezone: UTC+2 - CEST -  NL

command & output:
openssl enc -d -aes-256-cbc -in opnsense-enc.xml -out opnsense-dec.xml -pass pass:K6cMk-Kk7fY-KJCkg-5TrTD-FZdEG
bad magic number

mark

I had the same problem as you. If you add -base64 it works.
openssl enc -d -base64 -aes-256-cbc -in opnsense-enc.xml -out opnsense-dec.xml -pass pass:K6cMk-Kk7fY-KJCkg-5TrTD-FZdEG