OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of svankan »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - svankan

Pages: [1]
1
18.1 Legacy Series / Re: [18.1.10] Nextcloud Backup Issues
« on: July 05, 2018, 10:22:45 pm »
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
18.1 Legacy Series / Re: [18.1.10] Nextcloud Backup Issues
« on: July 05, 2018, 03:02:16 pm »
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
18.1 Legacy Series / Re: [18.1.10] Nextcloud Backup Issues
« on: July 05, 2018, 01:49:40 pm »
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

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2