This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Knox and Lion

Michael R
Michael R Junior Member
I'm looking forward to hearing if, when and how Knox will work under OS X Lion.
«1

Comments

  • thightower
    thightower "T-Dog" Agile's Mascot Community Moderator
    Its working but the vaults are not ejecting properly. I have had to force eject all my vaults. So I use it as sparingly as possible at the moment I don't want to accidentally corrupt any data in the vault
  • khad
    khad Social Choreographer
    I don't have anything specific to announce at the moment, but we have some great things planned for Knox in Lion. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    In the meantime, it looks like the "vault is in use" notification is not reliable in Lion.



    [img]https://img.skitch.com/20110610-nfd85e1xnf21ahfkak2i1ecgbi.jpg[/img]



    I am seeing the notification for a newly created and opened vault with no files in it. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' />



    You can always access the encrypted disk images directly in Finder — your data is still safe — but I know you probably bought Knox because you wanted to use it. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_wink.png' class='bbc_emoticon' alt=';-)' /> Lion is coming along very well, but it is still a pre-release operating system.



    Thanks for asking about this!
  • Michael R
    Michael R Junior Member
    edited June 2011
    [quote]I don't have anything specific to announce at the moment, but we have some great things planned for Knox in Lion. [/quote]

    Sweet. That's what I was hoping to hear. I'm in the 30 day trial period for Knox, and really liking it.
  • khad
    khad Social Choreographer
    Thanks for the kind words, Michael! We are excited about Lion (and all that Apple announced during the keynote at WWDC). So much awesome at once. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
  • srb
    srb Junior Member
    As of the official Lion release, Knox is crashing regularly after opening a vault, and the vaults won't eject properly.



    Looking forward to an update...
  • Hello srb and welcome to the Forums!



    We've received several reports regarding the known issue of the "vault in use" notification, but you are the first user to report Knox crashing in Lion.



    To diagnose this issue, I will need to see some of your log files to see what's happening. Please send us an e-mail to [email="support@agilebits.com"]support@agilebits.com[/email] and attach this file:



    Home > Library > Logs > Knox > Knox.log



    For some users, this file may not exist. Don't be alarmed if that's your situation as well.



    I'll also need to look at the other logs in the Console.app while you attempt to reproduce the problem with Knox. You can get these logs as follows:



    1. Launch Console.app which can be found in the /Applications/Utilities folder.

    2. Click the "Clear Display" button on the toolbar.

    3. Launch Knox and reproduce the problem. Then wait 15 seconds to let the Console refresh.

    4. Press Command-A to select all the logs and Command-C to copy them to your clipboard.

    5. After starting a reply to this email, press Command-V to paste the logs.



    Please send me these logs and I'll try to help more.



    Cheers!



    Brandt
  • muratje
    muratje Junior Member
    When will the Lion update be available?
  • MikeT
    MikeT Agile Samurai
    Hi guys,



    Knox is not yet compatible with Lion, we’re working on an update but I do not have a timeframe on when it’ll be available.



    We are looking the eject vaults issue and at this moment, we do not have any workarounds for this. You can try to force-eject but you’ll need to make sure that you have plenty of backups. Force-ejecting is not healthy for the vaults.



    I’m sorry that we do not have any news to share with you guys at the moment. As soon as we have something, we will definitely share it.
  • andrewodea
    andrewodea Junior Member
    The problem seems to be from "coreservicesd" holding the custom volume icon (the invisible ".VolumeIcon.icns" file) for the mounted disk image open.



    I was able to get around it by removing the icon file:

    - Mount the vault in Knox

    - In a Terminal window, remove the icon file: "[font="Courier New"]rm /Volumes/KnoxExample/.VolumeIcon.icns[/font]"

    - Unmount the vault in Knox (you'll have to force it using the "Close Anyway" button).



    The vault should now mount and unmount successfully. The only downside is that you get the generic disk image icon for the mounted vault instead of the Knox vault icon.



    NOTE: I used "lsof" to troubleshoot this:

    [font="Courier New"]20:31:11/iMac> sudo lsof | grep KnoxExample

    Password:

    coreservi 45 root txt REG 14,16 127905 19 /Volumes/KnoxExample/.VolumeIcon.icns

    ...[/font]
  • rbearit
    rbearit Junior Member
    I cannot do a daily backup of one of my vaults now that I have installed Lion. I get the message cannot backup vaults that are in use, although it is not in use. Is there anything one can do about this? Can it be fixed?
  • Robert Mills
    Robert Mills Junior Member
    edited July 2011
    [quote name='andrewodea' timestamp='1311393173' post='33183']

    The problem seems to be from "coreservicesd" holding the custom volume icon (the invisible ".VolumeIcon.icns" file) for the mounted disk image open.



    I was able to get around it by removing the icon file:

    - Mount the vault in Knox

    - In a Terminal window, remove the icon file: "[font="Courier New"]rm /Volumes/KnoxExample/.VolumeIcon.icns[/font]"

    - Unmount the vault in Knox (you'll have to force it using the "Close Anyway" button).



    The vault should now mount and unmount successfully. The only downside is that you get the generic disk image icon for the mounted vault instead of the Knox vault icon.



    NOTE: I used "lsof" to troubleshoot this:

    [font="Courier New"]20:31:11/iMac> sudo lsof | grep KnoxExample

    Password:

    coreservi 45 root txt REG 14,16 127905 19 /Volumes/KnoxExample/.VolumeIcon.icns

    ...[/font]

    [/quote]





    Thanks for the info.



    Removing the custom icon worked for me.



    I was unable to use terminal to do this. I do no not know what I was doing wrong.



    I used "Pathfinder" and enabled show invisibles and deleted the ".VolumeIcon.icns" file from my mounted vault and now it mounts and unmounts with out a problem using Disk Utility.
  • [quote name='andrewodea' timestamp='1311393173' post='33183']

    The problem seems to be from "coreservicesd" holding the custom volume icon (the invisible ".VolumeIcon.icns" file) for the mounted disk image open.



    I was able to get around it by removing the icon file:

    - Mount the vault in Knox

    - In a Terminal window, remove the icon file: "[font="Courier New"]rm /Volumes/KnoxExample/.VolumeIcon.icns[/font]"

    - Unmount the vault in Knox (you'll have to force it using the "Close Anyway" button).



    The vault should now mount and unmount successfully. The only downside is that you get the generic disk image icon for the mounted vault instead of the Knox vault icon.



    NOTE: I used "lsof" to troubleshoot this:

    [font="Courier New"]20:31:11/iMac> sudo lsof | grep KnoxExample

    Password:

    coreservi 45 root txt REG 14,16 127905 19 /Volumes/KnoxExample/.VolumeIcon.icns

    ...[/font]

    [/quote]



    Hello andrewodea and welcome to the Forums!



    Thanks for reporting your findings. I've passed along your information to our developers for further investigation.



    I appreciate your willingness to troubleshoot the issue, and I hope your results are the missing piece of information.



    Cheers!



    Brandt
  • [quote name='rbearit' timestamp='1311427437' post='33293']

    I cannot do a daily backup of one of my vaults now that I have installed Lion. I get the message cannot backup vaults that are in use, although it is not in use. Is there anything one can do about this? Can it be fixed?

    [/quote]



    Hello Bob,



    We are continuing to investigate the issue, and thanks to additional information from andrewodea and Robert, I hope a fix is found sooner than later.



    I'm sorry that I don't have a better answer for you at this time, but please check back for updates.



    Brandt
  • [quote name='Robert Mills' timestamp='1311445084' post='33384']

    Thanks for the info.



    Removing the custom icon worked for me.



    I was unable to use terminal to do this. I do no not know what I was doing wrong.



    I used "Pathfinder" and enabled show invisibles and deleted the ".VolumeIcon.icns" file from my mounted vault and now it mounts and unmounts with out a problem using Disk Utility.

    [/quote]



    Hey Robert,



    Thank you for updating the thread with your confirmation of andrewodea's find and your Terminal solution.



    As I mentioned in my response to andrewodea, I passed this information to our developers, and I hope we have a fix soon.



    Thanks again for your update!



    Cheers!



    Brandt
  • MikeT
    MikeT Agile Samurai
    [quote name='andrewodea' timestamp='1311393173' post='33183']

    The problem seems to be from "coreservicesd" holding the custom volume icon (the invisible ".VolumeIcon.icns" file) for the mounted disk image open.



    I was able to get around it by removing the icon file:

    - Mount the vault in Knox

    - In a Terminal window, remove the icon file: "[font="Courier New"]rm /Volumes/KnoxExample/.VolumeIcon.icns[/font]"

    - Unmount the vault in Knox (you'll have to force it using the "Close Anyway" button).



    The vault should now mount and unmount successfully. The only downside is that you get the generic disk image icon for the mounted vault instead of the Knox vault icon.



    NOTE: I used "lsof" to troubleshoot this:

    [font="Courier New"]20:31:11/iMac> sudo lsof | grep KnoxExample

    Password:

    coreservi 45 root txt REG 14,16 127905 19 /Volumes/KnoxExample/.VolumeIcon.icns

    ...[/font]

    [/quote]Hi Andrew,



    That is definitely one of the issues. Great troubleshooting!
  • muratje
    muratje Junior Member
    So a quick Beta update is coming maybe?
  • [Deleted User]
    edited July 2011
    Hey there muratje,



    As Mike mentioned, the custom icon was [i]one[/i] of the issues.



    Before pushing out an update, we'll need to continue testing to ensure we've covered all the Lion bases.



    I'm sorry that I don't have a better answer for you at this time, but if it helps to know, I use Knox and I'm waiting patiently too...sort of. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' />



    Cheers!



    Brandt
  • fellow
    fellow Junior Member
    [quote name='Robert Mills' timestamp='1311445084' post='33384']

    Thanks for the info.



    Removing the custom icon worked for me.



    I was unable to use terminal to do this. I do no not know what I was doing wrong.



    I used "Pathfinder" and enabled show invisibles and deleted the ".VolumeIcon.icns" file from my mounted vault and now it mounts and unmounts with out a problem using Disk Utility.

    [/quote]





    I have not yet tried removing the icon. If I must, I will move it to replace later. The icon is useful, not just pretty. However, it seems like this is a minor issue for Agile to address, and it seems like it should have been addressed through the Developer Preview 1,2,3 and Golden Master releases over the last three months. This software is vital to my work, and I am disappointed such a minor incompatibility has not already been corrected. When I ran lsof, I found diskimagehelper (or close to that with at least one open file on the volume, probably the icon). I am dissatisfied with FORCE EJECT for self-evidently important, encrypted files.



    Please correct this now.



    fellow
  • [Deleted User]
    edited July 2011
    Hi fellow,



    As Mike mentioned in his previous post:



    [quote name='MikeT' timestamp='1311446193' post='33404']

    That is definitely one of the issues.[/quote]

    The issue involves more than just a custom icon. However, that awesome troubleshooting by Andrew was most certainly an important piece of the puzzle.



    As for addressing the issue [i]through the Developer Preview 1,2,3 and Golden Master releases over the last three months[/i], please realize that each Preview included code changes that, in some cases, were complete reversals of previous code. Therefore, what worked with Preview 1 would not necessarily work with Preview 2. As is true with all Beta releases, sometimes a coding idea does not work as expected, and it is necessary to "undo" the update.



    We are working diligently on a resolution to the current Knox eject notification. If it were as easy as just deleting an icon file, we would have done so well before your post. When dealing with encrypted bundles, there is so much more going on beneath the surface than most people realize. I know this was true of me.



    Regardless, I am a Knox user like you, and I suspect we both feel the same way about the current notification error. I look forward to the final fix as you do.



    I'm sorry that I do not have a better answer for you at this time.



    Cheers!



    Brandt
  • martintj
    edited August 2011
    Dear Agile support staff,



    Can you give us any news about progress on the Knox/Lion problem? I've been keeping lots of sensitive information in a Knox-encrypted vault for some time now, and as things stand, my choices seem to be (i) to leave the vault open at all times, (ii) to force-eject every time I want to close it, and risk data corruption, or (iii) to stop using Knox altogether and switch to some other method of encryption. I assume that there are quite a few other people in that situation, so it's a bit worrisome to see so little evidence of any activity on this issue....



    Two related questions whilst I'm here: (1) Am I right in thinking that one shouldn't run a backup whilst a vault is open? (If so, then of course that means that if I make changes inside a vault, I can't backup before force-quitting and risking data loss even should I choose that option.) (2) Is restarting the only way to force-quit a vault?



    Thanks,



    Martin
  • muratje
    muratje Junior Member
    Indeed! Updates please!



    Everyday 20 updates for 1password and none for Knox <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/sad.gif' class='bbc_emoticon' alt=':(' />



    I think they moved all the developers to 1password <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • MikeT
    MikeT Agile Samurai
    Hi guys,



    We’re making progress on the fixes for Knox but we still do not have a timeframe on the next update, which isn’t a minor change. I apologize for the inconvenience and the delay.
  • MikeT
    MikeT Agile Samurai
    [quote name='martintj' timestamp='1312313751' post='36127']

    Dear Agile support staff,



    Can you give us any news about progress on the Knox/Lion problem? I've been keeping lots of sensitive information in a Knox-encrypted vault for some time now, and as things stand, my choices seem to be (i) to leave the vault open at all times, (ii) to force-eject every time I want to close it, and risk data corruption, or (iii) to stop using Knox altogether and switch to some other method of encryption. I assume that there are quite a few other people in that situation, so it's a bit worrisome to see so little evidence of any activity on this issue....



    Two related questions whilst I'm here: (1) Am I right in thinking that one shouldn't run a backup whilst a vault is open? (If so, then of course that means that if I make changes inside a vault, I can't backup before force-quitting and risking data loss even should I choose that option.) (2) Is restarting the only way to force-quit a vault?



    Thanks,



    Martin

    [/quote]Hi Martin,



    The sparsebundle file format (which Knox vault is based on) is designed to be able to handle sudden ejections but it is always recommended to do it safely. As long as there are no apps using any files within the Knox vault and no file activity that you can see in the Knox vault, you should be able to force eject it safely. If you tell Knox to eject it, it’ll give you the option to “close anyway”, you don’t need to reboot the computer at all. It is recommended to backup your vaults when it is closed to ensure the best data integrity.
  • Hi Mike,



    Thanks for the reply. I use PathFinder, and I'd been trying to eject simply by clicking on the eject icon in my PathFinder window. That just provokes an error message, and that's why I wasn't seeing how to force eject. Now I see I can do it either by using Finder, or from the Knox vaults menu, in which case I'm offered the option you mention. Clunky workarounds, obviously, and I'm still anxious about data loss, but I'll sit tight.



    Best,



    Martin







    [quote name='MikeT' timestamp='1312315667' post='36143']

    Hi Martin,



    The sparsebundle file format (which Knox vault is based on) is designed to be able to handle sudden ejections but it is always recommended to do it safely. As long as there are no apps using any files within the Knox vault and no file activity that you can see in the Knox vault, you should be able to force eject it safely. If you tell Knox to eject it, it’ll give you the option to “close anyway”, you don’t need to reboot the computer at all. It is recommended to backup your vaults when it is closed to ensure the best data integrity.

    [/quote]
  • Thanks for your patience, Martin! That is certainly not ideal. We are working on it and will be sure to announce when it is ready. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />

    [quote name='martintj' timestamp='1312319257' post='36168']

    Thanks for the reply. I use PathFinder, and I'd been trying to eject simply by clicking on the eject icon in my PathFinder window. That just provokes an error message, and that's why I wasn't seeing how to force eject. Now I see I can do it either by using Finder, or from the Knox vaults menu, in which case I'm offered the option you mention. Clunky workarounds, obviously, and I'm still anxious about data loss, but I'll sit tight.

    [/quote]
  • jimvee
    jimvee Junior Member
    Ah, wish I'd read this first..



    I'm trying to make room on a backup disk which is protected with Knox. I deleted a bunch of files but Lion doesn't see any additional space. I've now completely emptied the archive and still there's no room on the disk.



    Though I'd better mention this as another issue.



    Jim
  • [quote name='jimvee' timestamp='1312359388' post='36277']

    Ah, wish I'd read this first..



    I'm trying to make room on a backup disk which is protected with Knox. I deleted a bunch of files but Lion doesn't see any additional space. I've now completely emptied the archive and still there's no room on the disk.



    Though I'd better mention this as another issue.



    Jim

    [/quote]



    Hey there, jimvee! Welcome to the forums! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />



    Unless I have misunderstood, if you have used Knox to encrypt the entire volume...it will take up the full space of the volume. You can add files inside the Knox volume, or if you have emptied it completely you can reformat it and then use it normally. I hope this helps.



    Please let me know if you have any other questions. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • MikeT
    MikeT Agile Samurai
    edited August 2011
    [quote name='jimvee' timestamp='1312359388' post='36277']

    Ah, wish I'd read this first..



    I'm trying to make room on a backup disk which is protected with Knox. I deleted a bunch of files but Lion doesn't see any additional space. I've now completely emptied the archive and still there's no room on the disk.



    Though I'd better mention this as another issue.



    Jim

    [/quote]Hi Jim,



    If you’re using a vault that has a fixed size, it doesn’t shrink automatically if you delete files. This is due to nature of the encryption process, even free space can be encrypted. If you’d like to shrink or more accurately, compact it, you can do so in Knox’s Preferences > Vaults area. Here’s a screenshot of what I mean:

    [img]http://i.agilebits.com/mt/Knox_compact-20110803-185629.png[/img]



    Also, make sure that the vault is opened when you empty the trash. As long as the vault is closed, emptying the trash won’t work for the trash inside the vault.
  • chadseld
    chadseld 1Password Developer
    I am pleased to announce Knox 2.1.5 with support for OS X Lion. Please check your auto updaters for the latest version. You can also download directly from here http://agilebits.com/downloads
  • I've just updated, and worked with it a bit—so far, so good. Thanks so much for sorting this out.





    [quote name='chadseld' timestamp='1312485229' post='36789']

    I am pleased to announce Knox 2.1.5 with support for OS X Lion. Please check your auto updaters for the latest version. You can also download directly from here http://agilebits.com/downloads

    [/quote]