[guardian-dev] gnugpg-for-android --gen-key

Abel Luck abel at guardianproject.info
Sat Dec 29 13:17:03 EST 2012


Abel Luck:
> By the way.. gnupg-for-android now depends on my pinentry GUI android
> app [1].
> 
> Should we include this as a subdir in gnupg-for-android?
> 
> Or rather, should I integrate it so there is a PIN Entry activity?
> 
> I think the latter is best. There was some reason I didn't do this
> originally, but I forgot what it was :|
> 
I went ahead and did this in commit c12847ba4cba429b9be17eb2514e3be3c4a23837


> ~abel
> 
> [1] https://github.com/abeluck/pinentry-android
> Hans-Christoph Steiner:
>>
>>
>> On 12/29/2012 12:01 PM, Abel Luck wrote:
>>> Hans-Christoph Steiner:
>>>>
>>>> Ok, could you modify the submodules so that a regular checkout will work?  I'm
>>>> not sure I understand yet how all the pieces fit together.
>>>>
>>> Alright, I can do that, but it will mean changing
>>> gnupg-for-android/external/pinentry from the official pinentry repo to
>>> my own one on github.. is that ok?
>>
>> Yeah, sure whatever it takes.  This is still very much in development, so we
>> don't need to be so strict.  You could make a new repo in guardianproject if
>> you want, but that's not necessary.
>>
>> .hc
>>
>>>
>>>
>>>
>>>> .hc
>>>>
>>>> On 12/29/2012 10:22 AM, Abel Luck wrote:
>>>>> Hans-Christoph Steiner:
>>>>>>
>>>>>> Hey Abel,
>>>>>>
>>>>>> It seems that you haven't pushed the pinentry commits that the git submodule
>>>>>> is looking for:
>>>>>
>>>>> I pushed it, but to my own personal pinentry repo. I haven't submitted
>>>>> anything upstream yet because it's not ready.
>>>>>
>>>>> Since you did this I rebased the repo and forced push a cleaner copy. It
>>>>> lives in my personal github pinentry repo under the android branch:
>>>>>
>>>>> https://github.com/abeluck/pinentry/tree/android
>>>>>
>>>>>
>>>>> 1. Pull latest from gnupg-for-android
>>>>> 2. cd external/pinentry
>>>>> 3. git remote add abel git://github.com/abeluck/pinentry.git
>>>>> 4. git fetch abel android && git checkout -b android abel/android
>>>>>
>>>>> This is all quite ugly (using a diff repo and a branch in a submodule),
>>>>> so if you know of The Right Way or just a better way lmk.
>>>>>
>>>>> Just to be clear:
>>>>>
>>>>> https://github.com/abeluck/pinentry/tree/android
>>>>> ^ this is the gnupg pinetry source tree
>>>>>
>>>>> https://github.com/abeluck/pinentry-android
>>>>> ^ this is the android application that contains the pinentry gui.
>>>>>
>>>>> ~abel
>>>>>
>>>>>>
>>>>>> hans at palatschinken gnupg-for-android $ git submodule update
>>>>>> Submodule path 'external/gnupg': checked out
>>>>>> '0e64e1abd3acf5da73cbd981ef7a40971985822d'
>>>>>> Cloning into 'external/pinentry'...
>>>>>> remote: Counting objects: 1689, done.
>>>>>> remote: Compressing objects: 100% (1676/1676), done.
>>>>>> remote: Total 1689 (delta 1179), reused 0 (delta 0)
>>>>>> Receiving objects: 100% (1689/1689), 901.35 KiB | 478 KiB/s, done.
>>>>>> Resolving deltas: 100% (1179/1179), done.
>>>>>> fatal: reference is not a tree: 67c0f9b6d553d86472d87265f1baa52ae15a6b06
>>>>>> Unable to checkout '67c0f9b6d553d86472d87265f1baa52ae15a6b06' in submodule
>>>>>> path 'external/pinentry'
>>>>>>
>>>>>> .hc
>>>>>>
>>>>>> On 12/28/2012 08:14 AM, Abel Luck wrote:
>>>>>>> Hans of Guardian:
>>>>>>>>
>>>>>>>> Sure, I'll look today. 
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>>> Also, I think that the 'pinentry' build target should be a dependency of 'gnupg', instead of having it need to be called on its own, i.e. 'make pinentry-install'.  Any reason why it shouldn't be a dependency?
>>>>>>> I totally agree.
>>>>>>>
>>>>>>> That makefile is a bit daunting, and the dependency order is a bit wonky
>>>>>>> too. Adding it separately was just a quick way to get it up and running.
>>>>>>>
>>>>>>> ~abel
>>>>>>>
>>>>>>>>
>>>>>>>> .hc
>>>>>>>>
>>>>>>>> On Dec 25, 2012, at 6:23 AM, Abel Luck wrote:
>>>>>>>>
>>>>>>>>> Hey Hans,
>>>>>>>>>
>>>>>>>>> I needed a feature to test the pinentry stuff on, and the "Gen Key" menu
>>>>>>>>> option was right there, so I figured I'd use that.
>>>>>>>>>
>>>>>>>>> However, it doesn't seem to be working. I debugged it a bit but didn't
>>>>>>>>> quite come up with anything (this was a few days ago).
>>>>>>>>>
>>>>>>>>> Rather than go down that rabbit hole, I'm gonna test pinentry-android
>>>>>>>>> with --decrypt instead.
>>>>>>>>>
>>>>>>>>> Wanna take a look at the gen-key feature?
>>>>>>>>>
>>>>>>>>> ~abel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
> 
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/abel%40guardianproject.info
> 
> You are subscribed as: abel at guardianproject.info
> 



More information about the Guardian-dev mailing list