Giter Site home page Giter Site logo

arq_restore's People

Contributors

sreitshamer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arq_restore's Issues

OneDrive support

OneDrive support seems to be missing from the command-line tool.

arq_restore doesn't list my backed-up folders

Arq is configured to backup to my EU-based bucket arq-akiajc43...-eu-west-1, and has completed at least one backup. I have configured credentials according to http://sreitshamer.github.io/arq_restore/, but when I run arq_restore (binary download) it says nothing. Using debug level, it says that it's "skipping" the backup bucket:

$ arq_restore -v
arq_restore version 20-Aug-2012
$ arq_restore -l debug
DEBUG [thread 507] skipping bucket arq-akiajc43...-eu-west-1

Full debug output here:

$ arq_restore -l debug
2014-07-27 22:25:15.399 arq_restore[50803:507] DEBUG [thread 507] 0x7ffc986016d0 S3Request.m:228 GET https://s3.amazonaws.com/
2014-07-27 22:25:16.266 arq_restore[50803:507] DEBUG [thread 507] 0x7ffc986016d0 S3Request.m:249 HTTP 200; returning response length=608
2014-07-27 22:25:16.274 arq_restore[50803:507] DEBUG [thread 507] 0x101af3fe8 BackupSet.m:62 skipping bucket arq-akiajc43...-eu-west-1

Restore fails if restored folder points to a file

Hi there,

I'm trying to restore a file from Glacier and arq_restore seems to be having issues restoring folder UUIDs that are actually files. It fails when creating the file locally:

jamil@mbp:~/restore % arq_restore listfolders old_mbp 615632FC-2566-4C60-9844-CD58965BFDCD                                     
enter encryption password: target   arq-akiaibbdtoeaverwclcq-us-west-2
computer 615632FC-2566-4C60-9844-CD58965BFDCD
	folder /Users/jamil/Documents
		uuid F603D5DA-2615-4E2E-B2D5-2786C3837370
	folder /Users/jamil/.bitcoin/wallet.dat
		uuid D7263240-84FD-46A0-99EA-334AEFC59F4F
jamil@mbp:~/restore % arq_restore restore old_mbp 615632FC-2566-4C60-9844-CD58965BFDCD D7263240-84FD-46A0-99EA-334AEFC59F4F
enter encryption password: target   arq-akiaibbdtoeaverwclcq-us-west-2
computer 615632FC-2566-4C60-9844-CD58965BFDCD
folder   D7263240-84FD-46A0-99EA-334AEFC59F4F

restoring folder /Users/jamil/.bitcoin/wallet.dat to /Users/jamil/restore/wallet.dat

status: Calculating sizes
status: Requesting items be made downloadable
requested 366880 of 618496
status: Restoring /Users/jamil/restore/wallet.dat
status: Restoring /Users/jamil/restore/wallet.dat/.
/Users/jamil/restore/wallet.dat/. error: “wallet.dat” couldn’t be removed.
status: Restoring /Users/jamil/restore/wallet.dat
restore finished.
jamil@mbp:~/restore % file wallet.dat
wallet.dat: directory
jamil@mbp:~/restore % du -h wallet.dat
  0B	wallet.dat

I remember I had selected this file to be backed up within Arq. Any tips?

Edit: To be more clear, this is actually a file and not a directory.

Glacier restore support

Any plans on updating this tool to be able to handle the backups made to Glacier with Arq 3?

1,000 PBKDF2 iterations is far too weak to protect most passwords

I strongly encourage you to use a far higher number of iterations when deriving encryption keys. At even 13,000 iterations (the equivalent of spending 100ms in PBKDF2 on a Core i7), 8 letter passwords are trivially crackable. At only 1,000 iterations, the user's password will need to be very long to provide the same level of security, and many people may not realize this when choosing their password.

You can use the CommonCrypto framework to estimate the number of iterations needed to engage the user's machine for a period of (for example) 5 seconds:

uint rounds = CCCalibratePBKDF(kCCPBKDF2,
                               [password length],
                               [salt length],
                               kCCPRFHmacAlgSHA1,
                               CC_SHA1_DIGEST_LENGTH),
                               5000);

And of course if claims about scrypt are to be believed, then you might consider switching your key derivation function entirely.

crossplattform

Please make arq_restore available for other operating systems like Linux and FreeBSD or even Windows. In the past I found myself in situation where I did have no access to mac os x but wanted to recover some files from my backup server. I would really appreciate that move.

restore error: Line 1: Document is empty

Hi

I have set up arq on my OSX Mountain Lion machine and it seems to be backing up successfully to S3. I can see the backup versions and files using the gui arq client.

However, when I set the correct environment variables and run the arq_restore binary, it appears to connect successfully to S3, shows me one line with the name of the S3 bucket and my computer UUID, and then terminates with the error

restore error: Line 1: Document is empty

This does not fill me with confidence :)

Any ideas?

Prompt for encryption password, don't pass it in as a CLA

Many, many people store their command line history by default. I don't want my encryption password stored anywhere.

Have you considering modifying the arq_restore client to prompt for the encryption password after it runs? This is how most other command line tools work, like SSH.

Support for Backblaze B2

Needs support / instructions for Backblaze B2. If its not supported that should be in the documentation, too.

Thanks.

Missing versioning scheme

I've packaged arq_restore for Macports: http://trac.macports.org/browser/trunk/dports/sysutils/arq_restore/Portfile However, package management systems use version numbers to keep track of when software is out of date. It would be very useful if there were some sort of versioning scheme for arq_restore, so that you could indicate the scope of changes: Generally, the major number is increased when there are significant jumps in functionality, the minor number is incremented when only minor features or significant fixes have been added, and the revision number is incremented when minor bugs are fixed. For Macports, I've set this project at version 0.0.1, but you can set whatever version you want and I'll just try to track it in the Portfile.

missing support for AWS region eu-central-1

The new Amazon region in central Europe eu-central-1 is not supported. Querying backups stored there results in (null) outputs. I tried adding the region myself to cocoastack/aws/AWSRegion.m, but apparently, support for a new authentication method AWS4-HMAC-SHA256 is required to support this region.

format specifies type 'unsigned int' but the argument has type '(Something) *'

Building arq_restore 20-Aug-2012 on OS X 10.8.1 with Xcode 4.4.1's Apple clang 4.0 fails with these errors:

plist/ArrayNode.m:139:55: error: format specifies type 'unsigned int' but the argument has type 'ArrayNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<ArrayNode 0x%x %@>", self, [list description]];
                                                     ~^       ~~~~
plist/BooleanNode.m:82:57: error: format specifies type 'unsigned int' but the argument has type 'BooleanNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<BooleanNode 0x%x %@>", self, (value ? @"YES" : @"NO")];
                                                       ~^       ~~~~
plist/DictNode.m:287:54: error: format specifies type 'unsigned int' but the argument has type 'DictNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<DictNode 0x%x %@>", self, [dict description]];
                                                    ~^       ~~~~
plist/IntegerNode.m:104:57: error: format specifies type 'unsigned int' but the argument has type 'IntegerNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<IntegerNode 0x%x %qi>", self, value];
                                                       ~^        ~~~~
plist/RealNode.m:93:54: error: format specifies type 'unsigned int' but the argument has type 'RealNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<RealNode 0x%x %f>", self, value];
                                                    ~^       ~~~~
plist/StringNode.m:86:56: error: format specifies type 'unsigned int' but the argument has type 'StringNode *' [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<StringNode 0x%x \"%@\">", self, value];
                                                      ~^           ~~~~

Here's the full log: https://gist.github.com/3493644

Restoring a given revision of a folder or file and choosing the destination in which to restore

Hi,

Huge fan of Arq.

Trying to put together a standalone backup strategy that doesn’t rely on having a fat client installed to restore a folder or file (say I need to restore on someone’s computer).

Love the concept of adding the arq_restore binary to the backup media (makes it standalone).

Is it possible to restore a given revision of a folder or file instead of the latest? I ran into an edge case recently where a macOS update deleted the keys to a provisioning profile. Latest revision no longer included the keys. Had to restore from an earlier revision.

Is it possible to choose the destination in which to restore instead of where the source file was to prevent overwriting?

Couldn’t find documentation for the above.

Thanks,

Sun

Build errors due to missing openssl

On recent versions of macOS, there are no openssl headers in the SDK. I don't know where the build is expecting to find it.

$ xcodebuild
note: Using new build system
note: Planning build
note: Constructing build description
ProcessProductPackaging "" /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore.xcent (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore


Entitlements:

{
    "com.apple.security.get-task-allow" = 1;
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore.xcent

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/Repo.o /Users/tbodt/Developer/programs/arq_restore/repo/Repo.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/Repo.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/Repo.dia -c /Users/tbodt/Developer/programs/arq_restore/repo/Repo.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/Repo.o
In file included from /Users/tbodt/Developer/programs/arq_restore/repo/Repo.m:38:
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.h:36:

/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.h
:
37
:
10
:
 fatal error:
'openssl/evp.h' file not found
#include <openssl/evp.h>


         ^~~~~~~~~~~~~~~


1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSLCryptoKey.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSLCryptoKey.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSLCryptoKey.dia -c /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSLCryptoKey.o
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.m:38:
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.h:37:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSL.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSL.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSL.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSL.dia -c /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSL.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSL.o
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSL.m:38:
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSL.h:35:9: fatal error: 'openssl/ssl.h' file not found
#import <openssl/ssl.h>
        ^~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/ObjectEncryptorV1.o /Users/tbodt/Developer/programs/arq_restore/repo/ObjectEncryptorV1.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/ObjectEncryptorV1.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/ObjectEncryptorV1.dia -c /Users/tbodt/Developer/programs/arq_restore/repo/ObjectEncryptorV1.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/ObjectEncryptorV1.o
In file included from /Users/tbodt/Developer/programs/arq_restore/repo/ObjectEncryptorV1.m:38:
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.h:36:
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.h:37:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSString_extra.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/shared/NSString_extra.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSString_extra.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSString_extra.dia -c /Users/tbodt/Developer/programs/arq_restore/cocoastack/shared/NSString_extra.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSString_extra.o
/Users/tbodt/Developer/programs/arq_restore/cocoastack/shared/NSString_extra.m:37:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~

1
 error
 generated
.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSData-Base64Extensions.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/NSData-Base64Extensions.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSData-Base64Extensions.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSData-Base64Extensions.dia -c /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/NSData-Base64Extensions.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSData-Base64Extensions.o
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/NSData-Base64Extensions.m:22:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/EncryptionDatFile.o /Users/tbodt/Developer/programs/arq_restore/repo/EncryptionDatFile.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/EncryptionDatFile.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/EncryptionDatFile.dia -c /Users/tbodt/Developer/programs/arq_restore/repo/EncryptionDatFile.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/EncryptionDatFile.o

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/CryptoKey.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/CryptoKey.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/CryptoKey.dia -c /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/CryptoKey.o
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.m:35:
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.h:36:
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.h:37:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/BackupSet.o /Users/tbodt/Developer/programs/arq_restore/BackupSet.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'arq_restore' from project 'arq_restore')
    cd /Users/tbodt/Developer/programs/arq_restore
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.15 -fmessage-length=189 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -gmodules -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DUSE_OPENSSL=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wno-deprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-generated-files.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-own-target-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-all-target-headers.hmap -iquote /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/arq_restore-project-headers.hmap -I/Users/tbodt/Developer/programs/arq_restore/build/Release/include -I/Users/tbodt/Developer/programs/arq_restore/libssh2/include -I/usr/local/ssl/include -I/Users/tbodt/Developer/programs/arq_restore -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources-normal/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources/x86_64 -I/Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/DerivedSources -Wno-objc-designated-initializers -F/Users/tbodt/Developer/programs/arq_restore/build/Release -F/Users/tbodt/Developer/programs/arq_restore -include /Users/tbodt/Developer/programs/arq_restore/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/9213412766545209331/arq_restore_Prefix.pch -MMD -MT dependencies -MF /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/BackupSet.d --serialize-diagnostics /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/BackupSet.dia -c /Users/tbodt/Developer/programs/arq_restore/BackupSet.m -o /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/BackupSet.o
In file included from /Users/tbodt/Developer/programs/arq_restore/BackupSet.m:41:
In file included from /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.h:36:
/Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.h:37:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^~~~~~~~~~~~~~~
1 error generated.

** BUILD FAILED **


The following build commands failed:
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/Repo.o /Users/tbodt/Developer/programs/arq_restore/repo/Repo.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSLCryptoKey.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSLCryptoKey.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/OpenSSL.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/OpenSSL.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/ObjectEncryptorV1.o /Users/tbodt/Developer/programs/arq_restore/repo/ObjectEncryptorV1.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSString_extra.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/shared/NSString_extra.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/NSData-Base64Extensions.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/NSData-Base64Extensions.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/CryptoKey.o /Users/tbodt/Developer/programs/arq_restore/cocoastack/crypto/CryptoKey.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/tbodt/Developer/programs/arq_restore/build/arq_restore.build/Release/arq_restore.build/Objects-normal/x86_64/BackupSet.o /Users/tbodt/Developer/programs/arq_restore/BackupSet.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(8 failures)

arq_restore for arq6?

I'm trying to use arq_restore to restore a backup taken using arq6. Backed up to aws, no encryption password. When I use arq_restore, no folder UUIDs can be found so I can't restore.

Is this a known issue?

Thanks in advance.

Glacier Restore

How should the Glacier restore work? I'm able to list the folder using the 'aws' target, but when I do a restore the app prints" Restoring folder [folder] and instantly quits.

Using `arq_restore googlecloudstorage`

It might be worth noting somewhere that you need to enable the "Interoperability API" within Google Cloud Storage to get an AWS-like keypair in order to access arq_restore googlecloudstorage properly. Once you do, your command will look very similar to AWS:

$ arq_restore listcomputers googlecloudstorage GOOGPABC123DEF456GHI "g0uU0r3G4da+kr8Aa4fRCm5iWJz8UNElCuOGSP" arq-bucketname

An explanation can be found at https://cloud.google.com/storage/docs/migrating#keys

Tag release

Could you kindly tag a release? I'm writing a Homebrew formula for this package, and that's a requirement.

Prompt for encryption password should be on stderr, not stdout

Redirecting stdout to a file is common for something like listtree, which can produce thousands of lines of text. But the program interactively prompts for an encryption password -- and if the output is redirected to a file, the prompt goes there also. The program appears to hang. Or maybe it's listing folders. You can't tell.

The standard solution is to redirect the prompt to stderr, so that it remains visible even if stdout is redirected to a file.

Semantic errors in (libssh2) crypt.c

I just cloned the project and tried to build it, but I’m getting 3 errors when building (lines 129 & 141 are the other two instances):

/Users/erik/work/arq_restore/libssh2/src/crypt.c:153:5: Use of undeclared identifier 'EVP_aes_256_ctr'; did you mean 'EVP_aes_256_cbc'?

That identifier is expanded from the _libssh2_cipher_aes256ctr macro.

I don’t want to go hacking on code in a vendored library in a project I just cloned, when it’s far more likely I’m missing something simple. Any idea what that is?

Cannot pass encryption password via standard input using java.lang.Process

arq_restore commands that require the encryption password prompt for the password using standard input do not work properly when calling from java.lang.Process and passing standard input in the usual way [1].

Getting: "arq_restore: Inappropriate ioctl for device"

If passing via standard input cannot be done, perhaps allow passing the password via an environment or optional command arg as a fallback? Standard input would be preferred from a security point of view.

Thanks!

Mac OS 10.12.6
Java 1.8.0_121-b13
arq_restore sha1 251875ef30e55943a3c9406a1e7e2a1da32ae8f9 (no version command?)

[1] https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html#getOutputStream--

Please document object sha1 computation for encryption v3

It sounds like using a secret to compute the sha1 used for large object file names is a relatively recent change. The file format documentation [1] says "the third key is concatenated with file data to calculate a SHA1 identifier" but does not provide the formula.

Can you be more specific on this? I tried sha1(key3 + file bytes) and some other combos on a file [2] in a newly-created local disk-based repo and I can't get it to match the filename hash.

I'm fairly sure I have the right key3, since the decryption process is working properly (with key1), and the initial hmac check passed on the entire master keys data.

Thanks,
John

[1] https://www.arqbackup.com/arq_data_format.txt
[2] e.g. <target dir>/<computer uuid>/objects/xx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

multiple buckets (users) with different ARQ_ENCRYPTION_PASSWORD for each throws "restore error: decrypt error: bad decrypt"

I use a single AWS account with multiple users/keys to store backups in each computer's bucket. Each user has their own ACCESS_KEY SECRET_KEY and ENCRYPTION_PASSWORD.

When I use the arq_restore, I can get only one user's data (the first bucket handed back from AWS) if I chose the correct key and password combos. Other buckets are not accessible because arq_restore stops when it hits the error "restore error: decrypt error: bad decrypt".

Maybe it should continue to look for additional buckets if the decrypt fails, or be able to pick the bucket by name from a list if you have provided the right keys.

Thanks! I like the software, love the idea of open source the restore too.

SFTP support?

Can this be updated to include SFTP support? Honestly, it could just be updated to restore from a local copy of the backup and I could mount the SFTP disk with FUSE or something to simplify the code here. That might make this better going forward than relying on S3 integration.

Should be able to restore to a specific location

From the docs it looks like I can restore a folder, but I can't specify where to restore to. Ideally I could specify a destination on the command line to have the folder end up in that destination.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.